Sets all the user-wide restrictions for the specified user.
Syntax
[Android.Runtime.Register("setUserRestrictions", "(Landroid/os/Bundle;Landroid/os/UserHandle;)V", "GetSetUserRestrictions_Landroid_os_Bundle_Landroid_os_UserHandle_Handler")]
[System.Obsolete("deprecated")]
public virtual
void SetUserRestrictions (
Bundle restrictions,
UserHandle userHandle)
Parameters
- restrictions
- the Bundle containing all the restrictions.
- userHandle
- the UserHandle of the user for whom to set the restrictions.
Remarks
Requirements
Namespace: Android.OS
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 18