struct Asterisk::ARI::Playbacks::Playback

Overview

Object representing the playback of media to a channel

Included Modules

Defined in:

asterisk/ari/models/playbacks_playback.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(pull : JSON::PullParser) #

[View source]

Instance Method Detail

def id : String #

ID for this playback operation


[View source]
def id=(id : String) #

ID for this playback operation


[View source]
def language : String? #

For media types that support multiple languages, the language requested for playback.


[View source]
def language=(language : String?) #

For media types that support multiple languages, the language requested for playback.


[View source]
def media_uri : String #

The URI for the media currently being played back.


[View source]
def media_uri=(media_uri : String) #

The URI for the media currently being played back.


[View source]
def next_media_uri : String? #

If a list of URIs is being played, the next media URI to be played back.


[View source]
def next_media_uri=(next_media_uri : String?) #

If a list of URIs is being played, the next media URI to be played back.


[View source]
def state : String #

Current state of the playback operation.


[View source]
def state=(state : String) #

Current state of the playback operation.


[View source]
def target_uri : String #

URI for the channel or bridge to play the media on


[View source]
def target_uri=(target_uri : String) #

URI for the channel or bridge to play the media on


[View source]