API configuration parameters forCast
.The
Cast.CastOptions.Builder
is used to create an instance ofCast.CastOptions
.
Nested Class Summary
class | Cast.CastOptions.Builder | A builder to create an instance of
Cast.CastOptions
to set API configuration parameters forCast . |
Inherited Field Summary
Public Method Summary
staticCast.CastOptions.Builder |
builder(CastDevice
castDevice,Cast.Listener
castListener)
This method is deprecated. Use the
Cast.CastOptions.Builder
constructor instead.
|
boolean | |
int |
hashCode()
|
Inherited Method Summary
Public Methods
public staticCast.CastOptions.Builder builder(CastDevicecastDevice, Cast.Listener castListener)
This method is deprecated.
Use theCast.CastOptions.Builder
constructor instead.
Configures the Cast API to connect to this Google Cast device.
Parameters
castDevice | The Cast receiver device returned from the MediaRouteProvider. May not be
null . |
---|---|
castListener | The listener for Cast events. May not benull . |
Returns
- A builder for the Cast ApiOptions.