SliceUtils.SliceActionListener


interface SliceUtils.SliceActionListener


A listener used to receive events on slices parsed with parseSlice.

Summary

Public functions

Unit
onSliceAction(actionUri: Uri!, context: Context!, intent: Intent!)

Called when an action is triggered on a slice parsed with parseSlice.

Public functions

onSliceAction

Added in 1.1.0-alpha02
fun onSliceAction(actionUri: Uri!, context: Context!, intent: Intent!): Unit

Called when an action is triggered on a slice parsed with parseSlice.

Parameters
actionUri: Uri!

The uri of the action selected.

context: Context!

The context passed to fireAction

intent: Intent!

The intent passed to fireAction