public interface MediaReceiver extends Observable<MediaReceiverDisconnected>
Usually, a media receiver is a device that supports the ChromeCast technology but in Chromium's logic it can be even a wired display (HDMI, DVI, or similar).
Modifier and Type | Method and Description |
---|---|
java.lang.String |
name()
Returns the name of the receiver.
|
Profile |
profile()
Returns the profile this receiver belongs to.
|
MediaReceiverState |
state()
Returns the current state of the receiver.
|
boolean |
supports(MediaSource mediaSource)
Returns
true if the receiver supports casting of mediaSource . |
on
java.lang.String name()
MediaReceiverState state()
ObjectClosedException
- when the profile is deleted or its engine is closedProfile profile()
boolean supports(MediaSource mediaSource)
true
if the receiver supports casting of mediaSource
.