ConnectSDK / Connect-SDK-Android-Core

Core source code for the Android Connect SDK project
Apache License 2.0
114 stars 79 forks source link

Added webOSTV MediaPlayer error message handler (https://github.com/C… #46

Closed khk624 closed 9 years ago

khk624 commented 9 years ago

…onnectSDK/Connect-SDK-Android/issues/250)

oleksii-frolov commented 9 years ago

We should implement it as an error subscription using a method

subscribePlayState(PlayStateListener listener);

from MediaControl. When error is occurred the PlayStateListener.onError should be called with a ServiceCommandError object which will contain error message. Also we don't need changes inside WebOSTVService class.