onPlayerPropertiesChanged property

Stream<PlayerPropertiesChangedEvent> get onPlayerPropertiesChanged

This can be called multiple times, and can be used to set / override / remove player properties. A null propValue indicates removal.

Implementation

Stream<PlayerPropertiesChangedEvent> get onPlayerPropertiesChanged => _client
    .onEvent
    .where((event) => event.name == 'Media.playerPropertiesChanged')
    .map((event) => PlayerPropertiesChangedEvent.fromJson(event.parameters));