Partager via


AudioStream Constructors

Definition

Overloads

AudioStream(InetAddress)

Creates an AudioStream on the given local address.

AudioStream(IntPtr, JniHandleOwnership)

A constructor used when creating managed representations of JNI objects; called by the runtime.

AudioStream(InetAddress)

Creates an AudioStream on the given local address.

[Android.Runtime.Register(".ctor", "(Ljava/net/InetAddress;)V", "")]
public AudioStream (Java.Net.InetAddress? address);
[<Android.Runtime.Register(".ctor", "(Ljava/net/InetAddress;)V", "")>]
new Android.Net.Rtp.AudioStream : Java.Net.InetAddress -> Android.Net.Rtp.AudioStream

Parameters

address
InetAddress

The network address of the local host to bind to.

Attributes

Exceptions

if the address cannot be bound or a problem occurs during binding.

Remarks

Creates an AudioStream on the given local address. Note that the local port is assigned automatically to conform with RFC 3550.

Java documentation for android.net.rtp.AudioStream.AudioStream(java.net.InetAddress).

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

AudioStream(IntPtr, JniHandleOwnership)

A constructor used when creating managed representations of JNI objects; called by the runtime.

protected AudioStream (IntPtr javaReference, Android.Runtime.JniHandleOwnership transfer);
new Android.Net.Rtp.AudioStream : nativeint * Android.Runtime.JniHandleOwnership -> Android.Net.Rtp.AudioStream

Parameters

javaReference
IntPtr

nativeint

A IntPtrcontaining a Java Native Interface (JNI) object reference.

transfer
JniHandleOwnership

A JniHandleOwnershipindicating how to handle javaReference

Remarks

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