Language

PolicyIdentifier.CreateForTesting(String) Method

Definition

Create an instance of PolicyIdentifier for testing purposes.

[Android.Runtime.Register("createForTesting", "(Ljava/lang/String;)Landroid/app/admin/PolicyIdentifier;", "", ApiSince=37)]
[Java.Interop.JavaTypeParameters(new System.String[] { "U" })]
public static Android.App.Admin.PolicyIdentifier CreateForTesting(string id);
[<Android.Runtime.Register("createForTesting", "(Ljava/lang/String;)Landroid/app/admin/PolicyIdentifier;", "", ApiSince=37)>]
[<Java.Interop.JavaTypeParameters(new System.String[] { "U" })>]
static member CreateForTesting : string -> Android.App.Admin.PolicyIdentifier

Parameters

id
String

Returns

Attributes

Remarks

Create an instance of PolicyIdentifier for testing purposes. This must NOT be used in any real production code.

Android reference for android.app.admin.PolicyIdentifier.createForTesting.

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