- AudioTrack - Builder 
- CodecFormatChangedEventArgs 
- IOnCodecFormatChangedListener 
- IOnPlaybackPositionUpdateListener 
- IOnRoutingChangedListener 
- MarkerReachedEventArgs 
- MetricsConstants 
- PeriodicNotificationEventArgs 
- RoutingChangedEventArgs 
- StreamEventCallback 
- DualMonoModeLl 
- DualMonoModeLr 
- DualMonoModeOff 
- DualMonoModeRr 
- EncapsulationMetadataTypeDvbAdDescriptor 
- EncapsulationMetadataTypeFrameworkTuner 
- EncapsulationMetadataTypeSupplementaryAudioPlacement 
- EncapsulationModeElementaryStream 
- EncapsulationModeNone 
- Error 
- ErrorBadValue 
- ErrorDeadObject 
- ErrorInvalidOperation 
- Success 
- SupplementaryAudioPlacementLeft 
- SupplementaryAudioPlacementNormal 
- SupplementaryAudioPlacementRight 
- AudioTrack(IntPtr, JniHandleOwnership) 
- AudioTrack(AudioAttributes, AudioFormat, Int32, AudioTrackMode, Int32) 
- AudioTrack(Stream, Int32, ChannelConfiguration, Encoding, Int32, AudioTrackMode) 
- AudioTrack(Stream, Int32, ChannelOut, Encoding, Int32, AudioTrackMode) 
- AudioTrack(Stream, Int32, ChannelConfiguration, Encoding, Int32, AudioTrackMode, Int32) 
- AudioTrack(Stream, Int32, ChannelOut, Encoding, Int32, AudioTrackMode, Int32) 
- AudioAttributes 
- AudioDescriptionMixLeveldB 
- AudioFormat 
- AudioSessionId 
- BufferCapacityInFrames 
- BufferSizeInFrames 
- ChannelConfiguration 
- ChannelCount 
- DualMonoMode 
- Format 
- IsOffloadedPlayback 
- JniPeerMembers 
- LogSessionId 
- MaxVolume 
- Metrics 
- MinVolume 
- NativeFrameCount 
- NotificationMarkerPosition 
- OffloadDelay 
- OffloadPadding 
- PerformanceMode 
- PlaybackHeadPosition 
- PlaybackParams 
- PlaybackRate 
- PlayState 
- PositionNotificationPeriod 
- PreferredDevice 
- RoutedDevice 
- SampleRate 
- StartThresholdInFrames 
- State 
- StreamType 
- ThresholdClass 
- ThresholdType 
- UnderrunCount 
- AddOnCodecFormatChangedListener(IExecutor, IOnCodecFormatChangedListener) 
- AddOnRoutingChangedListener(IAudioRoutingOnRoutingChangedListener, Handler) 
- AddOnRoutingChangedListener(IOnRoutingChangedListener, Handler) 
- AttachAuxEffect(Int32) 
- CreateVolumeShaper(Configuration) 
- Flush() 
- GetMinBufferSize(Int32, ChannelOut, Encoding) 
- GetNativeOutputSampleRate(Stream) 
- GetTimestamp(AudioTimestamp) 
- IsDirectPlaybackSupported(AudioFormat, AudioAttributes) 
- Pause() 
- Play() 
- RegisterStreamEventCallback(IExecutor, StreamEventCallback) 
- Release() 
- ReloadStaticData() 
- RemoveOnCodecFormatChangedListener(IOnCodecFormatChangedListener) 
- RemoveOnRoutingChangedListener(IAudioRoutingOnRoutingChangedListener) 
- RemoveOnRoutingChangedListener(IOnRoutingChangedListener) 
- SetAudioDescriptionMixLeveldB(Single) 
- SetAuxEffectSendLevel(Single) 
- SetBufferSizeInFrames(Int32) 
- SetDualMonoMode(Int32) 
- SetLoopPoints(Int32, Int32, Int32) 
- SetNotificationMarkerPosition(Int32) 
- SetOffloadDelayPadding(Int32, Int32) 
- SetOffloadEndOfStream() 
- SetPlaybackHeadPosition(Int32) 
- SetPlaybackPositionUpdateListener(IOnPlaybackPositionUpdateListener) 
- SetPlaybackPositionUpdateListener(IOnPlaybackPositionUpdateListener, Handler) 
- SetPlaybackRate(Int32) 
- SetPositionNotificationPeriod(Int32) 
- SetPreferredDevice(AudioDeviceInfo) 
- SetPresentation(AudioPresentation) 
- SetStartThresholdInFrames(Int32) 
- SetState(Int32) 
- SetStereoVolume(Single, Single) 
- SetVolume(Single) 
- Stop() 
- UnregisterStreamEventCallback(StreamEventCallback) 
- Write(Byte[], Int32, Int32) 
- Write(ByteBuffer, Int32, WriteMode) 
- Write(Int16[], Int32, Int32) 
- Write(Byte[], Int32, Int32, WriteMode) 
- Write(ByteBuffer, Int32, WriteMode, Int64) 
- Write(Int16[], Int32, Int32, WriteMode) 
- Write(Single[], Int32, Int32, WriteMode) 
- WriteAsync(Byte[], Int32, Int32) 
- WriteAsync(ByteBuffer, Int32, WriteMode) 
- WriteAsync(Int16[], Int32, Int32) 
- WriteAsync(Byte[], Int32, Int32, WriteMode) 
- WriteAsync(ByteBuffer, Int32, WriteMode, Int64) 
- WriteAsync(Int16[], Int32, Int32, WriteMode) 
- WriteAsync(Single[], Int32, Int32, WriteMode) 
- MarkerReached 
- PeriodicNotification 
- RoutingChanged 
 
net9.0-android34.0
    namespace Android.Media
{
    [Register("android/media/AudioTrack", DoNotGenerateAcw = true)]
    public class AudioTrack : Object, IAudioRouting, IVolumeAutomation, IJavaObject, IJavaPeerable, IDisposable
    {
        [SupportedOSPlatform("android29.0")]
        public virtual AudioAttributes! AudioAttributes
        {
            [Register("getAudioAttributes", "()Landroid/media/AudioAttributes;", "GetGetAudioAttributesHandler", ApiSince = 29)]
            get;
        }
    }
}
            | .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 | The property getter is only supported on the following platforms: 
 | 
- Built-in API
- Package-provided API