flutter_cast_framework_modern/lib/MethodNames.dart
gianlucaparadise b4b8eb258a CustomMessage handling: send and receive;
Code re-organization: CastDialogOpener, MethodNames;
2019-11-12 07:10:28 +01:00

18 lines
No EOL
1,004 B
Dart

class PlatformMethodNames {
static const onCastStateChanged = "CastContext.onCastStateChanged";
static const showCastDialog = "showCastDialog";
static const onSessionStarting = "SessionManager.onSessionStarting";
static const onSessionStarted = "SessionManager.onSessionStarted";
static const onSessionStartFailed = "SessionManager.onSessionStartFailed";
static const onSessionEnding = "SessionManager.onSessionEnding";
static const onSessionEnded = "SessionManager.onSessionEnded";
static const onSessionResuming = "SessionManager.onSessionResuming";
static const onSessionResumed = "SessionManager.onSessionResumed";
static const onSessionResumeFailed = "SessionManager.onSessionResumeFailed";
static const onSessionSuspended = "SessionManager.onSessionSuspended";
static const getSessionMessageNamespaces = "CastSession.getSessionMessageNamespaces";
static const onMessageReceived = "CastSession.onMessageReceived";
static const sendMessage = "CastSession.sendMessage";
}