MediaRoute2Info.Builder.SetVisibilityPublic 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 the visibility of this route to public.
[Android.Runtime.Register("setVisibilityPublic", "()Landroid/media/MediaRoute2Info$Builder;", "", ApiSince=34)]
public Android.Media.MediaRoute2Info.Builder SetVisibilityPublic();
[<Android.Runtime.Register("setVisibilityPublic", "()Landroid/media/MediaRoute2Info$Builder;", "", ApiSince=34)>]
member this.SetVisibilityPublic : unit -> Android.Media.MediaRoute2Info.Builder
Returns
- Attributes
Remarks
Sets the visibility of this route to public. By default, unless you call setVisibilityRestricted(Set), the new route will be public. Public routes are visible to any application with a matching feature. Calls to this method override previous calls to setVisibilityPublic() and setVisibilityRestricted(Set).
Android reference for android.media.MediaRoute2Info.Builder.setVisibilityPublic.
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.