Language

MockContext.IsDeviceProtectedStorage プロパティ

定義

ストレージ保護状態を提供する代わりに、 UnsupportedOperationException をスローします。 テストの場合は、このプロパティをオーバーライドします。

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

プロパティ値

既定のモックでは値は指定されません。 そのゲッターは UnsupportedOperationExceptionをスローし、このプロパティをオーバーライドしてストレージ保護状態を提供します。

属性

注釈

このページの一部は、によって作成および共有され、に記載されている条件に従って使用される作業に基づく変更です。

適用対象