Android.OS.UserManager.DisallowCreateWindows Field
Specifies that windows besides app windows should not be created.

Syntax

[Android.Runtime.Register("DISALLOW_CREATE_WINDOWS")]
public const string DisallowCreateWindows

See Also

UserManager.UserRestrictions
UserManager.UserRestrictions

Remarks

Specifies that windows besides app windows should not be created. This will block the creation of the following types of windows. Android.Views.WindowManagerLayoutParams.TYPE_TOASTAndroid.Views.WindowManagerLayoutParams.TYPE_PHONEAndroid.Views.WindowManagerLayoutParams.TYPE_PRIORITY_PHONEAndroid.Views.WindowManagerLayoutParams.TYPE_SYSTEM_ALERTAndroid.Views.WindowManagerLayoutParams.TYPE_SYSTEM_ERRORAndroid.Views.WindowManagerLayoutParams.TYPE_SYSTEM_OVERLAY

This can only be set by device owners and profile owners on the primary user. The default value is false.

Key for user restrictions.

Type: Boolean

[Android Documentation]

Requirements

Namespace: Android.OS
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 17