Langue

RestrictionEntry.SetRestrictions(RestrictionEntry[]) Méthode

Définition

Définit un tableau d’entrées de restriction possibles, que cette entrée peut contenir.

[Android.Runtime.Register("setRestrictions", "([Landroid/content/RestrictionEntry;)V", "GetSetRestrictions_arrayLandroid_content_RestrictionEntry_Handler", ApiSince=23)]
public virtual void SetRestrictions(Android.Content.RestrictionEntry[]? restrictions);
[<Android.Runtime.Register("setRestrictions", "([Landroid/content/RestrictionEntry;)V", "GetSetRestrictions_arrayLandroid_content_RestrictionEntry_Handler", ApiSince=23)>]
abstract member SetRestrictions : Android.Content.RestrictionEntry[] -> unit
override this.SetRestrictions : Android.Content.RestrictionEntry[] -> unit

Paramètres

restrictions
RestrictionEntry[]

Entrées de restriction enfant à définir.

Attributs

Remarques

Définit un tableau d’entrées de restriction possibles, que cette entrée peut contenir.

Cette méthode n’est pertinente que pour les types #TYPE_BUNDLE et #TYPE_BUNDLE_ARRAY

Java documentation pour android.content.RestrictionEntry.setRestrictions(android.content.RestrictionEntry[]).

Les parties de cette page sont des modifications basées sur le travail créé et partagé par Android Open Source et utilisées en fonction des termes décrits dans la Creative Commons 2.5 Attribution License.

S’applique à