ws1-client-sdk/com.airwatch.sdk/SDKManager/getGroupId
getGroupId¶
open fun getGroupId(): String
Retrieves the location group in which the device is currently enrolled.
Access Level = AW_MANAGED (for details on access permission please check SDKManager)
Return¶
The enrolled location group id. If device is not enrolled returns "AirWatchSDKException Device not enrolled"
Throws¶
| Exception | Condition |
|---|---|
| com.airwatch.sdk.AirWatchSDKException | if API is not available in Anchor Application or binding with Anchor app fails |