次の方法で共有


RestrictionEntry.CreateBundleArrayEntry(String, RestrictionEntry[]) Method

Definition

Creates an entry of type #TYPE_BUNDLE_ARRAY.

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

Parameters

key
String

the unique key for this restriction

restrictionEntries
RestrictionEntry[]

array of nested restriction entries. The array may only contain elements of type #TYPE_BUNDLE bundle.

Returns

the newly created restriction

Attributes

Remarks

Creates an entry of type #TYPE_BUNDLE_ARRAY.

Java documentation for android.content.RestrictionEntry.createBundleArrayEntry(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