stopStreaming method
Stop streaming for this
entertainment configuration.
The bridge
parameter is the bridge to establish the handshake with.
token
is the access token for remote access.
May throw ExpiredAccessTokenException if trying to connect to the bridge remotely and the token is expired. If this happens, refresh the token with TokenRepo.refreshRemoteToken.
Implementation
Future<bool> stopStreaming(
Bridge bridge, {
String? token,
}) async =>
await _entertainmentStream.stopStreaming(
bridge,
token: token,
);