Documentation
¶
Rendered for windows/amd64
Index ¶
- Constants
- func FromBluetoothAddressAsync(bluetoothAddress uint64) (*foundation.IAsyncOperation, error)
- func FromBluetoothAddressWithBluetoothAddressTypeAsync(bluetoothAddress uint64, bluetoothAddressType BluetoothAddressType) (*foundation.IAsyncOperation, error)
- type BluetoothAddressType
- type BluetoothCacheMode
- type BluetoothConnectionStatus
- type BluetoothDeviceId
- type BluetoothLEDevice
- func (impl *BluetoothLEDevice) AddConnectionStatusChanged(handler *foundation.TypedEventHandler) (foundation.EventRegistrationToken, error)
- func (impl *BluetoothLEDevice) Close() error
- func (impl *BluetoothLEDevice) GetBluetoothDeviceId() (*BluetoothDeviceId, error)
- func (impl *BluetoothLEDevice) GetConnectionStatus() (BluetoothConnectionStatus, error)
- func (impl *BluetoothLEDevice) GetGattServicesAsync() (*foundation.IAsyncOperation, error)
- func (impl *BluetoothLEDevice) GetGattServicesWithCacheModeAsync(cacheMode BluetoothCacheMode) (*foundation.IAsyncOperation, error)
- func (impl *BluetoothLEDevice) RemoveConnectionStatusChanged(token foundation.EventRegistrationToken) error
Constants ¶
View Source
const GUIDiBluetoothDeviceId string = "c17949af-57c1-4642-bcce-e6c06b20ae76"
View Source
const GUIDiBluetoothLEDevice string = "b5ee2f7b-4ad8-4642-ac48-80a0b500e887"
View Source
const GUIDiBluetoothLEDevice2 string = "26f062b3-7aee-4d31-baba-b1b9775f5916"
View Source
const GUIDiBluetoothLEDevice3 string = "aee9e493-44ac-40dc-af33-b2c13c01ca46"
View Source
const GUIDiBluetoothLEDevice4 string = "2b605031-2248-4b2f-acf0-7cee36fc5870"
View Source
const GUIDiBluetoothLEDevice5 string = "9d6a1260-5287-458e-95ba-17c8b7bb326e"
View Source
const GUIDiBluetoothLEDeviceStatics string = "c8cf1a19-f0b6-4bf0-8689-41303de2d9f4"
View Source
const GUIDiBluetoothLEDeviceStatics2 string = "5f12c06b-3bac-43e8-ad16-563271bd41c2"
View Source
const SignatureBluetoothAddressType string = "enum(Windows.Devices.Bluetooth.BluetoothAddressType;i4)"
View Source
const SignatureBluetoothCacheMode string = "enum(Windows.Devices.Bluetooth.BluetoothCacheMode;i4)"
View Source
const SignatureBluetoothConnectionStatus string = "enum(Windows.Devices.Bluetooth.BluetoothConnectionStatus;i4)"
View Source
const SignatureBluetoothDeviceId string = "rc(Windows.Devices.Bluetooth.BluetoothDeviceId;{c17949af-57c1-4642-bcce-e6c06b20ae76})"
View Source
const SignatureBluetoothLEDevice string = "rc(Windows.Devices.Bluetooth.BluetoothLEDevice;{b5ee2f7b-4ad8-4642-ac48-80a0b500e887})"
View Source
const SignatureiBluetoothDeviceId string = "{c17949af-57c1-4642-bcce-e6c06b20ae76}"
View Source
const SignatureiBluetoothLEDevice string = "{b5ee2f7b-4ad8-4642-ac48-80a0b500e887}"
View Source
const SignatureiBluetoothLEDevice2 string = "{26f062b3-7aee-4d31-baba-b1b9775f5916}"
View Source
const SignatureiBluetoothLEDevice3 string = "{aee9e493-44ac-40dc-af33-b2c13c01ca46}"
View Source
const SignatureiBluetoothLEDevice4 string = "{2b605031-2248-4b2f-acf0-7cee36fc5870}"
View Source
const SignatureiBluetoothLEDevice5 string = "{9d6a1260-5287-458e-95ba-17c8b7bb326e}"
View Source
const SignatureiBluetoothLEDeviceStatics string = "{c8cf1a19-f0b6-4bf0-8689-41303de2d9f4}"
View Source
const SignatureiBluetoothLEDeviceStatics2 string = "{5f12c06b-3bac-43e8-ad16-563271bd41c2}"
Variables ¶
This section is empty.
Functions ¶
func FromBluetoothAddressAsync ¶
func FromBluetoothAddressAsync(bluetoothAddress uint64) (*foundation.IAsyncOperation, error)
func FromBluetoothAddressWithBluetoothAddressTypeAsync ¶
func FromBluetoothAddressWithBluetoothAddressTypeAsync(bluetoothAddress uint64, bluetoothAddressType BluetoothAddressType) (*foundation.IAsyncOperation, error)
Types ¶
type BluetoothAddressType ¶
type BluetoothAddressType int32
const ( BluetoothAddressTypePublic BluetoothAddressType = 0 BluetoothAddressTypeRandom BluetoothAddressType = 1 BluetoothAddressTypeUnspecified BluetoothAddressType = 2 )
type BluetoothCacheMode ¶
type BluetoothCacheMode int32
const ( BluetoothCacheModeCached BluetoothCacheMode = 0 BluetoothCacheModeUncached BluetoothCacheMode = 1 )
type BluetoothConnectionStatus ¶
type BluetoothConnectionStatus int32
const ( BluetoothConnectionStatusDisconnected BluetoothConnectionStatus = 0 BluetoothConnectionStatusConnected BluetoothConnectionStatus = 1 )
type BluetoothDeviceId ¶
type BluetoothDeviceId struct {
ole.IUnknown
}
func (*BluetoothDeviceId) GetId ¶
func (impl *BluetoothDeviceId) GetId() (string, error)
func (*BluetoothDeviceId) GetIsClassicDevice ¶
func (impl *BluetoothDeviceId) GetIsClassicDevice() (bool, error)
func (*BluetoothDeviceId) GetIsLowEnergyDevice ¶
func (impl *BluetoothDeviceId) GetIsLowEnergyDevice() (bool, error)
type BluetoothLEDevice ¶
type BluetoothLEDevice struct {
ole.IUnknown
}
func (*BluetoothLEDevice) AddConnectionStatusChanged ¶
func (impl *BluetoothLEDevice) AddConnectionStatusChanged(handler *foundation.TypedEventHandler) (foundation.EventRegistrationToken, error)
func (*BluetoothLEDevice) Close ¶
func (impl *BluetoothLEDevice) Close() error
func (*BluetoothLEDevice) GetBluetoothDeviceId ¶
func (impl *BluetoothLEDevice) GetBluetoothDeviceId() (*BluetoothDeviceId, error)
func (*BluetoothLEDevice) GetConnectionStatus ¶
func (impl *BluetoothLEDevice) GetConnectionStatus() (BluetoothConnectionStatus, error)
func (*BluetoothLEDevice) GetGattServicesAsync ¶
func (impl *BluetoothLEDevice) GetGattServicesAsync() (*foundation.IAsyncOperation, error)
func (*BluetoothLEDevice) GetGattServicesWithCacheModeAsync ¶
func (impl *BluetoothLEDevice) GetGattServicesWithCacheModeAsync(cacheMode BluetoothCacheMode) (*foundation.IAsyncOperation, error)
func (*BluetoothLEDevice) RemoveConnectionStatusChanged ¶
func (impl *BluetoothLEDevice) RemoveConnectionStatusChanged(token foundation.EventRegistrationToken) error
Source Files
¶
Click to show internal directories.
Click to hide internal directories.