stopStreaming method
Stop streaming for this
entertainment configuration.
The bridge
parameter is the bridge to establish the handshake with.
decrypter
When the old tokens are read from local storage, they are
decrypted. This parameter allows you to provide your own decryption
method. This will be used in addition to the default decryption method.
This will be performed after the default decryption method.
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 Function(String ciphertext)? decrypter,
}) async =>
_entertainmentStream.stopStreaming(
bridge,
decrypter: decrypter,
);