コード例 #1
0
        internal static IBluetoothClient CreateFromListener(AndroidBthFactoryBase fcty, BluetoothSocket sock)
        {
            var cli = new AndroidBthClient(fcty);

            cli.SetupConnection(sock);
            return(cli);
        }
コード例 #2
0
 protected internal virtual IBluetoothClient DoGetBluetoothClientForListener(BluetoothSocket sock)
 {
     return(AndroidBthClient.CreateFromListener(this, sock));
 }