Slice.Builder.AddSubSlice(Slice, String) Method
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.
Add a sub-slice to the slice being constructed
[Android.Runtime.Register("addSubSlice", "(Landroid/app/slice/Slice;Ljava/lang/String;)Landroid/app/slice/Slice$Builder;", "GetAddSubSlice_Landroid_app_slice_Slice_Ljava_lang_String_Handler", ApiSince=28)]
public virtual Android.App.Slices.Slice.Builder? AddSubSlice(Android.App.Slices.Slice slice, string? subType);
[<Android.Runtime.Register("addSubSlice", "(Landroid/app/slice/Slice;Ljava/lang/String;)Landroid/app/slice/Slice$Builder;", "GetAddSubSlice_Landroid_app_slice_Slice_Ljava_lang_String_Handler", ApiSince=28)>]
abstract member AddSubSlice : Android.App.Slices.Slice * string -> Android.App.Slices.Slice.Builder
override this.AddSubSlice : Android.App.Slices.Slice * string -> Android.App.Slices.Slice.Builder
Parameters
- slice
- Slice
- subType
- String
Optional template-specific type information. This value may be null. Value is one of the following: Slice.SUBTYPE_COLOR; Slice.SUBTYPE_CONTENT_DESCRIPTION; Slice.SUBTYPE_MAX; Slice.SUBTYPE_MESSAGE; Slice.SUBTYPE_PRIORITY; Slice.SUBTYPE_RANGE; Slice.SUBTYPE_SOURCE; Slice.SUBTYPE_TOGGLE; Slice.SUBTYPE_VALUE; Slice.SUBTYPE_LAYOUT_DIRECTION
Returns
- Attributes
Remarks
Add a sub-slice to the slice being constructed
Android reference for android.app.slice.Slice.Builder.addSubSlice.
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.