EventInfo

public class EventInfo
extends Object

java.lang.Object
   ↳ androidx.slice.widget.EventInfo


Represents information associated with a logged event on SliceView.

Summary

Constants

int ACTION_TYPE_BUTTON

Indicates the event was an interaction with a button.

int ACTION_TYPE_CONTENT

Indicates the event was a tap on the entire row.

int ACTION_TYPE_SEE_MORE

Indicates the event was a tap on a see more button.

int ACTION_TYPE_SELECTION

Indicates the event was a selection from a selection row.

int ACTION_TYPE_SLIDER

Indicates the event was an interaction with a slider.

int ACTION_TYPE_TOGGLE

Indicates the event was an interaction with a toggle.

int POSITION_CELL

Indicates the event was an interaction with a button positioned in a grid cell.

int POSITION_END

Indicates the event was an interaction with a button positioned at the end of the row, potentially grouped with other buttons.

int POSITION_START

Indicates the event was an interaction with a button positioned at the start of the row.

int ROW_TYPE_GRID

Indicates the row is represented in a grid template.

int ROW_TYPE_LIST

Indicates the row is represented in a list template.

int ROW_TYPE_MESSAGING

Indicates the row is represented as a messaging template.

int ROW_TYPE_PROGRESS

Indicates the row represents a progress indicator.

int ROW_TYPE_SELECTION

Indicates the row represents a selection (drop-down list).

int ROW_TYPE_SHORTCUT

Indicates the slice is represented as a shortcut.

int ROW_TYPE_SLIDER

Indicates the row represents an range input slider.

int ROW_TYPE_TOGGLE

Indicates the row represents a toggleable item.

int STATE_OFF

Indicates the state of a toggle is off.

int STATE_ON

Indicates the state of a toggle is on.

Fields

public int<