Partager via


RtpStream.Mode Property

Definition

Returns the current mode. -or- Changes the current mode.

public virtual Android.Net.Rtp.RtpStreamMode Mode { [Android.Runtime.Register("getMode", "()I", "GetGetModeHandler")] get; [Android.Runtime.Register("setMode", "(I)V", "GetSetMode_IHandler")] set; }
[<get: Android.Runtime.Register("getMode", "()I", "GetGetModeHandler")>]
[<set: Android.Runtime.Register("setMode", "(I)V", "GetSetMode_IHandler")>]
member this.Mode : Android.Net.Rtp.RtpStreamMode with get, set

Property Value

Attributes

Exceptions

if the mode is invalid.

if the stream is busy.

Remarks

Property getter documentation:

Returns the current mode.

Java documentation for android.net.rtp.RtpStream.getMode().

Property setter documentation:

Changes the current mode. It must be one of #MODE_NORMAL, #MODE_SEND_ONLY, and #MODE_RECEIVE_ONLY.

Java documentation for android.net.rtp.RtpStream.setMode(int).

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