public static final class ScreenCastOptions.Builder
extends java.lang.Object
ScreenCastOptions
.Modifier and Type | Method and Description |
---|---|
ScreenCastOptions |
build()
Returns a new
ScreenCastOptions instance built from the current state of
this builder. |
ScreenCastOptions.Builder |
screen(Screen screen)
Sets a screen whose content will be cast.
|
ScreenCastOptions.Builder |
withAudio()
Requests audio casting alongside with video.
|
public ScreenCastOptions.Builder screen(Screen screen)
public ScreenCastOptions.Builder withAudio()
Important: for now, audio casting is available only on Windows.
public ScreenCastOptions build()
ScreenCastOptions
instance built from the current state of
this builder.