Share via


RestrictionEntry.SetRestrictions(RestrictionEntry[]) Method

Definition

Sets an array of possible restriction entries, that this entry may contain.

[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

Parameters

restrictions
RestrictionEntry[]
Attributes

Remarks

Sets an array of possible restriction entries, that this entry may contain.

This method is only relevant for types #TYPE_BUNDLE and #TYPE_BUNDLE_ARRAY

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