ContentAppObserverCommands

interface ContentAppObserverCommands

Known direct subclasses
ContentAppObserver

API for the ContentAppObserver trait.


Summary

Public functions

suspend ContentAppObserverTrait.ContentAppMessageCommand.Response

Send a message to the content app.

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.