ContentAppObserverCommands

@Generated(value = ["GoogleHomePlatformCodegen"])
interface ContentAppObserverCommands

Known direct subclasses
ContentAppObserver

API for the ContentAppObserver trait.


Summary

Public functions

contentAppMessage

suspend fun contentAppMessage(encodingHint: String, optionalArgs: ContentAppObserverTrait.ContentAppMessageCommand.OptionalArgs.() -> Unit = {}): ContentAppObserverTrait.ContentAppMessageCommand.Response

Send a message to the content app.

Parameters
encodingHint: String

A content app-specific hint as to the encoding of the data.

optionalArgs: ContentAppObserverTrait.ContentAppMessageCommand.OptionalArgs.() -> Unit = {}

Receiver for the optional arguments of this command

Returns
ContentAppObserverTrait.ContentAppMessageCommand.Response

The result of the ContentAppMessage command.

contentAppMessageBatchable

fun contentAppMessageBatchable(
    encodingHint: String,
    optionalArgs: ContentAppObserverTrait.ContentAppMessageCommand.OptionalArgs.() -> Unit = {}
): BatchableCommand<ContentAppObserverTrait.ContentAppMessageCommand.Response>

The batchable version of contentAppMessage command.

Send a message to the content app.

Parameters
encodingHint: String

A content app-specific hint as to the encoding of the data.

optionalArgs: ContentAppObserverTrait.ContentAppMessageCommand.OptionalArgs.() -> Unit = {}

Receiver for the optional arguments of this command