Package com.castlabs.android
Interface PlayerSDK.SystemStatusCallback
- Enclosing class:
- PlayerSDK
public static interface PlayerSDK.SystemStatusCallback
Callback interface that can be used to detect rooted devices. Implement this interface and
set ot to
PlayerSDK.SYSTEM_STATUS_CALLBACK
. Please note tha the callback method might be
triggered multiple times. The callback will be triggered on the main thread.-
Method Summary
Modifier and TypeMethodDescriptionvoid
onSystemStatusCheck
(boolean rooted) Triggered when an internal system status check is performed.
-
Method Details
-
onSystemStatusCheck
void onSystemStatusCheck(boolean rooted) Triggered when an internal system status check is performed.- Parameters:
rooted
- True if the device is considered rooted
-