Does switching on `wifi` enables `wifi-direct` too?

If yes Then what is the need of this intent **`Wifip2pManager.WIFI_P2P_STATE_CHANGED_ACTION`**?

If no Then how to enable or disable **`WIFI-DIRECT`**?Any help would be greatly appreciated.