class Castblock::Chromecast

Defined in:

chromecast.cr
chromecast/device.cr
chromecast/errors.cr
chromecast/watch_message.cr

Constant Summary

Log = Castblock::Log.for(self)

Constructors

Instance Method Summary

Constructor Detail

def self.new #

[View source]

Instance Method Detail

def connect(device : Device) : Nil #

[View source]
def disconnect(device : Device) : Nil #

[View source]
def list_devices : Array(Device) #

[View source]
def seek_to(device : Device, timestamp : Float64) : Nil #

[View source]
def set_mute(device : Device, value : Bool) : Nil #

[View source]
def start_watcher(device : Device, continue : Channel(Nil), &block : WatchMessage -> ) : Nil #

[View source]