Język

MockContext.IsDeviceProtectedStorage Property

Definition

Throws UnsupportedOperationException instead of providing the storage protection state. Override this property for tests.

public override bool IsDeviceProtectedStorage { [Android.Runtime.Register("isDeviceProtectedStorage", "()Z", "GetIsDeviceProtectedStorageHandler", ApiSince=24)] get; }
[<get: Android.Runtime.Register("isDeviceProtectedStorage", "()Z", "GetIsDeviceProtectedStorageHandler", ApiSince=24)>]
member this.IsDeviceProtectedStorage : bool

Property Value

No value is provided by the default mock. Its getter throws UnsupportedOperationException; override this property to supply the storage protection 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