MediaRouter2.SetDeviceSuggestions(IList<SuggestedDeviceInfo>) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Sets a list of device suggestions.
[Android.Runtime.Register("setDeviceSuggestions", "(Ljava/util/List;)V", "", ApiSince=36)]
public void SetDeviceSuggestions(System.Collections.Generic.IList<Android.Media.SuggestedDeviceInfo> suggestedDeviceInfo);
[<Android.Runtime.Register("setDeviceSuggestions", "(Ljava/util/List;)V", "", ApiSince=36)>]
member this.SetDeviceSuggestions : System.Collections.Generic.IList<Android.Media.SuggestedDeviceInfo> -> unit
Parameters
- suggestedDeviceInfo
- IList<SuggestedDeviceInfo>
The SuggestedDeviceInfo the router suggests should be provided to the user. This value cannot be null.
- Attributes
Remarks
Sets a list of device suggestions. Use this method to tell the system about device suggestions for the current router. The system may use these suggestions to populate system UI such as Output Switcher and media controls. Suggestions will be expired automatically by the system, at which point you should call this method again if the suggestion is still relevant and should still be surfaced.
Android reference for android.media.MediaRouter2.setDeviceSuggestions.
Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.