Sets the value of a specific restriction.
Syntax
[Android.Runtime.Register("setUserRestriction", "(Ljava/lang/String;Z)V", "GetSetUserRestriction_Ljava_lang_String_ZHandler")]
[System.Obsolete("deprecated")]
public virtual
void SetUserRestriction (
string key,
bool value)
Parameters
- key
- the key of the restriction
- value
- the value for the restriction
Remarks
Requirements
Namespace: Android.OS
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 18