語言

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

屬性值

預設的模擬不會提供任何價值。 其 getter 擲 UnsupportedOperationException出 ;覆蓋此性質以供應儲存保護狀態。

屬性

備註

本頁部分內容為基於 Open Source Project 所創建與分享的作品,並依授權條款所描述的使用進行修改。

適用於