Package com.teamdev.jxbrowser.cast
Interface MediaReceiver
- All Superinterfaces:
Observable<MediaReceiverDisconnected>
A media receiver to which media content can be cast.
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).
- Since:
- 7.29
-
Method Summary
Modifier and TypeMethodDescriptionname()
Returns the name of the receiver.profile()
Returns the profile this receiver belongs to.state()
Returns the current state of the receiver.boolean
supports
(MediaSource mediaSource) Returnstrue
if the receiver supports casting ofmediaSource
.Methods inherited from interface com.teamdev.jxbrowser.event.Observable
on
-
Method Details
-
name
String name()Returns the name of the receiver. -
state
MediaReceiverState state()Returns the current state of the receiver.- Throws:
ObjectClosedException
- when the profile is deleted or its engine is closed
-
profile
Profile profile()Returns the profile this receiver belongs to. -
supports
Returnstrue
if the receiver supports casting ofmediaSource
.- Since:
- 7.34
-