Поделиться через


RestrictionEntry.CreateBundleEntry(String, RestrictionEntry[]) Метод

Определение

Создает запись типа #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

Параметры

key
String

уникальный ключ для этого ограничения

restrictionEntries
RestrictionEntry[]

массив вложенных записей ограничений.

Возвращаемое значение

только что созданное ограничение

Атрибуты

Комментарии

Создает запись типа #TYPE_BUNDLE.

Документация по Java для android.content.RestrictionEntry.createBundleEntry(java.lang.String, android.content.RestrictionEntry[]).

Части этой страницы являются изменениями, основанными на работе, созданной и совместно используемой проектом и используемой в соответствии с условиями, Creative Commons 2.5 Attribution License Creative Commons 2.5 Attribution License.

Применяется к