MockContext.CreateDeviceProtectedStorageContext Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Throws UnsupportedOperationException. Override this method to create a context for device-protected storage in a test.
[Android.Runtime.Register("createDeviceProtectedStorageContext", "()Landroid/content/Context;", "GetCreateDeviceProtectedStorageContextHandler", ApiSince=24)]
public override Android.Content.Context? CreateDeviceProtectedStorageContext();
[<Android.Runtime.Register("createDeviceProtectedStorageContext", "()Landroid/content/Context;", "GetCreateDeviceProtectedStorageContextHandler", ApiSince=24)>]
override this.CreateDeviceProtectedStorageContext : unit -> Android.Content.Context
Returns
No value is returned. The default mock implementation throws UnsupportedOperationException; override this method to supply a test result.
- 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.