Google 致力于为黑人社区推动种族平等。查看具体举措

SliceViewManager.SliceCallback

public static interface SliceViewManager.SliceCallback

androidx.slice.SliceViewManager.SliceCallback


Class that listens to changes in Slices.

Summary

Public methods

abstract void onSliceUpdated(Slice s)

Called when slice is updated.

Public methods

onSliceUpdated

public abstract void onSliceUpdated (Slice s)

Called when slice is updated.

Parameters
s Slice: The updated slice.