use of com.google.android.libraries.cast.companionlibrary.cast.callbacks.VideoCastConsumer in project Shuttle by timusus.
the class VideoCastManager method onApplicationStatusChanged.
private void onApplicationStatusChanged() {
if (!isConnected()) {
return;
}
try {
String appStatus = Cast.CastApi.getApplicationStatus(mApiClient);
LOGD(TAG, "onApplicationStatusChanged() reached: " + appStatus);
for (VideoCastConsumer consumer : mVideoConsumers) {
consumer.onApplicationStatusChanged(appStatus);
}
} catch (IllegalStateException e) {
LOGE(TAG, "onApplicationStatusChanged()", e);
}
}
Aggregations