Can one use CastRemoteDisplay.API and Cast.API on the same GoogleApiClient?
问题 I am developing an Android app with CastRemoteDisplay (Cast SDK v2). When another app starts casting, I want to ensure my app stops casting, so I create my CastOptionsBuilder with the following listener: Cast.Listener listener = new Cast.Listener() { @Override public void onApplicationMetadataChanged(ApplicationMetadata metadata) { String backdropId = "E8C28D3C"; // id of the Cast backdrop app if (!(metadata == null || metadata.getApplicationId().equals(backdropId) || metadata