lightbulb_outline Help shape the future of the Google Play Console, Android Studio, and Firebase. Start survey

belongs to Maven artifact androidx.slice:slice-core:1.0.0-alpha3

SliceConvert

public class SliceConvert
extends Object

java.lang.Object
   ↳ androidx.slice.SliceConvert


Convert between Slice and Slice

Summary

Public methods

static Slice unwrap(Slice slice)

Convert Slice to Slice

static Slice wrap(Slice slice)

Convert Slice to Slice

Inherited methods

Public methods

unwrap

public static Slice unwrap (Slice slice)

Convert Slice to Slice

Parameters
slice Slice

Returns
Slice

wrap

public static Slice wrap (Slice slice)

Convert Slice to Slice

Parameters
slice Slice

Returns
Slice