SliceSpec.CanRender(SliceSpec) Method

Definition

Indicates that this spec can be used to render the specified spec.

[Android.Runtime.Register("canRender", "(Landroid/app/slice/SliceSpec;)Z", "", ApiSince=28)]
public bool CanRender (Android.App.Slices.SliceSpec candidate);
[<Android.Runtime.Register("canRender", "(Landroid/app/slice/SliceSpec;)Z", "", ApiSince=28)>]
member this.CanRender : Android.App.Slices.SliceSpec -> bool

Parameters

candidate
SliceSpec

candidate format of data.

Returns

Boolean

true if versions are compatible.

Attributes

Remarks

Java documentation for android.app.slice.SliceSpec.canRender(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