Share via


AudioStream.Codec Property

Definition

Returns the AudioCodec, or null if it is not set. -or- Sets the AudioCodec.

public virtual Android.Net.Rtp.AudioCodec? Codec { [Android.Runtime.Register("getCodec", "()Landroid/net/rtp/AudioCodec;", "GetGetCodecHandler")] get; [Android.Runtime.Register("setCodec", "(Landroid/net/rtp/AudioCodec;)V", "GetSetCodec_Landroid_net_rtp_AudioCodec_Handler")] set; }
[<get: Android.Runtime.Register("getCodec", "()Landroid/net/rtp/AudioCodec;", "GetGetCodecHandler")>]
[<set: Android.Runtime.Register("setCodec", "(Landroid/net/rtp/AudioCodec;)V", "GetSetCodec_Landroid_net_rtp_AudioCodec_Handler")>]
member this.Codec : Android.Net.Rtp.AudioCodec with get, set

Property Value

Attributes

Exceptions

if its type is used by DTMF.

if the stream is busy.

Remarks

Property getter documentation:

Returns the AudioCodec, or null if it is not set.

Java documentation for android.net.rtp.AudioStream.getCodec().

Property setter documentation:

Sets the AudioCodec.

Java documentation for android.net.rtp.AudioStream.setCodec(android.net.rtp.AudioCodec).

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.

Applies to

See also