Skip to content

ws1-client-sdk/com.airwatch.sdk/SDKManager/isCompromised

isCompromised

open fun isCompromised(): Boolean

Determines if the device is rooted as diagnosed by WS1 MDM Agent.

Access Level = AW_MANAGED (for details on access permission please check SDKManager)

Return

true if the device is compromised. false if the device is not compromised.

Throws

Exception Condition
com.airwatch.sdk.AirWatchSDKException if API is not available in Anchor Application or binding with Anchor app fails