Package | Description |
---|---|
com.teamdev.jxbrowser.browser |
This package provides the classes that allow you to work with browsers.
|
com.teamdev.jxbrowser.browser.callback |
This package provides the classes that allow you to work with browser callback.
|
com.teamdev.jxbrowser.cast | |
com.teamdev.jxbrowser.cast.event |
Modifier and Type | Method and Description |
---|---|
java.util.concurrent.CompletableFuture<CastSession> |
Browser.cast(MediaReceiver receiver)
Starts casting the browser content to the media
receiver . |
java.util.concurrent.CompletableFuture<CastSession> |
Browser.castScreen(MediaReceiver receiver)
Starts casting screen's content by selecting the screen in the picker dialog.
|
java.util.concurrent.CompletableFuture<CastSession> |
Browser.castScreen(MediaReceiver receiver,
ScreenCastOptions options)
Starts casting the screen's content to the media
receiver . |
Modifier and Type | Method and Description |
---|---|
default java.util.List<MediaReceiver> |
StartPresentationCallback.Params.list()
Returns the list of media receivers that are able to start presentation from
StartPresentationCallback.Params.presentationRequest().
|
Modifier and Type | Method and Description |
---|---|
void |
StartPresentationCallback.Action.start(MediaReceiver receiver)
Starts the presentation on the
receiver . |
Modifier and Type | Method and Description |
---|---|
MediaReceiver |
MediaReceivers.await(java.util.function.Predicate<MediaReceiver> predicate)
Blocks the current thread until the first receiver matching the
predicate is
discovered. |
MediaReceiver |
MediaReceivers.await(java.util.function.Predicate<MediaReceiver> predicate,
java.time.Duration timeout)
Blocks the current thread until the first receiver matching the
predicate is
discovered. |
MediaReceiver |
CastSession.mediaReceiver()
Returns the media receiver of this session.
|
Modifier and Type | Method and Description |
---|---|
java.util.List<MediaReceiver> |
MediaReceivers.list()
Returns the list of connected (not unavailable)
media receivers.
|
Modifier and Type | Method and Description |
---|---|
MediaReceiver |
MediaReceivers.await(java.util.function.Predicate<MediaReceiver> predicate)
Blocks the current thread until the first receiver matching the
predicate is
discovered. |
MediaReceiver |
MediaReceivers.await(java.util.function.Predicate<MediaReceiver> predicate,
java.time.Duration timeout)
Blocks the current thread until the first receiver matching the
predicate is
discovered. |
Modifier and Type | Method and Description |
---|---|
default MediaReceiver |
MediaReceiverDiscovered.mediaReceiver()
Returns the discovered receiver.
|
default MediaReceiver |
MediaReceiverDisconnected.mediaReceiver()
Returns a media receiver that has been disconnected.
|