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

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

Slice unwrap (Slice slice)

Convert Slice to Slice

Parameters
slice Slice

Returns
Slice

wrap

Slice wrap (Slice slice)

Convert Slice to Slice

Parameters
slice Slice

Returns
Slice