RestrictionEntry.CreateBundleEntry(String, RestrictionEntry[]) Method

Definition

Creates an entry of type #TYPE_BUNDLE.

[Android.Runtime.Register("createBundleEntry", "(Ljava/lang/String;[Landroid/content/RestrictionEntry;)Landroid/content/RestrictionEntry;", "", ApiSince=23)]
public static Android.Content.RestrictionEntry? CreateBundleEntry (string? key, Android.Content.RestrictionEntry[]? restrictionEntries);
[<Android.Runtime.Register("createBundleEntry", "(Ljava/lang/String;[Landroid/content/RestrictionEntry;)Landroid/content/RestrictionEntry;", "", ApiSince=23)>]
static member CreateBundleEntry : string * Android.Content.RestrictionEntry[] -> Android.Content.RestrictionEntry

Parameters

key
String

the unique key for this restriction

restrictionEntries
RestrictionEntry[]

array of nested restriction entries.

Returns

the newly created restriction

Attributes

Remarks

Creates an entry of type #TYPE_BUNDLE.

Java documentation for android.content.RestrictionEntry.createBundleEntry(java.lang.String, android.content.RestrictionEntry[]).

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