public interface

SliceUtils.SliceActionListener

 androidx.slice.SliceUtils.SliceActionListener

Overview

A listener used to receive events on slices parsed with SliceUtils.parseSlice(Context, InputStream, String, SliceUtils.SliceActionListener).

Summary

Methods
public voidonSliceAction(Uri actionUri, Context context, Intent intent)

Called when an action is triggered on a slice parsed with SliceUtils.parseSlice(Context, InputStream, String, SliceUtils.SliceActionListener).

Methods

public void onSliceAction(Uri actionUri, Context context, Intent intent)

Called when an action is triggered on a slice parsed with SliceUtils.parseSlice(Context, InputStream, String, SliceUtils.SliceActionListener).

Parameters:

actionUri: The uri of the action selected.
context: The context passed to SliceItem.fireAction(Context, Intent)
intent: The intent passed to SliceItem.fireAction(Context, Intent)