Action

constructor(id: ActionId, arguments: Bundle? = null, icon: Action.CustomActionIcon? = null)


constructor(id: String, arguments: Bundle? = null, icon: Action.CustomActionIcon? = null)

Parameters

id

The ID of this action. Unique for the media source it refers to. Must not be blank.

arguments

Arguments available to customize this action.

icon

Optional icon used for custom actions. The resource ID is extracted from the source's own package.