Why are the iOS and Android SDK implementations of player context unnecessarily different?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
With the Android SDK, there is no method to get the player context. There is, however, a subscribeToPlayerContext method for receiving changes to it with an event handler. This returns a PlayerContext object containing the title, subtitle, type, and uri of the player context. There is no player context information included with the PlayerState object.
With the iOS SDK, the player context is included with the PlayerState object. It can be retrived using either the getPlayerState method or by subscribing to player state changes. There is no such player context object or subscription as in Android. I think this is overall a better implementation but for some reason the subtitle and type are omitted, we only get the contextTitle and contextURI fields within the PlayerState.
Can we please have an update for the Android SDK to include the player context info along with the player state as it is in the iOS SDK? And also either include the subtitle and type in both, or neither. These differences in implementation make no sense and are making cross-platform app development more of a headache than it ought to be.
- Labels:
-
Discussion
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page