setup
Setup the CastContext and MediaRouteButton, return true if success, otherwise false.
Parameters
context
Android application context.
menu
The menu contains cast menu item.
castId
The cast menu item id.
Setup the CastContext and MediaRouteButton, return true if success, otherwise false.
Parameters
context
Android application context.
button
MediaRouteButton.