Save the date! Android Dev Summit is coming to Sunnyvale, CA on Oct 23-24, 2019.

SliceConvert

open class SliceConvert
kotlin.Any
   ↳ androidx.slice.SliceConvert

Convert between androidx.slice.Slice and android.app.slice.Slice

Summary

Public methods
open static Slice!
unwrap(slice: Slice!)

Convert androidx.slice.Slice to android.app.slice.Slice

open static Slice!
wrap(slice: Slice!, context: Context!)

Convert android.app.slice.Slice to androidx.slice.Slice

Public methods

unwrap

open static fun unwrap(slice: Slice!): Slice!

Convert androidx.slice.Slice to android.app.slice.Slice

wrap

open static fun wrap(slice: Slice!, context: Context!): Slice!

Convert android.app.slice.Slice to androidx.slice.Slice