Share via


SliceProvider Constructors

Definition

Overloads

SliceProvider()

A version of constructing a SliceProvider that allows autogranting slice permissions to apps that hold specific platform permissions.

SliceProvider(String[])

A version of constructing a SliceProvider that allows autogranting slice permissions to apps that hold specific platform permissions.

SliceProvider(IntPtr, JniHandleOwnership)

SliceProvider()

A version of constructing a SliceProvider that allows autogranting slice permissions to apps that hold specific platform permissions.

[Android.Runtime.Register(".ctor", "()V", "", ApiSince=28)]
public SliceProvider ();
Attributes

Remarks

Java documentation for android.app.slice.SliceProvider.SliceProvider(java.lang.String).

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

SliceProvider(String[])

A version of constructing a SliceProvider that allows autogranting slice permissions to apps that hold specific platform permissions.

[Android.Runtime.Register(".ctor", "([Ljava/lang/String;)V", "", ApiSince=28)]
public SliceProvider (params string[] autoGrantPermissions);
[<Android.Runtime.Register(".ctor", "([Ljava/lang/String;)V", "", ApiSince=28)>]
new Android.App.Slices.SliceProvider : string[] -> Android.App.Slices.SliceProvider

Parameters

autoGrantPermissions
String[]

List of permissions that holders are auto-granted access to slices.

Attributes

Remarks

Java documentation for android.app.slice.SliceProvider.SliceProvider(java.lang.String).

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

SliceProvider(IntPtr, JniHandleOwnership)

protected SliceProvider (IntPtr javaReference, Android.Runtime.JniHandleOwnership transfer);
new Android.App.Slices.SliceProvider : nativeint * Android.Runtime.JniHandleOwnership -> Android.App.Slices.SliceProvider

Parameters

javaReference
IntPtr

nativeint

Applies to