internal void SendConnectionRequest(string name, string remoteEndpointId, byte[] payload, Action <long, NativeConnectionResponse> callback, NativeMessageListenerHelper listener)
 {
     NearbyConnections.NearbyConnections_SendConnectionRequest(SelfPtr(), name, remoteEndpointId, payload, new UIntPtr((ulong)payload.Length), InternalConnectResponseCallback, Callbacks.ToIntPtr(callback, NativeConnectionResponse.FromPointer), listener.AsPointer());
 }
 internal void SendConnectionRequest(string name, string remoteEndpointId, byte[] payload, Action <long, NativeConnectionResponse> callback, NativeMessageListenerHelper listener)
 {
     NearbyConnections.NearbyConnections_SendConnectionRequest(this.SelfPtr(), name, remoteEndpointId, payload, new UIntPtr((ulong)payload.Length), new NearbyConnectionTypes.ConnectionResponseCallback(NearbyConnectionsManager.InternalConnectResponseCallback), Callbacks.ToIntPtr <long, NativeConnectionResponse>(callback, new Func <IntPtr, NativeConnectionResponse>(NativeConnectionResponse.FromPointer)), listener.AsPointer());
 }