MediaRoute2Info Class
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.
Describes the properties of a route.
[Android.Runtime.Register("android/media/MediaRoute2Info", ApiSince=30, DoNotGenerateAcw=true)]
public sealed class MediaRoute2Info : Java.Lang.Object, Android.OS.IParcelable, IDisposable, Java.Interop.IJavaPeerable
[<Android.Runtime.Register("android/media/MediaRoute2Info", ApiSince=30, DoNotGenerateAcw=true)>]
type MediaRoute2Info = class
inherit Object
interface IParcelable
interface IJavaObject
interface IDisposable
interface IJavaPeerable
- Inheritance
- Attributes
- Implements
Remarks
Describes the properties of a route.
Java documentation for android.media.MediaRoute2Info
.
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.
Fields
ConnectionStateConnected |
Obsolete.
A connection state indicating the route is connected. |
ConnectionStateConnecting |
Obsolete.
A connection state indicating the route is in the process of connecting and is not yet ready for use. |
ConnectionStateDisconnected |
Obsolete.
The default connection state indicating the route is disconnected. |
FeatureLiveAudio |
Route feature: Live audio. |
FeatureLiveVideo |
Route feature: Live video. |
FeatureRemoteAudioPlayback |
Route feature: Remote audio playback. |
FeatureRemotePlayback |
Route feature: Remote playback. |
FeatureRemoteVideoPlayback |
Route feature: Remote video playback. |
PlaybackVolumeFixed |
Obsolete.
Playback information indicating the playback volume is fixed, i.e. it cannot be controlled from this object. |
PlaybackVolumeVariable |
Obsolete.
Playback information indicating the playback volume is variable and can be controlled from this object. |
TypeBleHeadset |
Obsolete.
Indicates the route is a Bluetooth Low Energy (BLE) HEADSET. |
TypeBluetoothA2dp |
Obsolete.
Indicates the route is a bluetooth device, such as a bluetooth speaker or headphones. |
TypeBuiltinSpeaker |
Obsolete.
Indicates the route is the speaker system (i. |
TypeDock |
Obsolete.
Indicates the route is the audio device associated with a dock. |
TypeGroup |
Obsolete.
Indicates the route is a group of devices. |
TypeHdmi |
Obsolete.
Indicates the route is an HDMI connection. |
TypeHearingAid |
Obsolete.
Indicates the route is a hearing aid. |
TypeRemoteAudioVideoReceiver |
Obsolete.
Indicates the route is a remote Audio/Video Receiver (AVR). |
TypeRemoteSpeaker |
Obsolete.
Indicates the route is a remote speaker. |
TypeRemoteTv |
Obsolete.
Indicates the route is a remote TV. |
TypeUnknown |
Obsolete.
Indicates the route's type is unknown or undefined. |
TypeUsbAccessory |
Obsolete.
Indicates the route is a USB audio device in accessory mode. |
TypeUsbDevice |
Obsolete.
Indicates the route is a USB audio device. |
TypeUsbHeadset |
Obsolete.
Indicates the route is a USB audio headset. |
TypeWiredHeadphones |
Obsolete.
Indicates the route is a pair of wired headphones. |
TypeWiredHeadset |
Obsolete.
Indicates the route is a headset, which is the combination of a headphones and a microphone. |
Properties
Class |
Returns the runtime class of this |
ClientPackageName |
Gets the package name of the app using the route. |
ConnectionState |
Gets the connection state of the route. |
Creator | |
DeduplicationIds |
Gets the deduplication IDs associated to the route. |
Description | |
DescriptionFormatted |
Gets the user-visible description of the route. |
Extras |
Gets an optional bundle with extra data. |
Features |
Gets the supported features of the route. |
Handle |
The handle to the underlying Android instance. (Inherited from Object) |
IconUri |
Gets the URI of the icon representing this route. |
Id |
Gets the id of the route. |
IsSystemRoute |
Returns whether the route is a system route or not. |
JniIdentityHashCode | (Inherited from Object) |
JniPeerMembers | |
Name | |
NameFormatted |
Gets the user-visible name of the route. |
PeerReference | (Inherited from Object) |
ThresholdClass |
This API supports the Mono for Android infrastructure and is not intended to be used directly from your code. (Inherited from Object) |
ThresholdType |
This API supports the Mono for Android infrastructure and is not intended to be used directly from your code. (Inherited from Object) |
Type |
Returns the type of this route. |
Volume |
Gets the current volume of the route. |
VolumeHandling |
Gets information about how volume is handled on the route. |
VolumeMax |
Gets the maximum volume of the route. |
Methods
Clone() |
Creates and returns a copy of this object. (Inherited from Object) |
DescribeContents() | |
Dispose() | (Inherited from Object) |
Dispose(Boolean) | (Inherited from Object) |
Equals(Object) |
Indicates whether some other object is "equal to" this one. (Inherited from Object) |
GetHashCode() |
Returns a hash code value for the object. (Inherited from Object) |
JavaFinalize() |
Called by the garbage collector on an object when garbage collection determines that there are no more references to the object. (Inherited from Object) |
Notify() |
Wakes up a single thread that is waiting on this object's monitor. (Inherited from Object) |
NotifyAll() |
Wakes up all threads that are waiting on this object's monitor. (Inherited from Object) |
SetHandle(IntPtr, JniHandleOwnership) |
Sets the Handle property. (Inherited from Object) |
ToArray<T>() | (Inherited from Object) |
ToString() |
Returns a string representation of the object. (Inherited from Object) |
UnregisterFromRuntime() | (Inherited from Object) |
Wait() |
Causes the current thread to wait until it is awakened, typically by being <em>notified</em> or <em>interrupted</em>. (Inherited from Object) |
Wait(Int64, Int32) |
Causes the current thread to wait until it is awakened, typically by being <em>notified</em> or <em>interrupted</em>, or until a certain amount of real time has elapsed. (Inherited from Object) |
Wait(Int64) |
Causes the current thread to wait until it is awakened, typically by being <em>notified</em> or <em>interrupted</em>, or until a certain amount of real time has elapsed. (Inherited from Object) |
WriteToParcel(Parcel, ParcelableWriteFlags) |
Explicit Interface Implementations
IJavaPeerable.Disposed() | (Inherited from Object) |
IJavaPeerable.DisposeUnlessReferenced() | (Inherited from Object) |
IJavaPeerable.Finalized() | (Inherited from Object) |
IJavaPeerable.JniManagedPeerState | (Inherited from Object) |
IJavaPeerable.SetJniIdentityHashCode(Int32) | (Inherited from Object) |
IJavaPeerable.SetJniManagedPeerState(JniManagedPeerStates) | (Inherited from Object) |
IJavaPeerable.SetPeerReference(JniObjectReference) | (Inherited from Object) |
Extension Methods
JavaCast<TResult>(IJavaObject) |
Performs an Android runtime-checked type conversion. |
JavaCast<TResult>(IJavaObject) | |
GetJniTypeName(IJavaPeerable) |