Java.Net.MulticastSocket.LeaveGroup Method
Removes this socket from the specified multicast group.

Syntax

[Android.Runtime.Register("leaveGroup", "(Ljava/net/InetAddress;)V", "GetLeaveGroup_Ljava_net_InetAddress_Handler")]
public virtual void LeaveGroup (InetAddress groupAddr)

Parameters

groupAddr
the multicast group to be left.

Exceptions

TypeReason
Java.Lang.NullPointerExceptionif groupAddr is null.
Java.IO.IOExceptionif the specified group address is not a multicast address.

Remarks

Removes this socket from the specified multicast group.

[Android Documentation]

Requirements

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