title: MediaRouter RemotePlaybackClient MediaItemStatus.PLAYBACK_STATE_FINISHED
body: <p>I am trying to use the MediaRouter api to do remote playback on a chromecast device. So far, discovering the chromecast, playing a video, polling for position updates, has worked very well. However, I am having huge problems getting a callback for when a media item has finished playing.</p>
  
  <p>I have tried three different approaches:</p>
  
  <ol>
  <li>in the RemotePlaybackClient.ItemActionCallback passed to
  remoteClient.play , I do not get the callback.</li>
  <li>in the RemotePlaybackClient.StatusCallback statusCallback , set with remoteClient.setStatusCallback</li>
  <li>using a handler to poll for status with remoteClient.getStatus.</li>
  </ol>
  
  <p>I am thinking that for 1, I only get a callback saying if it started playing/buffering successfully, and that for 3. it would not really work for getting playback finished. Nr 3 works very well for getting updates on the position of the stream though.</p>
  
  <p>If anyone has been able to get callbacks when a mediaItem has finished playing, I would be very glad to know how you did it. </p>