java.lang.Object | |
↳ | com.google.android.gms.cast.Cast.CastOptions.Builder |
A builder to create an instance of Cast.CastOptions
to set
API configuration parameters for Cast
.
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Creates a builder of
Cast.CastOptions to set API configuration parameters for
Cast . |
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Builds a CastOptions with the arguments supplied to this builder.
| |||||||||||
Enables or disables verbose logging for this Cast session.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() |
Creates a builder of Cast.CastOptions
to set API configuration parameters for
Cast
.
Parameters | |
---|---|
castDevice |
CastDevice :
The Cast receiver device returned from the MediaRouteProvider. May
not be null . |
castListener |
Cast.Listener :
The listener for Cast events. May not be null .
|
Builds a CastOptions with the arguments supplied to this builder.
Returns | |
---|---|
Cast.CastOptions |
Enables or disables verbose logging for this Cast session. This option is provided to aid in testing and debugging, and should not be enabled in release builds.
Parameters | |
---|---|
enabled |
boolean
|
Returns | |
---|---|
Cast.CastOptions.Builder |