java.lang.Object | |
↳ | com.google.android.gms.cast.Cast.CastOptions |
API configuration parameters for Cast
. The Cast.CastOptions.Builder
is used
to create an instance of Cast.CastOptions
.
Nested Classes | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Cast.CastOptions.Builder | A builder to create an instance of Cast.CastOptions to set
API configuration parameters for Cast . |
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
This method is deprecated.
Use the
Cast.CastOptions.Builder constructor instead.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() |
This method is deprecated.
Use the Cast.CastOptions.Builder
constructor instead.
Configures the Cast API to connect to this Google Cast device.
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 . |
Returns | |
---|---|
Cast.CastOptions.Builder |
A builder for the Cast ApiOptions. |