java - Can i programatically detect if there are any Chromecast devices on the current WiFi network? -


Is it possible to detect if there are any chromecast devices on the existing WiFi network or not? I have noticed that there is a Cast SDK but I did not find anything about finding the equipment Earlier, this has never worked with SDK, it is possible that I have ignored it.

You can search without using the cast button; You need to use the Media Router from the v7 support library (which also needs v7apkapat support) and then get an example of a media router with your code, define a selector (which is basically to reduce the device There is a filter for which you are interested in) and then add a callback to start searching. As the device is searched (asynchronous), your callback will be called. Take a look at this sample, especially what you do that you want.

Comments

Popular posts from this blog

python - Writing Greek in matplotlib labels, titles -

c# - LINQ to Entities does not recognize the method 'Int32 IndexOf(System.String, System.StringComparison)' method -

Pygame memory leak with transform.flip -