Optional data: PartialMessage<ExtensionCommand>from field: moosync.types.RequestedPlaylistsRequest requested_playlists = 2;
from field: moosync.types.RequestedPlaylistSongsRequest requested_playlist_songs = 3;
from field: moosync.types.OauthCallbackRequest oauth_callback = 4;
from field: moosync.types.SongQueueChangedRequest song_queue_changed = 5;
from field: moosync.types.SeekedRequest seeked = 6;
from field: moosync.types.VolumeChangedRequest volume_changed = 7;
from field: moosync.types.PlayerStateChangedRequest player_state_changed = 8;
from field: moosync.types.SongChangedRequest song_changed = 9;
from field: moosync.types.PreferenceChangedRequest preference_changed = 10;
from field: moosync.types.PlaybackDetailsRequestedRequest playback_details_requested = 11;
from field: moosync.types.CustomRequest custom_request = 12;
from field: moosync.types.RequestedSongFromUrlRequest requested_song_from_url = 13;
from field: moosync.types.RequestedPlaylistFromUrlRequest requested_playlist_from_url = 14;
from field: moosync.types.RequestedSearchResultRequest requested_search_result = 15;
from field: moosync.types.RequestedRecommendationsRequest requested_recommendations = 16;
from field: moosync.types.RequestedLyricsRequest requested_lyrics = 17;
from field: moosync.types.RequestedArtistSongsRequest requested_artist_songs = 18;
from field: moosync.types.RequestedAlbumSongsRequest requested_album_songs = 19;
from field: moosync.types.SongAddedRequest song_added = 20;
from field: moosync.types.SongRemovedRequest song_removed = 21;
from field: moosync.types.PlaylistAddedRequest playlist_added = 22;
from field: moosync.types.PlaylistRemovedRequest playlist_removed = 23;
from field: moosync.types.RequestedSongFromIdRequest requested_song_from_id = 24;
from field: moosync.types.GetRemoteUrlRequest get_remote_url = 25;
from field: moosync.types.ScrobbleRequest scrobble = 26;
from field: moosync.types.RequestedSongContextMenuRequest requested_song_context_menu = 27;
from field: moosync.types.RequestedPlaylistContextMenuRequest requested_playlist_context_menu = 28;
from field: moosync.types.ContextMenuActionRequest context_menu_action = 29;
from field: moosync.types.GetProviderScopesRequest get_provider_scopes = 30;
from field: moosync.types.GetAccountsRequest get_accounts = 31;
from field: moosync.types.PerformAccountLoginRequest perform_account_login = 32;
Optional value?: undefinedfrom oneof moosync.types.ExtensionCommand.event
from field: string package_name = 1;
Static Readonly fieldsStatic Readonly runtimeStatic Readonly typeCreate a deep copy.
Compare with a message of the same type. Note that this function disregards extensions and unknown fields.
Parse from binary data, merging fields.
Repeated fields are appended. Map entries are added, overwriting existing keys.
If a message field is already present, it will be merged with the new data.
Optional options: Partial<BinaryReadOptions>Parse a message from a JSON value.
Optional options: Partial<JsonReadOptions>Parse a message from a JSON string.
Optional options: Partial<JsonReadOptions>Retrieve the MessageType of this message - a singleton that represents the protobuf message declaration and provides metadata for reflection- based operations.
Serialize the message to binary data.
Optional options: Partial<BinaryWriteOptions>Protected toJSONOverride for serialization behavior. This will be invoked when calling JSON.stringify on this message (i.e. JSON.stringify(msg)).
Note that this will not serialize google.protobuf.Any with a packed message because the protobuf JSON format specifies that it needs to be unpacked, and this is only possible with a type registry to look up the message type. As a result, attempting to serialize a message with this type will throw an Error.
This method is protected because you should not need to invoke it directly -- instead use JSON.stringify or toJsonString for stringified JSON. Alternatively, if actual JSON is desired, you should use toJson.
Serialize the message to a JSON value, a JavaScript value that can be passed to JSON.stringify().
Optional options: Partial<JsonWriteOptions>Serialize the message to a JSON string.
Optional options: Partial<JsonWriteStringOptions>Static equalsStatic fromOptional options: Partial<BinaryReadOptions>Static fromOptional options: Partial<JsonReadOptions>Static fromOptional options: Partial<JsonReadOptions>
Generated
from message moosync.types.ExtensionCommand