terminateSession method
Handler for terminate_session.
Stop a streaming session.
Required Parameters:
sessionKey
: Session key for the session info to terminate, ORsessionId
: Session ID for the session info to terminate
Optional parameters:
message
: Message to show user for reason of termination
Implementation
Future<void> terminateSession({
int? sessionKey,
String? sessionId,
String? message,
}) async => _commandTerminateSession(_client, sessionKey: sessionKey, sessionId: sessionId, message: message);