BrowserAction
constructor(id: String, arguments: Bundle? = null, resultConverter: (Bundle?) -> BrowserActionResult.Success<T>)
Parameters
T
Type of the optional data returned by BrowserActionResult.Success.
id
The ID of this action. Unique for the media source it refers to. Must not be blank.
arguments
Optional arguments for this action. Specific to the given id.
resultConverter
Converter function to parse the Bundle returned by the source in case of successful result into the typed value.