DevicePolicyIdentifiers.GetIdentifierForUserRestriction(String) 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.
Returns a string identifier for the provided user restrictions, see
DevicePolicyManager#addUserRestriction
and UserManager
for the list of
available restrictions.
[Android.Runtime.Register("getIdentifierForUserRestriction", "(Ljava/lang/String;)Ljava/lang/String;", "", ApiSince=34)]
public static string GetIdentifierForUserRestriction (string restriction);
[<Android.Runtime.Register("getIdentifierForUserRestriction", "(Ljava/lang/String;)Ljava/lang/String;", "", ApiSince=34)>]
static member GetIdentifierForUserRestriction : string -> string
Parameters
- restriction
- String
Returns
- Attributes
Remarks
Returns a string identifier for the provided user restrictions, see DevicePolicyManager#addUserRestriction
and UserManager
for the list of available restrictions.
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.