SliceItem.Format Property

Definition

Get the format of this SliceItem.

public string? Format { [Android.Runtime.Register("getFormat", "()Ljava/lang/String;", "", ApiSince=28)] get; }
[<get: Android.Runtime.Register("getFormat", "()Ljava/lang/String;", "", ApiSince=28)>]
member this.Format : string

Property Value

Attributes

Remarks

Get the format of this SliceItem.

The format will be one of the following types supported by the platform: <li>#FORMAT_SLICE</li> <li>#FORMAT_TEXT</li> <li>#FORMAT_IMAGE</li> <li>#FORMAT_ACTION</li> <li>#FORMAT_INT</li> <li>#FORMAT_LONG</li> <li>#FORMAT_REMOTE_INPUT</li> <li>#FORMAT_BUNDLE</li>

Java documentation for android.app.slice.SliceItem.getFormat().

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