Condividi tramite


Slice.Builder Constructors

Definition

Overloads

Slice.Builder(Slice+Builder)
Slice.Builder(Uri, SliceSpec)

Create a builder which will construct a Slice for the given Uri.

Slice.Builder(IntPtr, JniHandleOwnership)

Slice.Builder(Slice+Builder)

[Android.Runtime.Register(".ctor", "(Landroid/app/slice/Slice$Builder;)V", "", ApiSince=28)]
public Builder (Android.App.Slices.Slice.Builder parent);
[<Android.Runtime.Register(".ctor", "(Landroid/app/slice/Slice$Builder;)V", "", ApiSince=28)>]
new Android.App.Slices.Slice.Builder : Android.App.Slices.Slice.Builder -> Android.App.Slices.Slice.Builder

Parameters

parent
Slice.Builder
Attributes

Applies to

Slice.Builder(Uri, SliceSpec)

Create a builder which will construct a Slice for the given Uri.

[Android.Runtime.Register(".ctor", "(Landroid/net/Uri;Landroid/app/slice/SliceSpec;)V", "", ApiSince=28)]
public Builder (Android.Net.Uri uri, Android.App.Slices.SliceSpec? spec);
[<Android.Runtime.Register(".ctor", "(Landroid/net/Uri;Landroid/app/slice/SliceSpec;)V", "", ApiSince=28)>]
new Android.App.Slices.Slice.Builder : Android.Net.Uri * Android.App.Slices.SliceSpec -> Android.App.Slices.Slice.Builder

Parameters

uri
Uri

Uri to tag for this slice.

spec
SliceSpec

the spec for this slice.

Attributes

Remarks

Create a builder which will construct a Slice for the given Uri.

Java documentation for android.app.slice.Slice.Builder.Slice$Builder(android.net.Uri, android.app.slice.SliceSpec).

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

Slice.Builder(IntPtr, JniHandleOwnership)

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

Parameters

javaReference
IntPtr

nativeint

Applies to