Пример #1
0
        //public static void findPrinters(Context paramContext, DiscoveryHandler paramDiscoveryHandler)
        //{
        //    BluetoothDiscoverer local1 = new BluetoothDiscoverer();
        //    FindDevices(paramContext, paramDiscoveryHandler, local1);
        //}

        public static void FindServices(Context paramContext, String paramString, IServiceDiscoveryHandler paramServiceDiscoveryHandler)
        {
            BtServiceDiscoverer localBtServiceDiscoverer = new BtServiceDiscoverer(BluetoothHelper.FormatMacAddress(paramString), paramServiceDiscoveryHandler);

            localBtServiceDiscoverer.DoDiscovery(paramContext);
        }