com.amos.flyinn.wificonnector

## Class WifiConnectorSingleton

- java.lang.Object
- - com.amos.flyinn.wificonnector.WifiConnectorSingleton

-     public class WifiConnectorSingleton
      extends java.lang.Object

  Globally manage our wifi state.

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `WifiConnectorSingleton()`

  - ### Method Summary

    All Methods Static Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `void` | `destroyConnection()` Destroy wifi connection groups.
    `static WifiConnectorSingleton` | `getInstance()` Get the global WifiConnector object.
    `WifiStateMachine` | `getWifiReceiverP2P()` Get Wifi receiver.

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### WifiConnectorSingleton

          public WifiConnectorSingleton()

  - ### Method Detail

    - #### getInstance

          public static WifiConnectorSingleton getInstance()

      Get the global WifiConnector object.
      Returns:

    - #### destroyConnection

          public void destroyConnection()

      Destroy wifi connection groups.

    - #### getWifiReceiverP2P

          public WifiStateMachine getWifiReceiverP2P()

      Get Wifi receiver.
      Returns: