欢迎参加我们将于 6 月 3 日举行的 #Android11:Beta 版发布会

SliceCallback

interface SliceCallback
androidx.slice.SliceViewManager.SliceCallback

Class that listens to changes in Slices.

Summary

Public methods

abstract Unit
onSliceUpdated(@NonNull s: Slice)

Called when slice is updated.

Public methods

onSliceUpdated

abstract fun onSliceUpdated(@NonNull s: Slice): Unit

Called when slice is updated.

Parameters
s Slice: The updated slice.