- MediaRoute2ProviderService - ReasonInvalidCommand 
- ReasonNetworkError 
- ReasonRejected 
- ReasonRouteNotAvailable 
- ReasonUnknownError 
- RequestIdNone 
- ServiceInterface 
- MediaRoute2ProviderService() 
- MediaRoute2ProviderService(IntPtr, JniHandleOwnership) 
- AllSessionInfo 
- JniPeerMembers 
- ThresholdClass 
- ThresholdType 
- GetSessionInfo(String) 
- NotifyRequestFailed(Int64, Int32) 
- NotifyRoutes(ICollection<MediaRoute2Info>) 
- NotifySessionCreated(Int64, RoutingSessionInfo) 
- NotifySessionReleased(String) 
- NotifySessionUpdated(RoutingSessionInfo) 
- OnBind(Intent) 
- OnCreateSession(Int64, String, String, Bundle) 
- OnDeselectRoute(Int64, String, String) 
- OnDiscoveryPreferenceChanged(RouteDiscoveryPreference) 
- OnReleaseSession(Int64, String) 
- OnSelectRoute(Int64, String, String) 
- OnSetRouteVolume(Int64, String, Int32) 
- OnSetSessionVolume(Int64, String, Int32) 
- OnTransferToRoute(Int64, String, String) 
 
net9.0-android34.0
    namespace Android.Media
{
    [Register("android/media/MediaRoute2ProviderService", ApiSince = 30, DoNotGenerateAcw = true)]
    [SupportedOSPlatform("android30.0")]
    public abstract class MediaRoute2ProviderService : Service
    {
        [Register("onBind", "(Landroid/content/Intent;)Landroid/os/IBinder;", "GetOnBind_Landroid_content_Intent_Handler", ApiSince = 30)]
        [SupportedOSPlatform("android30.0")]
        public override IBinder? OnBind(Intent! intent);
    }
}
            | .NET | 6.07.08.09.0 | 
|---|---|
| Information specific to net9.0 | |
| Platforms | This API is only available when you target a specific platform: | 
| Android | 21.022.023.024.025.026.027.028.029.030.031.032.033.034.0 | 
| Information specific to net9.0-android34.0 | |
| Assembly | Mono.Android , Version=0.0.0.0, PublicKeyToken=84e04ff9cfb79065 | 
| Referencing | The API is automatically referenced. | 
| Platform Restrictions | This API is only supported on the following platforms: 
 | 
- Built-in API
- Package-provided API