hold method
A TV plays: true once held, false when the system refused or this platform has nothing to hold.
Implementation
@override
Future<bool> hold(CastNotice notice) async {
try {
final answer = await _channel.invokeMethod<String>(
'hold',
notice.toMap(),
);
return answer == 'held';
} on MissingPluginException {
return false;
} on PlatformException {
// The system refused (a notification or service it won't start).
return false;
}
}