ws1-network/com.airwatch.gateway/GatewayManager/getInstance
getInstance¶
open fun getInstance(context: Context): GatewayManager
Retrieve the singleton instance of GatewayManager.
Parameters¶
| Name | Description |
|---|---|
| context | The application Context used to initialize the manager. Non-null. |
Return¶
Non-null singleton com.airwatch.gateway.GatewayManager instance.
Throws¶
| Exception | Condition |
|---|---|
| GatewayException | If context is null and mGatewayManager is null. |