Android.Net.Rtp.RtpStream.Associate Method
Associates with a remote host.

Syntax

[Android.Runtime.Register("associate", "(Ljava/net/InetAddress;I)V", "GetAssociate_Ljava_net_InetAddress_IHandler")]
public virtual void Associate (Java.Net.InetAddress address, int port)

See Also

RtpStream.IsBusy

Parameters

address
The network address of the remote host.
port
The network port of the remote host.

Exceptions

TypeReason
Java.Lang.IllegalArgumentExceptionif the address is not supported or the port is invalid.
Java.Lang.IllegalStateExceptionif the stream is busy.

Remarks

Associates with a remote host. This defines the destination of the outgoing packets.

[Android Documentation]

Requirements

Namespace: Android.Net.Rtp
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 12