Language

MockPackageManager.IsSafeMode Property

Definition

Return whether the device has been booted into safe mode.

public override bool IsSafeMode { [Android.Runtime.Register("isSafeMode", "()Z", "GetIsSafeModeHandler")] get; }
[<get: Android.Runtime.Register("isSafeMode", "()Z", "GetIsSafeModeHandler")>]
member this.IsSafeMode : bool

Property Value

No value is provided by the default mock. Its getter throws UnsupportedOperationException; override this property to supply the safe-mode state.

Attributes

Remarks

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to