Skip to content Skip to sidebar Skip to footer

Chromecast Sdk Android: Getapplicationmetadata Returns Null

In my sender app I'm using ApplicationMetadata metadata = Cast.CastApi.getApplicationMetadata(apiClient); while apiClient.isConnected() returns true and my receiver app is runni

Solution 1:

There seems to be a bug there which will be addressed in the next release. Meanwhile, note that when you call Cast.CastApi.launchApplication() or Cast.CastApi.joinApplication(), you get a PendingResult object. You can set a callback on that to be notified of the result of your call; the onResult() method will be called and an ApplicationConnectionResult object will be passed to it. You can call getApplicationMetadata() on that object and that works fine (assuming you successfully launch or join an application).


Post a Comment for "Chromecast Sdk Android: Getapplicationmetadata Returns Null"