Share via


IdentityChangedListener.OnClusterIdChanged Method

Definition

Cluster ID changes could be trigger by either cluster started event or cluster joined event.

[Android.Runtime.Register("onClusterIdChanged", "(ILandroid/net/MacAddress;)V", "GetOnClusterIdChanged_ILandroid_net_MacAddress_Handler", ApiSince=34)]
public virtual void OnClusterIdChanged (Android.Net.Wifi.Aware.ClusterChangeEvent clusterEventType, Android.Net.MacAddress clusterId);
[<Android.Runtime.Register("onClusterIdChanged", "(ILandroid/net/MacAddress;)V", "GetOnClusterIdChanged_ILandroid_net_MacAddress_Handler", ApiSince=34)>]
abstract member OnClusterIdChanged : Android.Net.Wifi.Aware.ClusterChangeEvent * Android.Net.MacAddress -> unit
override this.OnClusterIdChanged : Android.Net.Wifi.Aware.ClusterChangeEvent * Android.Net.MacAddress -> unit

Parameters

clusterEventType
ClusterChangeEvent

The type of events that triggered the change of the cluster ID.

clusterId
MacAddress

The cluster id that the device just joined.

Attributes

Remarks

Cluster ID changes could be trigger by either cluster started event or cluster joined event.

Java documentation for android.net.wifi.aware.IdentityChangedListener.onClusterIdChanged(int, android.net.MacAddress).

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