startSessionWithDevice abstract method
- GoogleCastDevice device
Starts a new session with the given device, using the default session options that were registered for the device category, if any. This is an asynchronous operation. Parameters device The device to use for this session. Returns YES if the operation has been started successfully, NO if there is a session currently established or if the operation could not be started.
Implementation
/// This is an asynchronous operation.
/// Parameters
/// device The device to use for this session.
/// Returns
/// YES if the operation has been started successfully, NO if there is a session currently established or if the operation could not be started.
Future<bool> startSessionWithDevice(GoogleCastDevice device);