Slice.Builder Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
| Name | Description |
|---|---|
| Slice.Builder(Slice+Builder) |
Create a builder for a Slice that is a sub-slice of the slice being constructed by the provided builder. |
| Slice.Builder(Uri, SliceSpec) |
Create a builder which will construct a |
| Slice.Builder(IntPtr, JniHandleOwnership) |
Slice.Builder(Slice+Builder)
Create a builder for a Slice that is a sub-slice of the slice being constructed by the provided 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
The builder constructing the parent slice. This value cannot be null.
- Attributes
Remarks
Create a builder for a Slice that is a sub-slice of the slice being constructed by the provided builder.
Android reference for android.app.slice.Slice.Builder.Builder.
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(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.
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
- transfer
- JniHandleOwnership