Class LiveMusicServerMessage

Response message for the LiveMusicClientMessage call.

Constructors

Properties

filteredPrompt?: LiveMusicFilteredPrompt

A prompt that was filtered with the reason.

serverContent?: LiveMusicServerContent

Content generated by the model in response to client messages.

Message sent in response to a LiveMusicClientSetup message from the client. Clients should wait for this message before sending any additional messages.

Accessors

  • get audioChunk(): undefined | AudioChunk

    Returns the first audio chunk from the server content, if present.

    Returns undefined | AudioChunk

    If there are no audio chunks in the response, undefined will be returned.