Google se compromete a impulsar la igualdad racial para las comunidades afrodescendientes. Obtén información al respecto.

SliceConvert

@RequiresApi(28) 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