BluetoothLE.Droid.Adapter.Adapter C# (CSharp) Метод

Adapter() публичный Метод

Initializes a new instance of the BluetoothLE.Droid.Adapter class.
public Adapter ( ) : System
Результат System
        public Adapter()
        {
            var appContext = Android.App.Application.Context;
            _manager = (BluetoothManager)appContext.GetSystemService("bluetooth");
            _adapter = _manager.Adapter;

            _callback = new GattCallback();
            _callback.DeviceConnected += BluetoothGatt_DeviceConnected;
            _callback.DeviceDisconnected += BluetoothGatt_DeviceDisconnected;

            ConnectedDevices = new List<IDevice>();
        }