ws1-framework/com.airwatch.sdk.context/SDKContext/fetchAndExecuteComplianceSettings
fetchAndExecuteComplianceSettings¶
abstract fun fetchAndExecuteComplianceSettings(listener: IFutureSuccessCallback<Boolean>)
Initiates compliance settings fetch and executes restrictions and compliance tasks with the new/saved settings payload or clears any compliance related actions if none exists. This call will also reset the scheduler timer for the next settings fetch.
Parameters¶
| Name | Description |
|---|---|
| listener | a callback determining if fetching and execution of compliance was successful |
Throws¶
| Exception | Condition |
|---|---|
| com.airwatch.sdk.context.SDKContextException | if is not initialized . |