Documentation
¶
Overview ¶
Package bluetooth provides Go bindings for android.bluetooth.
Index ¶
- Constants
- func Init(env *jni.Env) error
- type A2dp
- type Adapter
- func (m *Adapter) CancelDiscovery() (bool, error)
- func (m *Adapter) CheckBluetoothAddress(arg0 string) (bool, error)
- func (m *Adapter) Close()
- func (m *Adapter) CloseProfileProxy(arg0 int32, arg1 *jni.Object) error
- func (m *Adapter) Disable() (bool, error)
- func (m *Adapter) Enable() (bool, error)
- func (m *Adapter) GetAddress() (string, error)
- func (m *Adapter) GetBluetoothLeAdvertiser() (*jni.Object, error)
- func (m *Adapter) GetBluetoothLeScanner() (*jni.Object, error)
- func (m *Adapter) GetDiscoverableTimeout() (*jni.Object, error)
- func (m *Adapter) GetLeMaximumAdvertisingDataLength() (int32, error)
- func (m *Adapter) GetMaxConnectedAudioDevices() (int32, error)
- func (m *Adapter) GetName() (string, error)
- func (m *Adapter) GetProfileConnectionState(arg0 int32) (int32, error)
- func (m *Adapter) GetProfileProxy(arg0 *jni.Object, arg1 *jni.Object, arg2 int32) (bool, error)
- func (m *Adapter) GetRemoteDevice1(arg0 *jni.Object) (*jni.Object, error)
- func (m *Adapter) GetRemoteDevice1_1(arg0 string) (*jni.Object, error)
- func (m *Adapter) GetRemoteLeDevice(arg0 string, arg1 int32) (*jni.Object, error)
- func (m *Adapter) GetScanMode() (int32, error)
- func (m *Adapter) GetState() (int32, error)
- func (m *Adapter) IsDiscovering() (bool, error)
- func (m *Adapter) IsEnabled() (bool, error)
- func (m *Adapter) IsLe2MPhySupported() (bool, error)
- func (m *Adapter) IsLeAudioBroadcastAssistantSupported() (int32, error)
- func (m *Adapter) IsLeAudioBroadcastSourceSupported() (int32, error)
- func (m *Adapter) IsLeAudioSupported() (int32, error)
- func (m *Adapter) IsLeCodedPhySupported() (bool, error)
- func (m *Adapter) IsLeExtendedAdvertisingSupported() (bool, error)
- func (m *Adapter) IsLePeriodicAdvertisingSupported() (bool, error)
- func (m *Adapter) IsMultipleAdvertisementSupported() (bool, error)
- func (m *Adapter) IsOffloadedFilteringSupported() (bool, error)
- func (m *Adapter) IsOffloadedScanBatchingSupported() (bool, error)
- func (m *Adapter) ListenUsingInsecureL2capChannel() (*jni.Object, error)
- func (m *Adapter) ListenUsingInsecureRfcommWithServiceRecord(arg0 string, arg1 *jni.Object) (*jni.Object, error)
- func (m *Adapter) ListenUsingL2capChannel() (*jni.Object, error)
- func (m *Adapter) ListenUsingRfcommWithServiceRecord(arg0 string, arg1 *jni.Object) (*jni.Object, error)
- func (m *Adapter) ListenUsingSocketSettings(arg0 *jni.Object) (*jni.Object, error)
- func (m *Adapter) SetName(arg0 string) (bool, error)
- func (m *Adapter) StartDiscovery() (bool, error)
- func (m *Adapter) StartLeScan1(arg0 *jni.Object) (bool, error)
- func (m *Adapter) StartLeScan2_1(arg0 *jni.Object, arg1 *jni.Object) (bool, error)
- func (m *Adapter) StopLeScan(arg0 *jni.Object) error
- type AdapterLeScanCallback
- type Class
- func (m *Class) DescribeContents() (int32, error)
- func (m *Class) DoesClassMatch(arg0 int32) (bool, error)
- func (m *Class) Equals(arg0 *jni.Object) (bool, error)
- func (m *Class) GetDeviceClass() (int32, error)
- func (m *Class) GetMajorDeviceClass() (int32, error)
- func (m *Class) HasService(arg0 int32) (bool, error)
- func (m *Class) HashCode() (int32, error)
- func (m *Class) ToString() (string, error)
- func (m *Class) WriteToParcel(arg0 *jni.Object, arg1 int32) error
- type CodecConfig
- func (m *CodecConfig) DescribeContents() (int32, error)
- func (m *CodecConfig) Equals(arg0 *jni.Object) (bool, error)
- func (m *CodecConfig) GetBitsPerSample() (int32, error)
- func (m *CodecConfig) GetChannelMode() (int32, error)
- func (m *CodecConfig) GetCodecPriority() (int32, error)
- func (m *CodecConfig) GetCodecSpecific1() (int64, error)
- func (m *CodecConfig) GetCodecSpecific2() (int64, error)
- func (m *CodecConfig) GetCodecSpecific3() (int64, error)
- func (m *CodecConfig) GetCodecSpecific4() (int64, error)
- func (m *CodecConfig) GetCodecType() (int32, error)
- func (m *CodecConfig) GetExtendedCodecType() (*jni.Object, error)
- func (m *CodecConfig) GetSampleRate() (int32, error)
- func (m *CodecConfig) HashCode() (int32, error)
- func (m *CodecConfig) IsMandatoryCodec() (bool, error)
- func (m *CodecConfig) ToString() (string, error)
- func (m *CodecConfig) WriteToParcel(arg0 *jni.Object, arg1 int32) error
- type CodecConfigBuilder
- func (m *CodecConfigBuilder) Build() (*jni.Object, error)
- func (m *CodecConfigBuilder) SetBitsPerSample(arg0 int32) (*jni.Object, error)
- func (m *CodecConfigBuilder) SetChannelMode(arg0 int32) (*jni.Object, error)
- func (m *CodecConfigBuilder) SetCodecPriority(arg0 int32) (*jni.Object, error)
- func (m *CodecConfigBuilder) SetCodecSpecific1(arg0 int64) (*jni.Object, error)
- func (m *CodecConfigBuilder) SetCodecSpecific2(arg0 int64) (*jni.Object, error)
- func (m *CodecConfigBuilder) SetCodecSpecific3(arg0 int64) (*jni.Object, error)
- func (m *CodecConfigBuilder) SetCodecSpecific4(arg0 int64) (*jni.Object, error)
- func (m *CodecConfigBuilder) SetCodecType(arg0 int32) (*jni.Object, error)
- func (m *CodecConfigBuilder) SetExtendedCodecType(arg0 *jni.Object) (*jni.Object, error)
- func (m *CodecConfigBuilder) SetSampleRate(arg0 int32) (*jni.Object, error)
- type CodecStatus
- func (m *CodecStatus) DescribeContents() (int32, error)
- func (m *CodecStatus) Equals(arg0 *jni.Object) (bool, error)
- func (m *CodecStatus) GetCodecConfig() (*jni.Object, error)
- func (m *CodecStatus) HashCode() (int32, error)
- func (m *CodecStatus) IsCodecConfigSelectable(arg0 *jni.Object) (bool, error)
- func (m *CodecStatus) ToString() (string, error)
- func (m *CodecStatus) WriteToParcel(arg0 *jni.Object, arg1 int32) error
- type CodecStatusBuilder
- type CodecType
- func (m *CodecType) DescribeContents() (int32, error)
- func (m *CodecType) Equals(arg0 *jni.Object) (bool, error)
- func (m *CodecType) GetCodecId() (int64, error)
- func (m *CodecType) GetCodecName() (string, error)
- func (m *CodecType) HashCode() (int32, error)
- func (m *CodecType) IsMandatoryCodec() (bool, error)
- func (m *CodecType) ToString() (string, error)
- func (m *CodecType) WriteToParcel(arg0 *jni.Object, arg1 int32) error
- type CsipSetCoordinator
- type Device
- func (m *Device) ConnectGatt3(arg0 *jni.Object, arg1 bool, arg2 *jni.Object) (*jni.Object, error)
- func (m *Device) ConnectGatt4_1(arg0 *jni.Object, arg1 bool, arg2 *jni.Object, arg3 int32) (*jni.Object, error)
- func (m *Device) ConnectGatt5_2(arg0 *jni.Object, arg1 bool, arg2 *jni.Object, arg3 int32, arg4 int32) (*jni.Object, error)
- func (m *Device) CreateBond() (bool, error)
- func (m *Device) CreateInsecureL2capChannel(arg0 int32) (*jni.Object, error)
- func (m *Device) CreateInsecureRfcommSocketToServiceRecord(arg0 *jni.Object) (*jni.Object, error)
- func (m *Device) CreateL2capChannel(arg0 int32) (*jni.Object, error)
- func (m *Device) CreateRfcommSocketToServiceRecord(arg0 *jni.Object) (*jni.Object, error)
- func (m *Device) CreateUsingSocketSettings(arg0 *jni.Object) (*jni.Object, error)
- func (m *Device) DescribeContents() (int32, error)
- func (m *Device) Equals(arg0 *jni.Object) (bool, error)
- func (m *Device) FetchUuidsWithSdp() (bool, error)
- func (m *Device) GetAddress() (string, error)
- func (m *Device) GetAddressType() (int32, error)
- func (m *Device) GetAlias() (string, error)
- func (m *Device) GetBluetoothClass() (*jni.Object, error)
- func (m *Device) GetBondState() (int32, error)
- func (m *Device) GetIdentityAddressWithType() (*jni.Object, error)
- func (m *Device) GetName() (string, error)
- func (m *Device) GetType() (int32, error)
- func (m *Device) GetUuids() (*jni.Object, error)
- func (m *Device) HashCode() (int32, error)
- func (m *Device) SetAlias(arg0 string) (int32, error)
- func (m *Device) SetPairingConfirmation(arg0 bool) (bool, error)
- func (m *Device) SetPin(arg0 *jni.Object) (bool, error)
- func (m *Device) ToString() (string, error)
- func (m *Device) WriteToParcel(arg0 *jni.Object, arg1 int32) error
- type DeviceBluetoothAddress
- type Gatt
- func (m *Gatt) AbortReliableWrite0() error
- func (m *Gatt) AbortReliableWrite1_1(arg0 *jni.Object) error
- func (m *Gatt) BeginReliableWrite() (bool, error)
- func (m *Gatt) Close() error
- func (m *Gatt) Connect() (bool, error)
- func (m *Gatt) Disconnect() error
- func (m *Gatt) DiscoverServices() (bool, error)
- func (m *Gatt) ExecuteReliableWrite() (bool, error)
- func (m *Gatt) GetConnectionState(arg0 *jni.Object) (int32, error)
- func (m *Gatt) GetDevice() (*jni.Object, error)
- func (m *Gatt) GetService(arg0 *jni.Object) (*jni.Object, error)
- func (m *Gatt) ReadCharacteristic(arg0 *jni.Object) (bool, error)
- func (m *Gatt) ReadDescriptor(arg0 *jni.Object) (bool, error)
- func (m *Gatt) ReadPhy() error
- func (m *Gatt) ReadRemoteRssi() (bool, error)
- func (m *Gatt) RequestConnectionPriority(arg0 int32) (bool, error)
- func (m *Gatt) RequestMtu(arg0 int32) (bool, error)
- func (m *Gatt) SetCharacteristicNotification(arg0 *jni.Object, arg1 bool) (bool, error)
- func (m *Gatt) SetPreferredPhy(arg0 int32, arg1 int32, arg2 int32) error
- func (m *Gatt) WriteCharacteristic1(arg0 *jni.Object) (bool, error)
- func (m *Gatt) WriteCharacteristic3_1(arg0 *jni.Object, arg1 *jni.Object, arg2 int32) (int32, error)
- func (m *Gatt) WriteDescriptor1(arg0 *jni.Object) (bool, error)
- func (m *Gatt) WriteDescriptor2_1(arg0 *jni.Object, arg1 *jni.Object) (int32, error)
- type GattCallback
- func (m *GattCallback) OnCharacteristicChanged2(arg0 *jni.Object, arg1 *jni.Object) error
- func (m *GattCallback) OnCharacteristicChanged3_1(arg0 *jni.Object, arg1 *jni.Object, arg2 *jni.Object) error
- func (m *GattCallback) OnCharacteristicRead3_1(arg0 *jni.Object, arg1 *jni.Object, arg2 int32) error
- func (m *GattCallback) OnCharacteristicRead4(arg0 *jni.Object, arg1 *jni.Object, arg2 *jni.Object, arg3 int32) error
- func (m *GattCallback) OnCharacteristicWrite(arg0 *jni.Object, arg1 *jni.Object, arg2 int32) error
- func (m *GattCallback) OnConnectionStateChange(arg0 *jni.Object, arg1 int32, arg2 int32) error
- func (m *GattCallback) OnDescriptorRead3(arg0 *jni.Object, arg1 *jni.Object, arg2 int32) error
- func (m *GattCallback) OnDescriptorRead4_1(arg0 *jni.Object, arg1 *jni.Object, arg2 int32, arg3 *jni.Object) error
- func (m *GattCallback) OnDescriptorWrite(arg0 *jni.Object, arg1 *jni.Object, arg2 int32) error
- func (m *GattCallback) OnMtuChanged(arg0 *jni.Object, arg1 int32, arg2 int32) error
- func (m *GattCallback) OnPhyRead(arg0 *jni.Object, arg1 int32, arg2 int32, arg3 int32) error
- func (m *GattCallback) OnPhyUpdate(arg0 *jni.Object, arg1 int32, arg2 int32, arg3 int32) error
- func (m *GattCallback) OnReadRemoteRssi(arg0 *jni.Object, arg1 int32, arg2 int32) error
- func (m *GattCallback) OnReliableWriteCompleted(arg0 *jni.Object, arg1 int32) error
- func (m *GattCallback) OnServiceChanged(arg0 *jni.Object) error
- func (m *GattCallback) OnServicesDiscovered(arg0 *jni.Object, arg1 int32) error
- type GattCharacteristic
- func (m *GattCharacteristic) AddDescriptor(arg0 *jni.Object) (bool, error)
- func (m *GattCharacteristic) DescribeContents() (int32, error)
- func (m *GattCharacteristic) GetDescriptor(arg0 *jni.Object) (*jni.Object, error)
- func (m *GattCharacteristic) GetFloatValue(arg0 int32, arg1 int32) (*jni.Object, error)
- func (m *GattCharacteristic) GetInstanceId() (int32, error)
- func (m *GattCharacteristic) GetIntValue(arg0 int32, arg1 int32) (*jni.Object, error)
- func (m *GattCharacteristic) GetPermissions() (int32, error)
- func (m *GattCharacteristic) GetProperties() (int32, error)
- func (m *GattCharacteristic) GetService() (*jni.Object, error)
- func (m *GattCharacteristic) GetStringValue(arg0 int32) (string, error)
- func (m *GattCharacteristic) GetUuid() (*jni.Object, error)
- func (m *GattCharacteristic) GetValue() (*jni.Object, error)
- func (m *GattCharacteristic) GetWriteType() (int32, error)
- func (m *GattCharacteristic) SetValue1(arg0 *jni.Object) (bool, error)
- func (m *GattCharacteristic) SetValue1_3(arg0 string) (bool, error)
- func (m *GattCharacteristic) SetValue3_1(arg0 int32, arg1 int32, arg2 int32) (bool, error)
- func (m *GattCharacteristic) SetValue4_2(arg0 int32, arg1 int32, arg2 int32, arg3 int32) (bool, error)
- func (m *GattCharacteristic) SetWriteType(arg0 int32) error
- func (m *GattCharacteristic) WriteToParcel(arg0 *jni.Object, arg1 int32) error
- type GattDescriptor
- func (m *GattDescriptor) DescribeContents() (int32, error)
- func (m *GattDescriptor) GetCharacteristic() (*jni.Object, error)
- func (m *GattDescriptor) GetPermissions() (int32, error)
- func (m *GattDescriptor) GetUuid() (*jni.Object, error)
- func (m *GattDescriptor) GetValue() (*jni.Object, error)
- func (m *GattDescriptor) SetValue(arg0 *jni.Object) (bool, error)
- func (m *GattDescriptor) WriteToParcel(arg0 *jni.Object, arg1 int32) error
- type GattServer
- func (m *GattServer) AddService(arg0 *jni.Object) (bool, error)
- func (m *GattServer) CancelConnection(arg0 *jni.Object) error
- func (m *GattServer) ClearServices() error
- func (m *GattServer) Close() error
- func (m *GattServer) Connect(arg0 *jni.Object, arg1 bool) (bool, error)
- func (m *GattServer) GetConnectionState(arg0 *jni.Object) (int32, error)
- func (m *GattServer) GetService(arg0 *jni.Object) (*jni.Object, error)
- func (m *GattServer) NotifyCharacteristicChanged3(arg0 *jni.Object, arg1 *jni.Object, arg2 bool) (bool, error)
- func (m *GattServer) NotifyCharacteristicChanged4_1(arg0 *jni.Object, arg1 *jni.Object, arg2 bool, arg3 *jni.Object) (int32, error)
- func (m *GattServer) ReadPhy(arg0 *jni.Object) error
- func (m *GattServer) RemoveService(arg0 *jni.Object) (bool, error)
- func (m *GattServer) SendResponse(arg0 *jni.Object, arg1 int32, arg2 int32, arg3 int32, arg4 *jni.Object) (bool, error)
- func (m *GattServer) SetPreferredPhy(arg0 *jni.Object, arg1 int32, arg2 int32, arg3 int32) error
- type GattServerCallback
- func (m *GattServerCallback) OnCharacteristicReadRequest(arg0 *jni.Object, arg1 int32, arg2 int32, arg3 *jni.Object) error
- func (m *GattServerCallback) OnCharacteristicWriteRequest(arg0 *jni.Object, arg1 int32, arg2 *jni.Object, arg3 bool, arg4 bool, ...) error
- func (m *GattServerCallback) OnConnectionStateChange(arg0 *jni.Object, arg1 int32, arg2 int32) error
- func (m *GattServerCallback) OnDescriptorReadRequest(arg0 *jni.Object, arg1 int32, arg2 int32, arg3 *jni.Object) error
- func (m *GattServerCallback) OnDescriptorWriteRequest(arg0 *jni.Object, arg1 int32, arg2 *jni.Object, arg3 bool, arg4 bool, ...) error
- func (m *GattServerCallback) OnExecuteWrite(arg0 *jni.Object, arg1 int32, arg2 bool) error
- func (m *GattServerCallback) OnMtuChanged(arg0 *jni.Object, arg1 int32) error
- func (m *GattServerCallback) OnNotificationSent(arg0 *jni.Object, arg1 int32) error
- func (m *GattServerCallback) OnPhyRead(arg0 *jni.Object, arg1 int32, arg2 int32, arg3 int32) error
- func (m *GattServerCallback) OnPhyUpdate(arg0 *jni.Object, arg1 int32, arg2 int32, arg3 int32) error
- func (m *GattServerCallback) OnServiceAdded(arg0 int32, arg1 *jni.Object) error
- type GattService
- func (m *GattService) AddCharacteristic(arg0 *jni.Object) (bool, error)
- func (m *GattService) AddService(arg0 *jni.Object) (bool, error)
- func (m *GattService) DescribeContents() (int32, error)
- func (m *GattService) GetCharacteristic(arg0 *jni.Object) (*jni.Object, error)
- func (m *GattService) GetInstanceId() (int32, error)
- func (m *GattService) GetType() (int32, error)
- func (m *GattService) GetUuid() (*jni.Object, error)
- func (m *GattService) WriteToParcel(arg0 *jni.Object, arg1 int32) error
- type Headset
- func (m *Headset) GetConnectionState(arg0 *jni.Object) (int32, error)
- func (m *Headset) IsAudioConnected(arg0 *jni.Object) (bool, error)
- func (m *Headset) IsNoiseReductionSupported(arg0 *jni.Object) (bool, error)
- func (m *Headset) IsVoiceRecognitionSupported(arg0 *jni.Object) (bool, error)
- func (m *Headset) SendVendorSpecificResultCode(arg0 *jni.Object, arg1 string, arg2 string) (bool, error)
- func (m *Headset) StartVoiceRecognition(arg0 *jni.Object) (bool, error)
- func (m *Headset) StopVoiceRecognition(arg0 *jni.Object) (bool, error)
- type Health
- func (m *Health) ConnectChannelToSource(arg0 *jni.Object, arg1 *jni.Object) (bool, error)
- func (m *Health) DisconnectChannel(arg0 *jni.Object, arg1 *jni.Object, arg2 int32) (bool, error)
- func (m *Health) GetConnectionState(arg0 *jni.Object) (int32, error)
- func (m *Health) GetMainChannelFd(arg0 *jni.Object, arg1 *jni.Object) (*jni.Object, error)
- func (m *Health) RegisterSinkAppConfiguration(arg0 string, arg1 int32, arg2 *jni.Object) (bool, error)
- func (m *Health) UnregisterAppConfiguration(arg0 *jni.Object) (bool, error)
- type HealthAppConfiguration
- func (m *HealthAppConfiguration) DescribeContents() (int32, error)
- func (m *HealthAppConfiguration) GetDataType() (int32, error)
- func (m *HealthAppConfiguration) GetName() (string, error)
- func (m *HealthAppConfiguration) GetRole() (int32, error)
- func (m *HealthAppConfiguration) WriteToParcel(arg0 *jni.Object, arg1 int32) error
- type HealthCallback
- type HearingAid
- type HidDevice
- func (m *HidDevice) Connect(arg0 *jni.Object) (bool, error)
- func (m *HidDevice) Disconnect(arg0 *jni.Object) (bool, error)
- func (m *HidDevice) GetConnectionState(arg0 *jni.Object) (int32, error)
- func (m *HidDevice) RegisterApp(arg0 *jni.Object, arg1 *jni.Object, arg2 *jni.Object, arg3 *jni.Object, ...) (bool, error)
- func (m *HidDevice) ReplyReport(arg0 *jni.Object, arg1 int8, arg2 int8, arg3 *jni.Object) (bool, error)
- func (m *HidDevice) ReportError(arg0 *jni.Object, arg1 int8) (bool, error)
- func (m *HidDevice) SendReport(arg0 *jni.Object, arg1 int32, arg2 *jni.Object) (bool, error)
- func (m *HidDevice) UnregisterApp() (bool, error)
- type HidDeviceAppQosSettings
- func (m *HidDeviceAppQosSettings) DescribeContents() (int32, error)
- func (m *HidDeviceAppQosSettings) GetDelayVariation() (int32, error)
- func (m *HidDeviceAppQosSettings) GetLatency() (int32, error)
- func (m *HidDeviceAppQosSettings) GetPeakBandwidth() (int32, error)
- func (m *HidDeviceAppQosSettings) GetServiceType() (int32, error)
- func (m *HidDeviceAppQosSettings) GetTokenBucketSize() (int32, error)
- func (m *HidDeviceAppQosSettings) GetTokenRate() (int32, error)
- func (m *HidDeviceAppQosSettings) WriteToParcel(arg0 *jni.Object, arg1 int32) error
- type HidDeviceAppSdpSettings
- func (m *HidDeviceAppSdpSettings) DescribeContents() (int32, error)
- func (m *HidDeviceAppSdpSettings) GetDescription() (string, error)
- func (m *HidDeviceAppSdpSettings) GetDescriptors() (*jni.Object, error)
- func (m *HidDeviceAppSdpSettings) GetName() (string, error)
- func (m *HidDeviceAppSdpSettings) GetProvider() (string, error)
- func (m *HidDeviceAppSdpSettings) GetSubclass() (int8, error)
- func (m *HidDeviceAppSdpSettings) WriteToParcel(arg0 *jni.Object, arg1 int32) error
- type HidDeviceCallback
- func (m *HidDeviceCallback) OnAppStatusChanged(arg0 *jni.Object, arg1 bool) error
- func (m *HidDeviceCallback) OnConnectionStateChanged(arg0 *jni.Object, arg1 int32) error
- func (m *HidDeviceCallback) OnGetReport(arg0 *jni.Object, arg1 int8, arg2 int8, arg3 int32) error
- func (m *HidDeviceCallback) OnInterruptData(arg0 *jni.Object, arg1 int8, arg2 *jni.Object) error
- func (m *HidDeviceCallback) OnSetProtocol(arg0 *jni.Object, arg1 int8) error
- func (m *HidDeviceCallback) OnSetReport(arg0 *jni.Object, arg1 int8, arg2 int8, arg3 *jni.Object) error
- func (m *HidDeviceCallback) OnVirtualCableUnplug(arg0 *jni.Object) error
- type LeAudio
- type LeAudioCodecConfig
- func (m *LeAudioCodecConfig) DescribeContents() (int32, error)
- func (m *LeAudioCodecConfig) Equals(arg0 *jni.Object) (bool, error)
- func (m *LeAudioCodecConfig) GetBitsPerSample() (int32, error)
- func (m *LeAudioCodecConfig) GetChannelCount() (int32, error)
- func (m *LeAudioCodecConfig) GetCodecName() (string, error)
- func (m *LeAudioCodecConfig) GetCodecPriority() (int32, error)
- func (m *LeAudioCodecConfig) GetCodecType() (int32, error)
- func (m *LeAudioCodecConfig) GetFrameDuration() (int32, error)
- func (m *LeAudioCodecConfig) GetMaxOctetsPerFrame() (int32, error)
- func (m *LeAudioCodecConfig) GetMinOctetsPerFrame() (int32, error)
- func (m *LeAudioCodecConfig) GetOctetsPerFrame() (int32, error)
- func (m *LeAudioCodecConfig) GetSampleRate() (int32, error)
- func (m *LeAudioCodecConfig) HashCode() (int32, error)
- func (m *LeAudioCodecConfig) ToString() (string, error)
- func (m *LeAudioCodecConfig) WriteToParcel(arg0 *jni.Object, arg1 int32) error
- type LeAudioCodecConfigBuilder
- func (m *LeAudioCodecConfigBuilder) Build() (*jni.Object, error)
- func (m *LeAudioCodecConfigBuilder) SetBitsPerSample(arg0 int32) (*jni.Object, error)
- func (m *LeAudioCodecConfigBuilder) SetChannelCount(arg0 int32) (*jni.Object, error)
- func (m *LeAudioCodecConfigBuilder) SetCodecPriority(arg0 int32) (*jni.Object, error)
- func (m *LeAudioCodecConfigBuilder) SetCodecType(arg0 int32) (*jni.Object, error)
- func (m *LeAudioCodecConfigBuilder) SetFrameDuration(arg0 int32) (*jni.Object, error)
- func (m *LeAudioCodecConfigBuilder) SetMaxOctetsPerFrame(arg0 int32) (*jni.Object, error)
- func (m *LeAudioCodecConfigBuilder) SetMinOctetsPerFrame(arg0 int32) (*jni.Object, error)
- func (m *LeAudioCodecConfigBuilder) SetOctetsPerFrame(arg0 int32) (*jni.Object, error)
- func (m *LeAudioCodecConfigBuilder) SetSampleRate(arg0 int32) (*jni.Object, error)
- type LeAudioCodecStatus
- func (m *LeAudioCodecStatus) DescribeContents() (int32, error)
- func (m *LeAudioCodecStatus) Equals(arg0 *jni.Object) (bool, error)
- func (m *LeAudioCodecStatus) GetInputCodecConfig() (*jni.Object, error)
- func (m *LeAudioCodecStatus) GetOutputCodecConfig() (*jni.Object, error)
- func (m *LeAudioCodecStatus) HashCode() (int32, error)
- func (m *LeAudioCodecStatus) IsInputCodecConfigSelectable(arg0 *jni.Object) (bool, error)
- func (m *LeAudioCodecStatus) IsOutputCodecConfigSelectable(arg0 *jni.Object) (bool, error)
- func (m *LeAudioCodecStatus) ToString() (string, error)
- func (m *LeAudioCodecStatus) WriteToParcel(arg0 *jni.Object, arg1 int32) error
- type Manager
- type Profile
- type ProfileServiceListener
- type ServerSocket
- type Socket
- func (m *Socket) Close() error
- func (m *Socket) Connect() error
- func (m *Socket) GetConnectionType() (int32, error)
- func (m *Socket) GetInputStream() (*jni.Object, error)
- func (m *Socket) GetMaxReceivePacketSize() (int32, error)
- func (m *Socket) GetMaxTransmitPacketSize() (int32, error)
- func (m *Socket) GetOutputStream() (*jni.Object, error)
- func (m *Socket) GetRemoteDevice() (*jni.Object, error)
- func (m *Socket) IsConnected() (bool, error)
- func (m *Socket) ToString() (string, error)
- type SocketException
- type SocketSettings
- func (m *SocketSettings) GetL2capPsm() (int32, error)
- func (m *SocketSettings) GetRfcommServiceName() (string, error)
- func (m *SocketSettings) GetRfcommUuid() (*jni.Object, error)
- func (m *SocketSettings) GetSocketType() (int32, error)
- func (m *SocketSettings) IsAuthenticationRequired() (bool, error)
- func (m *SocketSettings) IsEncryptionRequired() (bool, error)
- func (m *SocketSettings) ToString() (string, error)
- type SocketSettingsBuilder
- func (m *SocketSettingsBuilder) Build() (*jni.Object, error)
- func (m *SocketSettingsBuilder) SetAuthenticationRequired(arg0 bool) (*jni.Object, error)
- func (m *SocketSettingsBuilder) SetEncryptionRequired(arg0 bool) (*jni.Object, error)
- func (m *SocketSettingsBuilder) SetL2capPsm(arg0 int32) (*jni.Object, error)
- func (m *SocketSettingsBuilder) SetRfcommServiceName(arg0 string) (*jni.Object, error)
- func (m *SocketSettingsBuilder) SetRfcommUuid(arg0 *jni.Object) (*jni.Object, error)
- func (m *SocketSettingsBuilder) SetSocketType(arg0 int32) (*jni.Object, error)
Constants ¶
const ( ErrorBluetoothNotAllowed = consts.ErrorBluetoothNotAllowed ErrorBluetoothNotEnabled = consts.ErrorBluetoothNotEnabled ErrorDeviceNotBonded = consts.ErrorDeviceNotBonded ErrorGattWriteNotAllowed = consts.ErrorGattWriteNotAllowed ErrorGattWriteRequestBusy = consts.ErrorGattWriteRequestBusy ErrorMissingBluetoothConnectPermission = consts.ErrorMissingBluetoothConnectPermission ErrorProfileServiceNotBound = consts.ErrorProfileServiceNotBound ErrorUnknown = consts.ErrorUnknown FeatureNotConfigured = consts.FeatureNotConfigured FeatureNotSupported = consts.FeatureNotSupported FeatureSupported = consts.FeatureSupported Success = consts.Success AppConfigRegistrationFailure = consts.AppConfigRegistrationFailure AppConfigRegistrationSuccess = consts.AppConfigRegistrationSuccess AppConfigUnregistrationFailure = consts.AppConfigUnregistrationFailure AppConfigUnregistrationSuccess = consts.AppConfigUnregistrationSuccess ChannelTypeReliable = consts.ChannelTypeReliable ChannelTypeStreaming = consts.ChannelTypeStreaming SinkRole = consts.SinkRole SourceRole = consts.SourceRole StateChannelConnected = consts.StateChannelConnected StateChannelConnecting = consts.StateChannelConnecting StateChannelDisconnected = consts.StateChannelDisconnected StateChannelDisconnecting = consts.StateChannelDisconnecting Creator = consts.Creator Max = consts.Max ServiceBestEffort = consts.ServiceBestEffort ServiceGuaranteed = consts.ServiceGuaranteed ServiceNoTraffic = consts.ServiceNoTraffic StateNotPlaying = consts.StateNotPlaying StatePlaying = consts.StatePlaying AddressTypeAnonymous = consts.AddressTypeAnonymous AddressTypePublic = consts.AddressTypePublic AddressTypeRandom = consts.AddressTypeRandom AddressTypeUnknown = consts.AddressTypeUnknown BondBonded = consts.BondBonded BondBonding = consts.BondBonding BondNone = consts.BondNone DeviceTypeClassic = consts.DeviceTypeClassic DeviceTypeDual = consts.DeviceTypeDual DeviceTypeLe = consts.DeviceTypeLe DeviceTypeUnknown = consts.DeviceTypeUnknown EncryptionAlgorithmAes = consts.EncryptionAlgorithmAes EncryptionAlgorithmE0 = consts.EncryptionAlgorithmE0 EncryptionAlgorithmNone = consts.EncryptionAlgorithmNone Error = consts.Error PairingVariantPasskeyConfirmation = consts.PairingVariantPasskeyConfirmation PairingVariantPin = consts.PairingVariantPin PhyLe1m = consts.PhyLe1m PhyLe1mMask = consts.PhyLe1mMask PhyLe2m = consts.PhyLe2m PhyLe2mMask = consts.PhyLe2mMask PhyLeCoded = consts.PhyLeCoded PhyLeCodedMask = consts.PhyLeCodedMask PhyOptionNoPreferred = consts.PhyOptionNoPreferred PhyOptionS2 = consts.PhyOptionS2 PhyOptionS8 = consts.PhyOptionS8 TransportAuto = consts.TransportAuto TransportBredr = consts.TransportBredr TransportLe = consts.TransportLe FormatFloat = consts.FormatFloat FormatSfloat = consts.FormatSfloat FormatSint16 = consts.FormatSint16 FormatSint32 = consts.FormatSint32 FormatSint8 = consts.FormatSint8 FormatUint16 = consts.FormatUint16 FormatUint32 = consts.FormatUint32 FormatUint8 = consts.FormatUint8 PermissionRead = consts.PermissionRead PermissionReadEncrypted = consts.PermissionReadEncrypted PermissionReadEncryptedMitm = consts.PermissionReadEncryptedMitm PermissionWrite = consts.PermissionWrite PermissionWriteEncrypted = consts.PermissionWriteEncrypted PermissionWriteEncryptedMitm = consts.PermissionWriteEncryptedMitm PermissionWriteSigned = consts.PermissionWriteSigned PermissionWriteSignedMitm = consts.PermissionWriteSignedMitm PropertyBroadcast = consts.PropertyBroadcast PropertyExtendedProps = consts.PropertyExtendedProps PropertyIndicate = consts.PropertyIndicate PropertyNotify = consts.PropertyNotify PropertyRead = consts.PropertyRead PropertySignedWrite = consts.PropertySignedWrite PropertyWrite = consts.PropertyWrite PropertyWriteNoResponse = consts.PropertyWriteNoResponse WriteTypeDefault = consts.WriteTypeDefault WriteTypeNoResponse = consts.WriteTypeNoResponse WriteTypeSigned = consts.WriteTypeSigned ScanModeConnectable = consts.ScanModeConnectable ScanModeConnectableDiscoverable = consts.ScanModeConnectableDiscoverable ScanModeNone = consts.ScanModeNone StateConnected = consts.StateConnected StateConnecting = consts.StateConnecting StateDisconnected = consts.StateDisconnected StateDisconnecting = consts.StateDisconnecting StateOff = consts.StateOff StateOn = consts.StateOn StateTurningOff = consts.StateTurningOff StateTurningOn = consts.StateTurningOn ProfileA2dp = consts.ProfileA2dp ProfileHeadset = consts.ProfileHeadset ProfileHid = consts.ProfileHid AudioVideoCamcorder = consts.AudioVideoCamcorder AudioVideoCarAudio = consts.AudioVideoCarAudio AudioVideoHandsfree = consts.AudioVideoHandsfree AudioVideoHeadphones = consts.AudioVideoHeadphones AudioVideoHifiAudio = consts.AudioVideoHifiAudio AudioVideoLoudspeaker = consts.AudioVideoLoudspeaker AudioVideoMicrophone = consts.AudioVideoMicrophone AudioVideoPortableAudio = consts.AudioVideoPortableAudio AudioVideoSetTopBox = consts.AudioVideoSetTopBox AudioVideoUncategorized = consts.AudioVideoUncategorized AudioVideoVcr = consts.AudioVideoVcr AudioVideoVideoCamera = consts.AudioVideoVideoCamera AudioVideoVideoConferencing = consts.AudioVideoVideoConferencing AudioVideoVideoDisplayAndLoudspeaker = consts.AudioVideoVideoDisplayAndLoudspeaker AudioVideoVideoGamingToy = consts.AudioVideoVideoGamingToy AudioVideoVideoMonitor = consts.AudioVideoVideoMonitor AudioVideoWearableHeadset = consts.AudioVideoWearableHeadset ComputerDesktop = consts.ComputerDesktop ComputerHandheldPcPda = consts.ComputerHandheldPcPda ComputerLaptop = consts.ComputerLaptop ComputerPalmSizePcPda = consts.ComputerPalmSizePcPda ComputerServer = consts.ComputerServer ComputerUncategorized = consts.ComputerUncategorized ComputerWearable = consts.ComputerWearable HealthBloodPressure = consts.HealthBloodPressure HealthDataDisplay = consts.HealthDataDisplay HealthGlucose = consts.HealthGlucose HealthPulseOximeter = consts.HealthPulseOximeter HealthPulseRate = consts.HealthPulseRate HealthThermometer = consts.HealthThermometer HealthUncategorized = consts.HealthUncategorized HealthWeighing = consts.HealthWeighing PeripheralKeyboard = consts.PeripheralKeyboard PeripheralKeyboardPointing = consts.PeripheralKeyboardPointing PeripheralNonKeyboardNonPointing = consts.PeripheralNonKeyboardNonPointing PeripheralPointing = consts.PeripheralPointing PhoneCellular = consts.PhoneCellular PhoneCordless = consts.PhoneCordless PhoneIsdn = consts.PhoneIsdn PhoneModemOrGateway = consts.PhoneModemOrGateway PhoneSmart = consts.PhoneSmart PhoneUncategorized = consts.PhoneUncategorized ToyController = consts.ToyController ToyDollActionFigure = consts.ToyDollActionFigure ToyGame = consts.ToyGame ToyRobot = consts.ToyRobot ToyUncategorized = consts.ToyUncategorized ToyVehicle = consts.ToyVehicle WearableGlasses = consts.WearableGlasses WearableHelmet = consts.WearableHelmet WearableJacket = consts.WearableJacket WearablePager = consts.WearablePager WearableUncategorized = consts.WearableUncategorized WearableWristWatch = consts.WearableWristWatch Audio = consts.Audio Capture = consts.Capture Information = consts.Information LeAudioConst = consts.LeAudioConst LimitedDiscoverability = consts.LimitedDiscoverability Networking = consts.Networking ObjectTransfer = consts.ObjectTransfer Positioning = consts.Positioning Render = consts.Render Telephony = consts.Telephony BitsPerSample16 = consts.BitsPerSample16 BitsPerSample24 = consts.BitsPerSample24 BitsPerSample32 = consts.BitsPerSample32 BitsPerSampleNone = consts.BitsPerSampleNone ChannelModeMono = consts.ChannelModeMono ChannelModeNone = consts.ChannelModeNone ChannelModeStereo = consts.ChannelModeStereo CodecPriorityDefault = consts.CodecPriorityDefault CodecPriorityDisabled = consts.CodecPriorityDisabled CodecPriorityHighest = consts.CodecPriorityHighest SampleRate176400 = consts.SampleRate176400 SampleRate192000 = consts.SampleRate192000 SampleRate44100 = consts.SampleRate44100 SampleRate48000 = consts.SampleRate48000 SampleRate88200 = consts.SampleRate88200 SampleRate96000 = consts.SampleRate96000 SampleRateNone = consts.SampleRateNone SourceCodecTypeAac = consts.SourceCodecTypeAac SourceCodecTypeAptx = consts.SourceCodecTypeAptx SourceCodecTypeAptxHd = consts.SourceCodecTypeAptxHd SourceCodecTypeInvalid = consts.SourceCodecTypeInvalid SourceCodecTypeLc3 = consts.SourceCodecTypeLc3 SourceCodecTypeLdac = consts.SourceCodecTypeLdac SourceCodecTypeOpus = consts.SourceCodecTypeOpus SourceCodecTypeSbc = consts.SourceCodecTypeSbc BluetoothOffFailure = consts.BluetoothOffFailure L2capAclFailure = consts.L2capAclFailure L2capClientSecurityFailure = consts.L2capClientSecurityFailure L2capInsufficientAuthentication = consts.L2capInsufficientAuthentication L2capInsufficientAuthorization = consts.L2capInsufficientAuthorization L2capInsufficientEncryption = consts.L2capInsufficientEncryption L2capInsufficientEncryptKeySize = consts.L2capInsufficientEncryptKeySize L2capInvalidParameters = consts.L2capInvalidParameters L2capInvalidSourceCid = consts.L2capInvalidSourceCid L2capNoPsmAvailable = consts.L2capNoPsmAvailable L2capNoResources = consts.L2capNoResources L2capSourceCidAlreadyAllocated = consts.L2capSourceCidAlreadyAllocated L2capTimeout = consts.L2capTimeout L2capUnacceptableParameters = consts.L2capUnacceptableParameters L2capUnknown = consts.L2capUnknown NullDevice = consts.NullDevice RpcFailure = consts.RpcFailure SocketClosed = consts.SocketClosed SocketConnectionFailure = consts.SocketConnectionFailure SocketManagerFailure = consts.SocketManagerFailure UnixFileSocketCreationFailure = consts.UnixFileSocketCreationFailure Unspecified = consts.Unspecified ChannelCount1 = consts.ChannelCount1 ChannelCount2 = consts.ChannelCount2 ChannelCountNone = consts.ChannelCountNone FrameDuration10000 = consts.FrameDuration10000 FrameDuration7500 = consts.FrameDuration7500 FrameDurationNone = consts.FrameDurationNone SampleRate11025 = consts.SampleRate11025 SampleRate16000 = consts.SampleRate16000 SampleRate22050 = consts.SampleRate22050 SampleRate24000 = consts.SampleRate24000 SampleRate32000 = consts.SampleRate32000 SampleRate384000 = consts.SampleRate384000 SampleRate8000 = consts.SampleRate8000 DisableNotificationValue = consts.DisableNotificationValue EnableIndicationValue = consts.EnableIndicationValue EnableNotificationValue = consts.EnableNotificationValue ServiceTypePrimary = consts.ServiceTypePrimary ServiceTypeSecondary = consts.ServiceTypeSecondary GroupIdInvalid = consts.GroupIdInvalid A2dpConst = consts.A2dpConst CsipSetCoordinatorConst = consts.CsipSetCoordinatorConst GattConst = consts.GattConst GattServerConst = consts.GattServerConst HapClient = consts.HapClient HeadsetConst = consts.HeadsetConst HealthConst = consts.HealthConst HearingAidConst = consts.HearingAidConst HidDeviceConst = consts.HidDeviceConst Sap = consts.Sap ErrorRspInvalidParam = consts.ErrorRspInvalidParam ErrorRspInvalidRptId = consts.ErrorRspInvalidRptId ErrorRspNotReady = consts.ErrorRspNotReady ErrorRspSuccess = consts.ErrorRspSuccess ErrorRspUnknown = consts.ErrorRspUnknown ErrorRspUnsupportedReq = consts.ErrorRspUnsupportedReq ProtocolBootMode = consts.ProtocolBootMode ProtocolReportMode = consts.ProtocolReportMode ReportTypeFeature = consts.ReportTypeFeature ReportTypeInput = consts.ReportTypeInput ReportTypeOutput = consts.ReportTypeOutput Subclass1Combo = consts.Subclass1Combo Subclass1Keyboard = consts.Subclass1Keyboard Subclass1Mouse = consts.Subclass1Mouse Subclass1None = consts.Subclass1None Subclass2CardReader = consts.Subclass2CardReader Subclass2DigitizerTablet = consts.Subclass2DigitizerTablet Subclass2Gamepad = consts.Subclass2Gamepad Subclass2Joystick = consts.Subclass2Joystick Subclass2RemoteControl = consts.Subclass2RemoteControl Subclass2SensingDevice = consts.Subclass2SensingDevice Subclass2Uncategorized = consts.Subclass2Uncategorized AampOfAmerica = consts.AampOfAmerica AccelSemiconductor = consts.AccelSemiconductor AceSensor = consts.AceSensor Adidas = consts.Adidas AdvancedPanmobilSystems = consts.AdvancedPanmobilSystems AirohaTechnology = consts.AirohaTechnology Alcatel = consts.Alcatel Alpwise = consts.Alpwise AmiccomElectronics = consts.AmiccomElectronics Aplix = consts.Aplix Apple = consts.Apple AptLicensing = consts.AptLicensing Archos = consts.Archos ArpDevices = consts.ArpDevices AtherosCommunications = consts.AtherosCommunications Atmel = consts.Atmel AustcoCommunicationSystems = consts.AustcoCommunicationSystems AutonetMobile = consts.AutonetMobile Avago = consts.Avago AvmBerlin = consts.AvmBerlin AAndDEngineering = consts.AAndDEngineering AAndRCambridge = consts.AAndRCambridge Bandspeed = consts.Bandspeed BandXiInternational = consts.BandXiInternational BdeTechnology = consts.BdeTechnology BeatsElectronics = consts.BeatsElectronics BeautifulEnterprise = consts.BeautifulEnterprise Bekey = consts.Bekey BelkinInternational = consts.BelkinInternational Binauric = consts.Binauric Biosentronics = consts.Biosentronics Bluegiga = consts.Bluegiga Blueradios = consts.Blueradios BluetoothSig = consts.BluetoothSig BluetrekTechnologies = consts.BluetrekTechnologies Bose = consts.Bose Briartek = consts.Briartek Broadcom = consts.Broadcom CaenRfid = consts.CaenRfid CambridgeSiliconRadio = consts.CambridgeSiliconRadio Catc = consts.Catc Cinetix = consts.Cinetix ClarinoxTechnologies = consts.ClarinoxTechnologies Colorfy = consts.Colorfy Commil = consts.Commil ConexantSystems = consts.ConexantSystems Connectblue = consts.Connectblue ContinentalAutomotive = consts.ContinentalAutomotive ConwiseTechnology = consts.ConwiseTechnology CreativeTechnology = consts.CreativeTechnology CTechnologies = consts.CTechnologies Danlers = consts.Danlers DelormePublishingCompany = consts.DelormePublishingCompany Dexcom = consts.Dexcom DialogSemiconductor = consts.DialogSemiconductor Digianswer = consts.Digianswer Eclipse = consts.Eclipse Ecotest = consts.Ecotest ElgatoSystems = consts.ElgatoSystems EmMicroelectronicMarin = consts.EmMicroelectronicMarin EquinoxAg = consts.EquinoxAg EricssonTechnology = consts.EricssonTechnology Evluma = consts.Evluma Free2move = consts.Free2move FunaiElectric = consts.FunaiElectric GarminInternational = consts.GarminInternational GctSemiconductor = consts.GctSemiconductor Gelo = consts.Gelo Geneq = consts.Geneq GeneralMotors = consts.GeneralMotors Gennum = consts.Gennum Geoforce = consts.Geoforce GibsonGuitars = consts.GibsonGuitars GnNetcom = consts.GnNetcom GnResound = consts.GnResound Google = consts.Google GreenThrottleGames = consts.GreenThrottleGames GroupSense = consts.GroupSense HanlynnTechnologies = consts.HanlynnTechnologies HarmanInternational = consts.HarmanInternational HewlettPackard = consts.HewlettPackard Hitachi = consts.Hitachi Hosiden = consts.Hosiden Ibm = consts.Ibm InfineonTechnologies = consts.InfineonTechnologies IngenieurSystemgruppeZahn = consts.IngenieurSystemgruppeZahn IntegratedSiliconSolution = consts.IntegratedSiliconSolution IntegratedSystemSolution = consts.IntegratedSystemSolution Intel = consts.Intel Inventel = consts.Inventel Ipextreme = consts.Ipextreme ITechDynamicGlobalDistribution = consts.ITechDynamicGlobalDistribution Jawbone = consts.Jawbone JiangsuToppowerAutomotiveElectronics = consts.JiangsuToppowerAutomotiveElectronics JohnsonControls = consts.JohnsonControls JAndM = consts.JAndM Kawantech = consts.Kawantech KcTechnology = consts.KcTechnology KensingtonComputerProductsGroup = consts.KensingtonComputerProductsGroup LairdTechnologies = consts.LairdTechnologies Lesswire = consts.Lesswire LgElectronics = consts.LgElectronics Linak = consts.Linak Lucent = consts.Lucent LudusHelsinki = consts.LudusHelsinki Macronix = consts.Macronix MagnetiMarelli = consts.MagnetiMarelli Mansella = consts.Mansella Marvell = consts.Marvell MatsushitaElectric = consts.MatsushitaElectric Mc10 = consts.Mc10 Mediatek = consts.Mediatek MesoInternational = consts.MesoInternational MetaWatch = consts.MetaWatch MewtelTechnology = consts.MewtelTechnology Micommand = consts.Micommand MicrochipTechnology = consts.MicrochipTechnology Microsoft = consts.Microsoft Mindtree = consts.Mindtree MisfitWearables = consts.MisfitWearables MitelSemiconductor = consts.MitelSemiconductor MitsubishiElectric = consts.MitsubishiElectric MobilianCorporation = consts.MobilianCorporation Monster = consts.Monster Motorola = consts.Motorola MstarSemiconductor = consts.MstarSemiconductor Muzik = consts.Muzik Nec = consts.Nec NecLighting = consts.NecLighting Newlogic = consts.Newlogic Nike = consts.Nike NineSolutions = consts.NineSolutions NokiaMobilePhones = consts.NokiaMobilePhones NordicSemiconductor = consts.NordicSemiconductor NorwoodSystems = consts.NorwoodSystems OdmTechnology = consts.OdmTechnology Omegawave = consts.Omegawave OnsetComputer = consts.OnsetComputer OpenInterface = consts.OpenInterface OtlDynamics = consts.OtlDynamics PandaOcean = consts.PandaOcean Parrot = consts.Parrot ParthusTechnologies = consts.ParthusTechnologies PassifSemiconductor = consts.PassifSemiconductor PeterSystemtechnik = consts.PeterSystemtechnik PhilipsSemiconductors = consts.PhilipsSemiconductors Plantronics = consts.Plantronics PolarElectro = consts.PolarElectro PolarElectroEurope = consts.PolarElectroEurope ProcterAndGamble = consts.ProcterAndGamble Qualcomm = consts.Qualcomm QualcommConnectedExperiences = consts.QualcommConnectedExperiences QualcommInnovationCenter = consts.QualcommInnovationCenter QualcommLabs = consts.QualcommLabs QualcommTechnologies = consts.QualcommTechnologies Quintic = consts.Quintic Quuppa = consts.Quuppa RalinkTechnology = consts.RalinkTechnology RdaMicroelectronics = consts.RdaMicroelectronics RealtekSemiconductor = consts.RealtekSemiconductor RedM = consts.RedM RenesasTechnology = consts.RenesasTechnology ResearchInMotion = consts.ResearchInMotion RfMicroDevices = consts.RfMicroDevices Rivierawaves = consts.Rivierawaves RohdeAndSchwarz = consts.RohdeAndSchwarz RtxTelecom = consts.RtxTelecom SamsungElectronics = consts.SamsungElectronics SarisCyclingGroup = consts.SarisCyclingGroup SeersTechnology = consts.SeersTechnology SeikoEpson = consts.SeikoEpson Selfly = consts.Selfly Semilink = consts.Semilink SennheiserCommunications = consts.SennheiserCommunications ShanghaiSuperSmartElectronics = consts.ShanghaiSuperSmartElectronics ShenzhenExcelsecuDataTechnology = consts.ShenzhenExcelsecuDataTechnology SigniaTechnologies = consts.SigniaTechnologies SiliconWave = consts.SiliconWave SirfTechnology = consts.SirfTechnology SocketMobile = consts.SocketMobile SonyEricsson = consts.SonyEricsson SoundId = consts.SoundId SportsTrackingTechnologies = consts.SportsTrackingTechnologies SrMedizinelektronik = consts.SrMedizinelektronik StaccatoCommunications = consts.StaccatoCommunications StalmartTechnology = consts.StalmartTechnology StarkeyLaboratories = consts.StarkeyLaboratories StollmanEPlusV = consts.StollmanEPlusV StonestreetOne = consts.StonestreetOne StMicroelectronics = consts.StMicroelectronics SummitDataCommunications = consts.SummitDataCommunications Suunto = consts.Suunto SwirlNetworks = consts.SwirlNetworks SymbolTechnologies = consts.SymbolTechnologies Synopsys = consts.Synopsys SystemsAndChips = consts.SystemsAndChips SPowerElectronics = consts.SPowerElectronics TaixingbangTechnology = consts.TaixingbangTechnology Tenovis = consts.Tenovis Terax = consts.Terax TexasInstruments = consts.TexasInstruments Thinkoptics = consts.Thinkoptics Threecom = consts.Threecom ThreeDijoy = consts.ThreeDijoy ThreeDsp = consts.ThreeDsp TimekeepingSystems = consts.TimekeepingSystems TimexGroupUsa = consts.TimexGroupUsa TopcornPositioningSystems = consts.TopcornPositioningSystems Toshiba = consts.Toshiba Transilica = consts.Transilica Trelab = consts.Trelab Ttpcom = consts.Ttpcom Txtr = consts.Txtr TzeroTechnologies = consts.TzeroTechnologies UniversalElectronics = consts.UniversalElectronics Vertu = consts.Vertu Visteon = consts.Visteon Vizio = consts.Vizio VoyetraTurtleBeach = consts.VoyetraTurtleBeach WaveplusTechnology = consts.WaveplusTechnology Wicentric = consts.Wicentric Widcomm = consts.Widcomm WuxiVimicro = consts.WuxiVimicro Zeevo = consts.Zeevo Zer01Tv = consts.Zer01Tv Zomm = consts.Zomm ZscanSoftware = consts.ZscanSoftware AtCmdTypeAction = consts.AtCmdTypeAction AtCmdTypeBasic = consts.AtCmdTypeBasic AtCmdTypeRead = consts.AtCmdTypeRead AtCmdTypeSet = consts.AtCmdTypeSet AtCmdTypeTest = consts.AtCmdTypeTest StateAudioConnected = consts.StateAudioConnected StateAudioConnecting = consts.StateAudioConnecting StateAudioDisconnected = consts.StateAudioDisconnected ConnectionPriorityBalanced = consts.ConnectionPriorityBalanced ConnectionPriorityDck = consts.ConnectionPriorityDck ConnectionPriorityHigh = consts.ConnectionPriorityHigh ConnectionPriorityLowPower = consts.ConnectionPriorityLowPower GattConnectionCongested = consts.GattConnectionCongested GattConnectionTimeout = consts.GattConnectionTimeout GattFailure = consts.GattFailure GattInsufficientAuthentication = consts.GattInsufficientAuthentication GattInsufficientAuthorization = consts.GattInsufficientAuthorization GattInsufficientEncryption = consts.GattInsufficientEncryption GattInvalidAttributeLength = consts.GattInvalidAttributeLength GattInvalidOffset = consts.GattInvalidOffset GattReadNotPermitted = consts.GattReadNotPermitted GattRequestNotSupported = consts.GattRequestNotSupported GattSuccess = consts.GattSuccess GattWriteNotPermitted = consts.GattWriteNotPermitted TypeL2cap = consts.TypeL2cap TypeLe = consts.TypeLe TypeRfcomm = consts.TypeRfcomm TypeSco = consts.TypeSco )
const ( ExtraCodecStatus = consts.ExtraCodecStatus ActionConnectionStateChanged = consts.ActionConnectionStateChanged ActionPlayingStateChanged = consts.ActionPlayingStateChanged ActionAclConnected = consts.ActionAclConnected ActionAclDisconnected = consts.ActionAclDisconnected ActionAclDisconnectRequested = consts.ActionAclDisconnectRequested ActionAliasChanged = consts.ActionAliasChanged ActionBondStateChanged = consts.ActionBondStateChanged ActionClassChanged = consts.ActionClassChanged ActionEncryptionChange = consts.ActionEncryptionChange ActionFound = consts.ActionFound ActionKeyMissing = consts.ActionKeyMissing ActionNameChanged = consts.ActionNameChanged ActionPairingRequest = consts.ActionPairingRequest ActionUuid = consts.ActionUuid ExtraBondState = consts.ExtraBondState ExtraClass = consts.ExtraClass ExtraDevice = consts.ExtraDevice ExtraEncryptionAlgorithm = consts.ExtraEncryptionAlgorithm ExtraEncryptionEnabled = consts.ExtraEncryptionEnabled ExtraEncryptionStatus = consts.ExtraEncryptionStatus ExtraIsCoordinatedSetMember = consts.ExtraIsCoordinatedSetMember ExtraKeySize = consts.ExtraKeySize ExtraName = consts.ExtraName ExtraPairingKey = consts.ExtraPairingKey ExtraPairingVariant = consts.ExtraPairingVariant ExtraPreviousBondState = consts.ExtraPreviousBondState ExtraRssi = consts.ExtraRssi ExtraTransport = consts.ExtraTransport ExtraUuid = consts.ExtraUuid ActionDiscoveryFinished = consts.ActionDiscoveryFinished ActionDiscoveryStarted = consts.ActionDiscoveryStarted ActionLocalNameChanged = consts.ActionLocalNameChanged ActionRequestDiscoverable = consts.ActionRequestDiscoverable ActionRequestEnable = consts.ActionRequestEnable ActionScanModeChanged = consts.ActionScanModeChanged ActionStateChanged = consts.ActionStateChanged ExtraConnectionState = consts.ExtraConnectionState ExtraDiscoverableDuration = consts.ExtraDiscoverableDuration ExtraLocalName = consts.ExtraLocalName ExtraPreviousConnectionState = consts.ExtraPreviousConnectionState ExtraPreviousScanMode = consts.ExtraPreviousScanMode ExtraPreviousState = consts.ExtraPreviousState ExtraScanMode = consts.ExtraScanMode ExtraState = consts.ExtraState ActionLeAudioConnectionStateChanged = consts.ActionLeAudioConnectionStateChanged ActionCsisConnectionStateChanged = consts.ActionCsisConnectionStateChanged ExtraLeAudioCodecStatus = consts.ExtraLeAudioCodecStatus ActionAudioStateChanged = consts.ActionAudioStateChanged ActionVendorSpecificHeadsetEvent = consts.ActionVendorSpecificHeadsetEvent ExtraVendorSpecificHeadsetEventArgs = consts.ExtraVendorSpecificHeadsetEventArgs ExtraVendorSpecificHeadsetEventCmd = consts.ExtraVendorSpecificHeadsetEventCmd ExtraVendorSpecificHeadsetEventCmdType = consts.ExtraVendorSpecificHeadsetEventCmdType VendorResultCodeCommandAndroid = consts.VendorResultCodeCommandAndroid VendorSpecificHeadsetEventCompanyIdCategory = consts.VendorSpecificHeadsetEventCompanyIdCategory )
const ( CodecIdAac = consts.CodecIdAac CodecIdAptx = consts.CodecIdAptx CodecIdAptxHd = consts.CodecIdAptxHd CodecIdLdac = consts.CodecIdLdac CodecIdOpus = consts.CodecIdOpus CodecIdSbc = consts.CodecIdSbc )
Variables ¶
This section is empty.
Functions ¶
Types ¶
type A2dp ¶ added in v0.0.7
A2dp wraps android.bluetooth.BluetoothA2dp.
func (*A2dp) GetConnectionState ¶ added in v0.0.7
GetConnectionState calls android.bluetooth.BluetoothA2dp.getConnectionState.
type Adapter ¶ added in v0.0.4
Adapter wraps android.bluetooth.BluetoothAdapter.
func NewAdapter ¶ added in v0.0.4
NewAdapter obtains the BluetoothAdapter via BluetoothManager system service.
func (*Adapter) CancelDiscovery ¶ added in v0.0.4
CancelDiscovery calls android.bluetooth.BluetoothAdapter.cancelDiscovery.
func (*Adapter) CheckBluetoothAddress ¶ added in v0.0.4
CheckBluetoothAddress calls android.bluetooth.BluetoothAdapter.checkBluetoothAddress.
func (*Adapter) Close ¶ added in v0.0.4
func (m *Adapter) Close()
Close releases the global reference to the underlying Java object.
func (*Adapter) CloseProfileProxy ¶ added in v0.0.4
CloseProfileProxy calls android.bluetooth.BluetoothAdapter.closeProfileProxy.
func (*Adapter) GetAddress ¶ added in v0.0.4
GetAddress calls android.bluetooth.BluetoothAdapter.getAddress.
func (*Adapter) GetBluetoothLeAdvertiser ¶ added in v0.0.4
GetBluetoothLeAdvertiser calls android.bluetooth.BluetoothAdapter.getBluetoothLeAdvertiser.
func (*Adapter) GetBluetoothLeScanner ¶ added in v0.0.4
GetBluetoothLeScanner calls android.bluetooth.BluetoothAdapter.getBluetoothLeScanner.
func (*Adapter) GetDiscoverableTimeout ¶ added in v0.0.4
GetDiscoverableTimeout calls android.bluetooth.BluetoothAdapter.getDiscoverableTimeout.
func (*Adapter) GetLeMaximumAdvertisingDataLength ¶ added in v0.0.4
GetLeMaximumAdvertisingDataLength calls android.bluetooth.BluetoothAdapter.getLeMaximumAdvertisingDataLength.
func (*Adapter) GetMaxConnectedAudioDevices ¶ added in v0.0.4
GetMaxConnectedAudioDevices calls android.bluetooth.BluetoothAdapter.getMaxConnectedAudioDevices.
func (*Adapter) GetProfileConnectionState ¶ added in v0.0.4
GetProfileConnectionState calls android.bluetooth.BluetoothAdapter.getProfileConnectionState.
func (*Adapter) GetProfileProxy ¶ added in v0.0.4
GetProfileProxy calls android.bluetooth.BluetoothAdapter.getProfileProxy.
func (*Adapter) GetRemoteDevice1 ¶ added in v0.0.4
GetRemoteDevice1 calls android.bluetooth.BluetoothAdapter.getRemoteDevice.
func (*Adapter) GetRemoteDevice1_1 ¶ added in v0.0.4
GetRemoteDevice1_1 calls android.bluetooth.BluetoothAdapter.getRemoteDevice.
func (*Adapter) GetRemoteLeDevice ¶ added in v0.0.4
GetRemoteLeDevice calls android.bluetooth.BluetoothAdapter.getRemoteLeDevice.
func (*Adapter) GetScanMode ¶ added in v0.0.4
GetScanMode calls android.bluetooth.BluetoothAdapter.getScanMode.
func (*Adapter) GetState ¶ added in v0.0.4
GetState calls android.bluetooth.BluetoothAdapter.getState.
func (*Adapter) IsDiscovering ¶ added in v0.0.4
IsDiscovering calls android.bluetooth.BluetoothAdapter.isDiscovering.
func (*Adapter) IsEnabled ¶ added in v0.0.4
IsEnabled calls android.bluetooth.BluetoothAdapter.isEnabled.
func (*Adapter) IsLe2MPhySupported ¶ added in v0.0.4
IsLe2MPhySupported calls android.bluetooth.BluetoothAdapter.isLe2MPhySupported.
func (*Adapter) IsLeAudioBroadcastAssistantSupported ¶ added in v0.0.4
IsLeAudioBroadcastAssistantSupported calls android.bluetooth.BluetoothAdapter.isLeAudioBroadcastAssistantSupported.
func (*Adapter) IsLeAudioBroadcastSourceSupported ¶ added in v0.0.4
IsLeAudioBroadcastSourceSupported calls android.bluetooth.BluetoothAdapter.isLeAudioBroadcastSourceSupported.
func (*Adapter) IsLeAudioSupported ¶ added in v0.0.4
IsLeAudioSupported calls android.bluetooth.BluetoothAdapter.isLeAudioSupported.
func (*Adapter) IsLeCodedPhySupported ¶ added in v0.0.4
IsLeCodedPhySupported calls android.bluetooth.BluetoothAdapter.isLeCodedPhySupported.
func (*Adapter) IsLeExtendedAdvertisingSupported ¶ added in v0.0.4
IsLeExtendedAdvertisingSupported calls android.bluetooth.BluetoothAdapter.isLeExtendedAdvertisingSupported.
func (*Adapter) IsLePeriodicAdvertisingSupported ¶ added in v0.0.4
IsLePeriodicAdvertisingSupported calls android.bluetooth.BluetoothAdapter.isLePeriodicAdvertisingSupported.
func (*Adapter) IsMultipleAdvertisementSupported ¶ added in v0.0.4
IsMultipleAdvertisementSupported calls android.bluetooth.BluetoothAdapter.isMultipleAdvertisementSupported.
func (*Adapter) IsOffloadedFilteringSupported ¶ added in v0.0.4
IsOffloadedFilteringSupported calls android.bluetooth.BluetoothAdapter.isOffloadedFilteringSupported.
func (*Adapter) IsOffloadedScanBatchingSupported ¶ added in v0.0.4
IsOffloadedScanBatchingSupported calls android.bluetooth.BluetoothAdapter.isOffloadedScanBatchingSupported.
func (*Adapter) ListenUsingInsecureL2capChannel ¶ added in v0.0.4
ListenUsingInsecureL2capChannel calls android.bluetooth.BluetoothAdapter.listenUsingInsecureL2capChannel.
func (*Adapter) ListenUsingInsecureRfcommWithServiceRecord ¶ added in v0.0.4
func (m *Adapter) ListenUsingInsecureRfcommWithServiceRecord(arg0 string, arg1 *jni.Object) (*jni.Object, error)
ListenUsingInsecureRfcommWithServiceRecord calls android.bluetooth.BluetoothAdapter.listenUsingInsecureRfcommWithServiceRecord.
func (*Adapter) ListenUsingL2capChannel ¶ added in v0.0.4
ListenUsingL2capChannel calls android.bluetooth.BluetoothAdapter.listenUsingL2capChannel.
func (*Adapter) ListenUsingRfcommWithServiceRecord ¶ added in v0.0.4
func (m *Adapter) ListenUsingRfcommWithServiceRecord(arg0 string, arg1 *jni.Object) (*jni.Object, error)
ListenUsingRfcommWithServiceRecord calls android.bluetooth.BluetoothAdapter.listenUsingRfcommWithServiceRecord.
func (*Adapter) ListenUsingSocketSettings ¶ added in v0.0.4
ListenUsingSocketSettings calls android.bluetooth.BluetoothAdapter.listenUsingSocketSettings.
func (*Adapter) StartDiscovery ¶ added in v0.0.4
StartDiscovery calls android.bluetooth.BluetoothAdapter.startDiscovery.
func (*Adapter) StartLeScan1 ¶ added in v0.0.4
StartLeScan1 calls android.bluetooth.BluetoothAdapter.startLeScan.
func (*Adapter) StartLeScan2_1 ¶ added in v0.0.4
StartLeScan2_1 calls android.bluetooth.BluetoothAdapter.startLeScan.
type AdapterLeScanCallback ¶ added in v0.0.7
AdapterLeScanCallback wraps android.bluetooth.BluetoothAdapter$LeScanCallback.
type Class ¶ added in v0.0.7
Class wraps android.bluetooth.BluetoothClass.
func (*Class) DescribeContents ¶ added in v0.0.7
DescribeContents calls android.bluetooth.BluetoothClass.describeContents.
func (*Class) DoesClassMatch ¶ added in v0.0.7
DoesClassMatch calls android.bluetooth.BluetoothClass.doesClassMatch.
func (*Class) GetDeviceClass ¶ added in v0.0.7
GetDeviceClass calls android.bluetooth.BluetoothClass.getDeviceClass.
func (*Class) GetMajorDeviceClass ¶ added in v0.0.7
GetMajorDeviceClass calls android.bluetooth.BluetoothClass.getMajorDeviceClass.
func (*Class) HasService ¶ added in v0.0.7
HasService calls android.bluetooth.BluetoothClass.hasService.
type CodecConfig ¶ added in v0.0.7
CodecConfig wraps android.bluetooth.BluetoothCodecConfig.
func (*CodecConfig) DescribeContents ¶ added in v0.0.7
func (m *CodecConfig) DescribeContents() (int32, error)
DescribeContents calls android.bluetooth.BluetoothCodecConfig.describeContents.
func (*CodecConfig) Equals ¶ added in v0.0.7
func (m *CodecConfig) Equals(arg0 *jni.Object) (bool, error)
Equals calls android.bluetooth.BluetoothCodecConfig.equals.
func (*CodecConfig) GetBitsPerSample ¶ added in v0.0.7
func (m *CodecConfig) GetBitsPerSample() (int32, error)
GetBitsPerSample calls android.bluetooth.BluetoothCodecConfig.getBitsPerSample.
func (*CodecConfig) GetChannelMode ¶ added in v0.0.7
func (m *CodecConfig) GetChannelMode() (int32, error)
GetChannelMode calls android.bluetooth.BluetoothCodecConfig.getChannelMode.
func (*CodecConfig) GetCodecPriority ¶ added in v0.0.7
func (m *CodecConfig) GetCodecPriority() (int32, error)
GetCodecPriority calls android.bluetooth.BluetoothCodecConfig.getCodecPriority.
func (*CodecConfig) GetCodecSpecific1 ¶ added in v0.0.7
func (m *CodecConfig) GetCodecSpecific1() (int64, error)
GetCodecSpecific1 calls android.bluetooth.BluetoothCodecConfig.getCodecSpecific1.
func (*CodecConfig) GetCodecSpecific2 ¶ added in v0.0.7
func (m *CodecConfig) GetCodecSpecific2() (int64, error)
GetCodecSpecific2 calls android.bluetooth.BluetoothCodecConfig.getCodecSpecific2.
func (*CodecConfig) GetCodecSpecific3 ¶ added in v0.0.7
func (m *CodecConfig) GetCodecSpecific3() (int64, error)
GetCodecSpecific3 calls android.bluetooth.BluetoothCodecConfig.getCodecSpecific3.
func (*CodecConfig) GetCodecSpecific4 ¶ added in v0.0.7
func (m *CodecConfig) GetCodecSpecific4() (int64, error)
GetCodecSpecific4 calls android.bluetooth.BluetoothCodecConfig.getCodecSpecific4.
func (*CodecConfig) GetCodecType ¶ added in v0.0.7
func (m *CodecConfig) GetCodecType() (int32, error)
GetCodecType calls android.bluetooth.BluetoothCodecConfig.getCodecType.
func (*CodecConfig) GetExtendedCodecType ¶ added in v0.0.7
func (m *CodecConfig) GetExtendedCodecType() (*jni.Object, error)
GetExtendedCodecType calls android.bluetooth.BluetoothCodecConfig.getExtendedCodecType.
func (*CodecConfig) GetSampleRate ¶ added in v0.0.7
func (m *CodecConfig) GetSampleRate() (int32, error)
GetSampleRate calls android.bluetooth.BluetoothCodecConfig.getSampleRate.
func (*CodecConfig) HashCode ¶ added in v0.0.7
func (m *CodecConfig) HashCode() (int32, error)
HashCode calls android.bluetooth.BluetoothCodecConfig.hashCode.
func (*CodecConfig) IsMandatoryCodec ¶ added in v0.0.7
func (m *CodecConfig) IsMandatoryCodec() (bool, error)
IsMandatoryCodec calls android.bluetooth.BluetoothCodecConfig.isMandatoryCodec.
func (*CodecConfig) ToString ¶ added in v0.0.7
func (m *CodecConfig) ToString() (string, error)
ToString calls android.bluetooth.BluetoothCodecConfig.toString.
func (*CodecConfig) WriteToParcel ¶ added in v0.0.7
func (m *CodecConfig) WriteToParcel(arg0 *jni.Object, arg1 int32) error
WriteToParcel calls android.bluetooth.BluetoothCodecConfig.writeToParcel.
type CodecConfigBuilder ¶ added in v0.0.7
CodecConfigBuilder wraps android.bluetooth.BluetoothCodecConfig$Builder.
func (*CodecConfigBuilder) Build ¶ added in v0.0.7
func (m *CodecConfigBuilder) Build() (*jni.Object, error)
Build calls android.bluetooth.BluetoothCodecConfig$Builder.build.
func (*CodecConfigBuilder) SetBitsPerSample ¶ added in v0.0.7
func (m *CodecConfigBuilder) SetBitsPerSample(arg0 int32) (*jni.Object, error)
SetBitsPerSample calls android.bluetooth.BluetoothCodecConfig$Builder.setBitsPerSample.
func (*CodecConfigBuilder) SetChannelMode ¶ added in v0.0.7
func (m *CodecConfigBuilder) SetChannelMode(arg0 int32) (*jni.Object, error)
SetChannelMode calls android.bluetooth.BluetoothCodecConfig$Builder.setChannelMode.
func (*CodecConfigBuilder) SetCodecPriority ¶ added in v0.0.7
func (m *CodecConfigBuilder) SetCodecPriority(arg0 int32) (*jni.Object, error)
SetCodecPriority calls android.bluetooth.BluetoothCodecConfig$Builder.setCodecPriority.
func (*CodecConfigBuilder) SetCodecSpecific1 ¶ added in v0.0.7
func (m *CodecConfigBuilder) SetCodecSpecific1(arg0 int64) (*jni.Object, error)
SetCodecSpecific1 calls android.bluetooth.BluetoothCodecConfig$Builder.setCodecSpecific1.
func (*CodecConfigBuilder) SetCodecSpecific2 ¶ added in v0.0.7
func (m *CodecConfigBuilder) SetCodecSpecific2(arg0 int64) (*jni.Object, error)
SetCodecSpecific2 calls android.bluetooth.BluetoothCodecConfig$Builder.setCodecSpecific2.
func (*CodecConfigBuilder) SetCodecSpecific3 ¶ added in v0.0.7
func (m *CodecConfigBuilder) SetCodecSpecific3(arg0 int64) (*jni.Object, error)
SetCodecSpecific3 calls android.bluetooth.BluetoothCodecConfig$Builder.setCodecSpecific3.
func (*CodecConfigBuilder) SetCodecSpecific4 ¶ added in v0.0.7
func (m *CodecConfigBuilder) SetCodecSpecific4(arg0 int64) (*jni.Object, error)
SetCodecSpecific4 calls android.bluetooth.BluetoothCodecConfig$Builder.setCodecSpecific4.
func (*CodecConfigBuilder) SetCodecType ¶ added in v0.0.7
func (m *CodecConfigBuilder) SetCodecType(arg0 int32) (*jni.Object, error)
SetCodecType calls android.bluetooth.BluetoothCodecConfig$Builder.setCodecType.
func (*CodecConfigBuilder) SetExtendedCodecType ¶ added in v0.0.7
SetExtendedCodecType calls android.bluetooth.BluetoothCodecConfig$Builder.setExtendedCodecType.
func (*CodecConfigBuilder) SetSampleRate ¶ added in v0.0.7
func (m *CodecConfigBuilder) SetSampleRate(arg0 int32) (*jni.Object, error)
SetSampleRate calls android.bluetooth.BluetoothCodecConfig$Builder.setSampleRate.
type CodecStatus ¶ added in v0.0.7
CodecStatus wraps android.bluetooth.BluetoothCodecStatus.
func (*CodecStatus) DescribeContents ¶ added in v0.0.7
func (m *CodecStatus) DescribeContents() (int32, error)
DescribeContents calls android.bluetooth.BluetoothCodecStatus.describeContents.
func (*CodecStatus) Equals ¶ added in v0.0.7
func (m *CodecStatus) Equals(arg0 *jni.Object) (bool, error)
Equals calls android.bluetooth.BluetoothCodecStatus.equals.
func (*CodecStatus) GetCodecConfig ¶ added in v0.0.7
func (m *CodecStatus) GetCodecConfig() (*jni.Object, error)
GetCodecConfig calls android.bluetooth.BluetoothCodecStatus.getCodecConfig.
func (*CodecStatus) HashCode ¶ added in v0.0.7
func (m *CodecStatus) HashCode() (int32, error)
HashCode calls android.bluetooth.BluetoothCodecStatus.hashCode.
func (*CodecStatus) IsCodecConfigSelectable ¶ added in v0.0.7
func (m *CodecStatus) IsCodecConfigSelectable(arg0 *jni.Object) (bool, error)
IsCodecConfigSelectable calls android.bluetooth.BluetoothCodecStatus.isCodecConfigSelectable.
func (*CodecStatus) ToString ¶ added in v0.0.7
func (m *CodecStatus) ToString() (string, error)
ToString calls android.bluetooth.BluetoothCodecStatus.toString.
func (*CodecStatus) WriteToParcel ¶ added in v0.0.7
func (m *CodecStatus) WriteToParcel(arg0 *jni.Object, arg1 int32) error
WriteToParcel calls android.bluetooth.BluetoothCodecStatus.writeToParcel.
type CodecStatusBuilder ¶ added in v0.0.7
CodecStatusBuilder wraps android.bluetooth.BluetoothCodecStatus$Builder.
func (*CodecStatusBuilder) Build ¶ added in v0.0.7
func (m *CodecStatusBuilder) Build() (*jni.Object, error)
Build calls android.bluetooth.BluetoothCodecStatus$Builder.build.
func (*CodecStatusBuilder) SetCodecConfig ¶ added in v0.0.7
SetCodecConfig calls android.bluetooth.BluetoothCodecStatus$Builder.setCodecConfig.
type CodecType ¶ added in v0.0.7
CodecType wraps android.bluetooth.BluetoothCodecType.
func (*CodecType) DescribeContents ¶ added in v0.0.7
DescribeContents calls android.bluetooth.BluetoothCodecType.describeContents.
func (*CodecType) Equals ¶ added in v0.0.7
Equals calls android.bluetooth.BluetoothCodecType.equals.
func (*CodecType) GetCodecId ¶ added in v0.0.7
GetCodecId calls android.bluetooth.BluetoothCodecType.getCodecId.
func (*CodecType) GetCodecName ¶ added in v0.0.7
GetCodecName calls android.bluetooth.BluetoothCodecType.getCodecName.
func (*CodecType) HashCode ¶ added in v0.0.7
HashCode calls android.bluetooth.BluetoothCodecType.hashCode.
func (*CodecType) IsMandatoryCodec ¶ added in v0.0.7
IsMandatoryCodec calls android.bluetooth.BluetoothCodecType.isMandatoryCodec.
type CsipSetCoordinator ¶ added in v0.0.7
CsipSetCoordinator wraps android.bluetooth.BluetoothCsipSetCoordinator.
func (*CsipSetCoordinator) Close ¶ added in v0.0.7
func (m *CsipSetCoordinator) Close() error
Close calls android.bluetooth.BluetoothCsipSetCoordinator.close.
func (*CsipSetCoordinator) GetConnectionState ¶ added in v0.0.7
func (m *CsipSetCoordinator) GetConnectionState(arg0 *jni.Object) (int32, error)
GetConnectionState calls android.bluetooth.BluetoothCsipSetCoordinator.getConnectionState.
type Device ¶ added in v0.0.4
Device wraps android.bluetooth.BluetoothDevice.
func (*Device) ConnectGatt3 ¶ added in v0.0.4
func (m *Device) ConnectGatt3( arg0 *jni.Object, arg1 bool, arg2 *jni.Object, ) (*jni.Object, error)
ConnectGatt3 calls android.bluetooth.BluetoothDevice.connectGatt.
func (*Device) ConnectGatt4_1 ¶ added in v0.0.4
func (m *Device) ConnectGatt4_1( arg0 *jni.Object, arg1 bool, arg2 *jni.Object, arg3 int32, ) (*jni.Object, error)
ConnectGatt4_1 calls android.bluetooth.BluetoothDevice.connectGatt.
func (*Device) ConnectGatt5_2 ¶ added in v0.0.4
func (m *Device) ConnectGatt5_2( arg0 *jni.Object, arg1 bool, arg2 *jni.Object, arg3 int32, arg4 int32, ) (*jni.Object, error)
ConnectGatt5_2 calls android.bluetooth.BluetoothDevice.connectGatt.
func (*Device) CreateBond ¶ added in v0.0.4
CreateBond calls android.bluetooth.BluetoothDevice.createBond.
func (*Device) CreateInsecureL2capChannel ¶ added in v0.0.4
CreateInsecureL2capChannel calls android.bluetooth.BluetoothDevice.createInsecureL2capChannel.
func (*Device) CreateInsecureRfcommSocketToServiceRecord ¶ added in v0.0.4
CreateInsecureRfcommSocketToServiceRecord calls android.bluetooth.BluetoothDevice.createInsecureRfcommSocketToServiceRecord.
func (*Device) CreateL2capChannel ¶ added in v0.0.4
CreateL2capChannel calls android.bluetooth.BluetoothDevice.createL2capChannel.
func (*Device) CreateRfcommSocketToServiceRecord ¶ added in v0.0.4
CreateRfcommSocketToServiceRecord calls android.bluetooth.BluetoothDevice.createRfcommSocketToServiceRecord.
func (*Device) CreateUsingSocketSettings ¶ added in v0.0.4
CreateUsingSocketSettings calls android.bluetooth.BluetoothDevice.createUsingSocketSettings.
func (*Device) DescribeContents ¶ added in v0.0.4
DescribeContents calls android.bluetooth.BluetoothDevice.describeContents.
func (*Device) FetchUuidsWithSdp ¶ added in v0.0.4
FetchUuidsWithSdp calls android.bluetooth.BluetoothDevice.fetchUuidsWithSdp.
func (*Device) GetAddress ¶ added in v0.0.4
GetAddress calls android.bluetooth.BluetoothDevice.getAddress.
func (*Device) GetAddressType ¶ added in v0.0.4
GetAddressType calls android.bluetooth.BluetoothDevice.getAddressType.
func (*Device) GetAlias ¶ added in v0.0.4
GetAlias calls android.bluetooth.BluetoothDevice.getAlias.
func (*Device) GetBluetoothClass ¶ added in v0.0.4
GetBluetoothClass calls android.bluetooth.BluetoothDevice.getBluetoothClass.
func (*Device) GetBondState ¶ added in v0.0.4
GetBondState calls android.bluetooth.BluetoothDevice.getBondState.
func (*Device) GetIdentityAddressWithType ¶ added in v0.0.4
GetIdentityAddressWithType calls android.bluetooth.BluetoothDevice.getIdentityAddressWithType.
func (*Device) GetUuids ¶ added in v0.0.4
GetUuids calls android.bluetooth.BluetoothDevice.getUuids.
func (*Device) HashCode ¶ added in v0.0.4
HashCode calls android.bluetooth.BluetoothDevice.hashCode.
func (*Device) SetAlias ¶ added in v0.0.4
SetAlias calls android.bluetooth.BluetoothDevice.setAlias.
func (*Device) SetPairingConfirmation ¶ added in v0.0.4
SetPairingConfirmation calls android.bluetooth.BluetoothDevice.setPairingConfirmation.
type DeviceBluetoothAddress ¶ added in v0.0.7
DeviceBluetoothAddress wraps android.bluetooth.BluetoothDevice$BluetoothAddress.
func (*DeviceBluetoothAddress) DescribeContents ¶ added in v0.0.7
func (m *DeviceBluetoothAddress) DescribeContents() (int32, error)
DescribeContents calls android.bluetooth.BluetoothDevice$BluetoothAddress.describeContents.
func (*DeviceBluetoothAddress) GetAddress ¶ added in v0.0.7
func (m *DeviceBluetoothAddress) GetAddress() (string, error)
GetAddress calls android.bluetooth.BluetoothDevice$BluetoothAddress.getAddress.
func (*DeviceBluetoothAddress) GetAddressType ¶ added in v0.0.7
func (m *DeviceBluetoothAddress) GetAddressType() (int32, error)
GetAddressType calls android.bluetooth.BluetoothDevice$BluetoothAddress.getAddressType.
func (*DeviceBluetoothAddress) WriteToParcel ¶ added in v0.0.7
func (m *DeviceBluetoothAddress) WriteToParcel(arg0 *jni.Object, arg1 int32) error
WriteToParcel calls android.bluetooth.BluetoothDevice$BluetoothAddress.writeToParcel.
type Gatt ¶ added in v0.0.4
Gatt wraps android.bluetooth.BluetoothGatt.
func (*Gatt) AbortReliableWrite0 ¶ added in v0.0.4
AbortReliableWrite0 calls android.bluetooth.BluetoothGatt.abortReliableWrite.
func (*Gatt) AbortReliableWrite1_1 ¶ added in v0.0.4
AbortReliableWrite1_1 calls android.bluetooth.BluetoothGatt.abortReliableWrite.
func (*Gatt) BeginReliableWrite ¶ added in v0.0.4
BeginReliableWrite calls android.bluetooth.BluetoothGatt.beginReliableWrite.
func (*Gatt) Disconnect ¶ added in v0.0.4
Disconnect calls android.bluetooth.BluetoothGatt.disconnect.
func (*Gatt) DiscoverServices ¶ added in v0.0.4
DiscoverServices calls android.bluetooth.BluetoothGatt.discoverServices.
func (*Gatt) ExecuteReliableWrite ¶ added in v0.0.4
ExecuteReliableWrite calls android.bluetooth.BluetoothGatt.executeReliableWrite.
func (*Gatt) GetConnectionState ¶ added in v0.0.4
GetConnectionState calls android.bluetooth.BluetoothGatt.getConnectionState.
func (*Gatt) GetService ¶ added in v0.0.4
GetService calls android.bluetooth.BluetoothGatt.getService.
func (*Gatt) ReadCharacteristic ¶ added in v0.0.4
ReadCharacteristic calls android.bluetooth.BluetoothGatt.readCharacteristic.
func (*Gatt) ReadDescriptor ¶ added in v0.0.4
ReadDescriptor calls android.bluetooth.BluetoothGatt.readDescriptor.
func (*Gatt) ReadRemoteRssi ¶ added in v0.0.4
ReadRemoteRssi calls android.bluetooth.BluetoothGatt.readRemoteRssi.
func (*Gatt) RequestConnectionPriority ¶ added in v0.0.4
RequestConnectionPriority calls android.bluetooth.BluetoothGatt.requestConnectionPriority.
func (*Gatt) RequestMtu ¶ added in v0.0.4
RequestMtu calls android.bluetooth.BluetoothGatt.requestMtu.
func (*Gatt) SetCharacteristicNotification ¶ added in v0.0.4
SetCharacteristicNotification calls android.bluetooth.BluetoothGatt.setCharacteristicNotification.
func (*Gatt) SetPreferredPhy ¶ added in v0.0.4
SetPreferredPhy calls android.bluetooth.BluetoothGatt.setPreferredPhy.
func (*Gatt) WriteCharacteristic1 ¶ added in v0.0.4
WriteCharacteristic1 calls android.bluetooth.BluetoothGatt.writeCharacteristic.
func (*Gatt) WriteCharacteristic3_1 ¶ added in v0.0.4
func (m *Gatt) WriteCharacteristic3_1( arg0 *jni.Object, arg1 *jni.Object, arg2 int32, ) (int32, error)
WriteCharacteristic3_1 calls android.bluetooth.BluetoothGatt.writeCharacteristic.
func (*Gatt) WriteDescriptor1 ¶ added in v0.0.4
WriteDescriptor1 calls android.bluetooth.BluetoothGatt.writeDescriptor.
type GattCallback ¶ added in v0.0.7
GattCallback wraps android.bluetooth.BluetoothGattCallback.
func (*GattCallback) OnCharacteristicChanged2 ¶ added in v0.0.7
OnCharacteristicChanged2 calls android.bluetooth.BluetoothGattCallback.onCharacteristicChanged.
func (*GattCallback) OnCharacteristicChanged3_1 ¶ added in v0.0.7
func (m *GattCallback) OnCharacteristicChanged3_1( arg0 *jni.Object, arg1 *jni.Object, arg2 *jni.Object, ) error
OnCharacteristicChanged3_1 calls android.bluetooth.BluetoothGattCallback.onCharacteristicChanged.
func (*GattCallback) OnCharacteristicRead3_1 ¶ added in v0.0.7
func (m *GattCallback) OnCharacteristicRead3_1( arg0 *jni.Object, arg1 *jni.Object, arg2 int32, ) error
OnCharacteristicRead3_1 calls android.bluetooth.BluetoothGattCallback.onCharacteristicRead.
func (*GattCallback) OnCharacteristicRead4 ¶ added in v0.0.7
func (m *GattCallback) OnCharacteristicRead4( arg0 *jni.Object, arg1 *jni.Object, arg2 *jni.Object, arg3 int32, ) error
OnCharacteristicRead4 calls android.bluetooth.BluetoothGattCallback.onCharacteristicRead.
func (*GattCallback) OnCharacteristicWrite ¶ added in v0.0.7
func (m *GattCallback) OnCharacteristicWrite( arg0 *jni.Object, arg1 *jni.Object, arg2 int32, ) error
OnCharacteristicWrite calls android.bluetooth.BluetoothGattCallback.onCharacteristicWrite.
func (*GattCallback) OnConnectionStateChange ¶ added in v0.0.7
OnConnectionStateChange calls android.bluetooth.BluetoothGattCallback.onConnectionStateChange.
func (*GattCallback) OnDescriptorRead3 ¶ added in v0.0.7
OnDescriptorRead3 calls android.bluetooth.BluetoothGattCallback.onDescriptorRead.
func (*GattCallback) OnDescriptorRead4_1 ¶ added in v0.0.7
func (m *GattCallback) OnDescriptorRead4_1( arg0 *jni.Object, arg1 *jni.Object, arg2 int32, arg3 *jni.Object, ) error
OnDescriptorRead4_1 calls android.bluetooth.BluetoothGattCallback.onDescriptorRead.
func (*GattCallback) OnDescriptorWrite ¶ added in v0.0.7
OnDescriptorWrite calls android.bluetooth.BluetoothGattCallback.onDescriptorWrite.
func (*GattCallback) OnMtuChanged ¶ added in v0.0.7
OnMtuChanged calls android.bluetooth.BluetoothGattCallback.onMtuChanged.
func (*GattCallback) OnPhyRead ¶ added in v0.0.7
OnPhyRead calls android.bluetooth.BluetoothGattCallback.onPhyRead.
func (*GattCallback) OnPhyUpdate ¶ added in v0.0.7
OnPhyUpdate calls android.bluetooth.BluetoothGattCallback.onPhyUpdate.
func (*GattCallback) OnReadRemoteRssi ¶ added in v0.0.7
OnReadRemoteRssi calls android.bluetooth.BluetoothGattCallback.onReadRemoteRssi.
func (*GattCallback) OnReliableWriteCompleted ¶ added in v0.0.7
func (m *GattCallback) OnReliableWriteCompleted(arg0 *jni.Object, arg1 int32) error
OnReliableWriteCompleted calls android.bluetooth.BluetoothGattCallback.onReliableWriteCompleted.
func (*GattCallback) OnServiceChanged ¶ added in v0.0.7
func (m *GattCallback) OnServiceChanged(arg0 *jni.Object) error
OnServiceChanged calls android.bluetooth.BluetoothGattCallback.onServiceChanged.
func (*GattCallback) OnServicesDiscovered ¶ added in v0.0.7
func (m *GattCallback) OnServicesDiscovered(arg0 *jni.Object, arg1 int32) error
OnServicesDiscovered calls android.bluetooth.BluetoothGattCallback.onServicesDiscovered.
type GattCharacteristic ¶ added in v0.0.4
GattCharacteristic wraps android.bluetooth.BluetoothGattCharacteristic.
func NewGattCharacteristic ¶ added in v0.0.7
func NewGattCharacteristic(vm *jni.VM, arg0 *jni.Object, arg1 int32, arg2 int32) (*GattCharacteristic, error)
NewGattCharacteristic creates a new android.bluetooth.BluetoothGattCharacteristic instance.
func (*GattCharacteristic) AddDescriptor ¶ added in v0.0.4
func (m *GattCharacteristic) AddDescriptor(arg0 *jni.Object) (bool, error)
AddDescriptor calls android.bluetooth.BluetoothGattCharacteristic.addDescriptor.
func (*GattCharacteristic) DescribeContents ¶ added in v0.0.4
func (m *GattCharacteristic) DescribeContents() (int32, error)
DescribeContents calls android.bluetooth.BluetoothGattCharacteristic.describeContents.
func (*GattCharacteristic) GetDescriptor ¶ added in v0.0.4
GetDescriptor calls android.bluetooth.BluetoothGattCharacteristic.getDescriptor.
func (*GattCharacteristic) GetFloatValue ¶ added in v0.0.4
GetFloatValue calls android.bluetooth.BluetoothGattCharacteristic.getFloatValue.
func (*GattCharacteristic) GetInstanceId ¶ added in v0.0.4
func (m *GattCharacteristic) GetInstanceId() (int32, error)
GetInstanceId calls android.bluetooth.BluetoothGattCharacteristic.getInstanceId.
func (*GattCharacteristic) GetIntValue ¶ added in v0.0.4
GetIntValue calls android.bluetooth.BluetoothGattCharacteristic.getIntValue.
func (*GattCharacteristic) GetPermissions ¶ added in v0.0.4
func (m *GattCharacteristic) GetPermissions() (int32, error)
GetPermissions calls android.bluetooth.BluetoothGattCharacteristic.getPermissions.
func (*GattCharacteristic) GetProperties ¶ added in v0.0.4
func (m *GattCharacteristic) GetProperties() (int32, error)
GetProperties calls android.bluetooth.BluetoothGattCharacteristic.getProperties.
func (*GattCharacteristic) GetService ¶ added in v0.0.4
func (m *GattCharacteristic) GetService() (*jni.Object, error)
GetService calls android.bluetooth.BluetoothGattCharacteristic.getService.
func (*GattCharacteristic) GetStringValue ¶ added in v0.0.4
func (m *GattCharacteristic) GetStringValue(arg0 int32) (string, error)
GetStringValue calls android.bluetooth.BluetoothGattCharacteristic.getStringValue.
func (*GattCharacteristic) GetUuid ¶ added in v0.0.4
func (m *GattCharacteristic) GetUuid() (*jni.Object, error)
GetUuid calls android.bluetooth.BluetoothGattCharacteristic.getUuid.
func (*GattCharacteristic) GetValue ¶ added in v0.0.4
func (m *GattCharacteristic) GetValue() (*jni.Object, error)
GetValue calls android.bluetooth.BluetoothGattCharacteristic.getValue.
func (*GattCharacteristic) GetWriteType ¶ added in v0.0.4
func (m *GattCharacteristic) GetWriteType() (int32, error)
GetWriteType calls android.bluetooth.BluetoothGattCharacteristic.getWriteType.
func (*GattCharacteristic) SetValue1 ¶ added in v0.0.4
func (m *GattCharacteristic) SetValue1(arg0 *jni.Object) (bool, error)
SetValue1 calls android.bluetooth.BluetoothGattCharacteristic.setValue.
func (*GattCharacteristic) SetValue1_3 ¶ added in v0.0.4
func (m *GattCharacteristic) SetValue1_3(arg0 string) (bool, error)
SetValue1_3 calls android.bluetooth.BluetoothGattCharacteristic.setValue.
func (*GattCharacteristic) SetValue3_1 ¶ added in v0.0.4
SetValue3_1 calls android.bluetooth.BluetoothGattCharacteristic.setValue.
func (*GattCharacteristic) SetValue4_2 ¶ added in v0.0.4
func (m *GattCharacteristic) SetValue4_2( arg0 int32, arg1 int32, arg2 int32, arg3 int32, ) (bool, error)
SetValue4_2 calls android.bluetooth.BluetoothGattCharacteristic.setValue.
func (*GattCharacteristic) SetWriteType ¶ added in v0.0.4
func (m *GattCharacteristic) SetWriteType(arg0 int32) error
SetWriteType calls android.bluetooth.BluetoothGattCharacteristic.setWriteType.
func (*GattCharacteristic) WriteToParcel ¶ added in v0.0.4
func (m *GattCharacteristic) WriteToParcel(arg0 *jni.Object, arg1 int32) error
WriteToParcel calls android.bluetooth.BluetoothGattCharacteristic.writeToParcel.
type GattDescriptor ¶ added in v0.0.4
GattDescriptor wraps android.bluetooth.BluetoothGattDescriptor.
func NewGattDescriptor ¶ added in v0.0.7
NewGattDescriptor creates a new android.bluetooth.BluetoothGattDescriptor instance.
func (*GattDescriptor) DescribeContents ¶ added in v0.0.4
func (m *GattDescriptor) DescribeContents() (int32, error)
DescribeContents calls android.bluetooth.BluetoothGattDescriptor.describeContents.
func (*GattDescriptor) GetCharacteristic ¶ added in v0.0.4
func (m *GattDescriptor) GetCharacteristic() (*jni.Object, error)
GetCharacteristic calls android.bluetooth.BluetoothGattDescriptor.getCharacteristic.
func (*GattDescriptor) GetPermissions ¶ added in v0.0.4
func (m *GattDescriptor) GetPermissions() (int32, error)
GetPermissions calls android.bluetooth.BluetoothGattDescriptor.getPermissions.
func (*GattDescriptor) GetUuid ¶ added in v0.0.4
func (m *GattDescriptor) GetUuid() (*jni.Object, error)
GetUuid calls android.bluetooth.BluetoothGattDescriptor.getUuid.
func (*GattDescriptor) GetValue ¶ added in v0.0.4
func (m *GattDescriptor) GetValue() (*jni.Object, error)
GetValue calls android.bluetooth.BluetoothGattDescriptor.getValue.
func (*GattDescriptor) SetValue ¶ added in v0.0.4
func (m *GattDescriptor) SetValue(arg0 *jni.Object) (bool, error)
SetValue calls android.bluetooth.BluetoothGattDescriptor.setValue.
func (*GattDescriptor) WriteToParcel ¶ added in v0.0.4
func (m *GattDescriptor) WriteToParcel(arg0 *jni.Object, arg1 int32) error
WriteToParcel calls android.bluetooth.BluetoothGattDescriptor.writeToParcel.
type GattServer ¶ added in v0.0.4
GattServer wraps android.bluetooth.BluetoothGattServer.
func (*GattServer) AddService ¶ added in v0.0.4
func (m *GattServer) AddService(arg0 *jni.Object) (bool, error)
AddService calls android.bluetooth.BluetoothGattServer.addService.
func (*GattServer) CancelConnection ¶ added in v0.0.4
func (m *GattServer) CancelConnection(arg0 *jni.Object) error
CancelConnection calls android.bluetooth.BluetoothGattServer.cancelConnection.
func (*GattServer) ClearServices ¶ added in v0.0.4
func (m *GattServer) ClearServices() error
ClearServices calls android.bluetooth.BluetoothGattServer.clearServices.
func (*GattServer) Close ¶ added in v0.0.4
func (m *GattServer) Close() error
Close calls android.bluetooth.BluetoothGattServer.close.
func (*GattServer) Connect ¶ added in v0.0.4
Connect calls android.bluetooth.BluetoothGattServer.connect.
func (*GattServer) GetConnectionState ¶ added in v0.0.4
func (m *GattServer) GetConnectionState(arg0 *jni.Object) (int32, error)
GetConnectionState calls android.bluetooth.BluetoothGattServer.getConnectionState.
func (*GattServer) GetService ¶ added in v0.0.4
GetService calls android.bluetooth.BluetoothGattServer.getService.
func (*GattServer) NotifyCharacteristicChanged3 ¶ added in v0.0.4
func (m *GattServer) NotifyCharacteristicChanged3( arg0 *jni.Object, arg1 *jni.Object, arg2 bool, ) (bool, error)
NotifyCharacteristicChanged3 calls android.bluetooth.BluetoothGattServer.notifyCharacteristicChanged.
func (*GattServer) NotifyCharacteristicChanged4_1 ¶ added in v0.0.4
func (m *GattServer) NotifyCharacteristicChanged4_1( arg0 *jni.Object, arg1 *jni.Object, arg2 bool, arg3 *jni.Object, ) (int32, error)
NotifyCharacteristicChanged4_1 calls android.bluetooth.BluetoothGattServer.notifyCharacteristicChanged.
func (*GattServer) ReadPhy ¶ added in v0.0.4
func (m *GattServer) ReadPhy(arg0 *jni.Object) error
ReadPhy calls android.bluetooth.BluetoothGattServer.readPhy.
func (*GattServer) RemoveService ¶ added in v0.0.4
func (m *GattServer) RemoveService(arg0 *jni.Object) (bool, error)
RemoveService calls android.bluetooth.BluetoothGattServer.removeService.
func (*GattServer) SendResponse ¶ added in v0.0.4
func (m *GattServer) SendResponse( arg0 *jni.Object, arg1 int32, arg2 int32, arg3 int32, arg4 *jni.Object, ) (bool, error)
SendResponse calls android.bluetooth.BluetoothGattServer.sendResponse.
func (*GattServer) SetPreferredPhy ¶ added in v0.0.4
SetPreferredPhy calls android.bluetooth.BluetoothGattServer.setPreferredPhy.
type GattServerCallback ¶ added in v0.0.7
GattServerCallback wraps android.bluetooth.BluetoothGattServerCallback.
func (*GattServerCallback) OnCharacteristicReadRequest ¶ added in v0.0.7
func (m *GattServerCallback) OnCharacteristicReadRequest( arg0 *jni.Object, arg1 int32, arg2 int32, arg3 *jni.Object, ) error
OnCharacteristicReadRequest calls android.bluetooth.BluetoothGattServerCallback.onCharacteristicReadRequest.
func (*GattServerCallback) OnCharacteristicWriteRequest ¶ added in v0.0.7
func (m *GattServerCallback) OnCharacteristicWriteRequest( arg0 *jni.Object, arg1 int32, arg2 *jni.Object, arg3 bool, arg4 bool, arg5 int32, arg6 *jni.Object, ) error
OnCharacteristicWriteRequest calls android.bluetooth.BluetoothGattServerCallback.onCharacteristicWriteRequest.
func (*GattServerCallback) OnConnectionStateChange ¶ added in v0.0.7
func (m *GattServerCallback) OnConnectionStateChange( arg0 *jni.Object, arg1 int32, arg2 int32, ) error
OnConnectionStateChange calls android.bluetooth.BluetoothGattServerCallback.onConnectionStateChange.
func (*GattServerCallback) OnDescriptorReadRequest ¶ added in v0.0.7
func (m *GattServerCallback) OnDescriptorReadRequest( arg0 *jni.Object, arg1 int32, arg2 int32, arg3 *jni.Object, ) error
OnDescriptorReadRequest calls android.bluetooth.BluetoothGattServerCallback.onDescriptorReadRequest.
func (*GattServerCallback) OnDescriptorWriteRequest ¶ added in v0.0.7
func (m *GattServerCallback) OnDescriptorWriteRequest( arg0 *jni.Object, arg1 int32, arg2 *jni.Object, arg3 bool, arg4 bool, arg5 int32, arg6 *jni.Object, ) error
OnDescriptorWriteRequest calls android.bluetooth.BluetoothGattServerCallback.onDescriptorWriteRequest.
func (*GattServerCallback) OnExecuteWrite ¶ added in v0.0.7
OnExecuteWrite calls android.bluetooth.BluetoothGattServerCallback.onExecuteWrite.
func (*GattServerCallback) OnMtuChanged ¶ added in v0.0.7
func (m *GattServerCallback) OnMtuChanged(arg0 *jni.Object, arg1 int32) error
OnMtuChanged calls android.bluetooth.BluetoothGattServerCallback.onMtuChanged.
func (*GattServerCallback) OnNotificationSent ¶ added in v0.0.7
func (m *GattServerCallback) OnNotificationSent(arg0 *jni.Object, arg1 int32) error
OnNotificationSent calls android.bluetooth.BluetoothGattServerCallback.onNotificationSent.
func (*GattServerCallback) OnPhyRead ¶ added in v0.0.7
func (m *GattServerCallback) OnPhyRead( arg0 *jni.Object, arg1 int32, arg2 int32, arg3 int32, ) error
OnPhyRead calls android.bluetooth.BluetoothGattServerCallback.onPhyRead.
func (*GattServerCallback) OnPhyUpdate ¶ added in v0.0.7
func (m *GattServerCallback) OnPhyUpdate( arg0 *jni.Object, arg1 int32, arg2 int32, arg3 int32, ) error
OnPhyUpdate calls android.bluetooth.BluetoothGattServerCallback.onPhyUpdate.
func (*GattServerCallback) OnServiceAdded ¶ added in v0.0.7
func (m *GattServerCallback) OnServiceAdded(arg0 int32, arg1 *jni.Object) error
OnServiceAdded calls android.bluetooth.BluetoothGattServerCallback.onServiceAdded.
type GattService ¶ added in v0.0.4
GattService wraps android.bluetooth.BluetoothGattService.
func NewGattService ¶ added in v0.0.7
NewGattService creates a new android.bluetooth.BluetoothGattService instance.
func (*GattService) AddCharacteristic ¶ added in v0.0.4
func (m *GattService) AddCharacteristic(arg0 *jni.Object) (bool, error)
AddCharacteristic calls android.bluetooth.BluetoothGattService.addCharacteristic.
func (*GattService) AddService ¶ added in v0.0.4
func (m *GattService) AddService(arg0 *jni.Object) (bool, error)
AddService calls android.bluetooth.BluetoothGattService.addService.
func (*GattService) DescribeContents ¶ added in v0.0.4
func (m *GattService) DescribeContents() (int32, error)
DescribeContents calls android.bluetooth.BluetoothGattService.describeContents.
func (*GattService) GetCharacteristic ¶ added in v0.0.4
GetCharacteristic calls android.bluetooth.BluetoothGattService.getCharacteristic.
func (*GattService) GetInstanceId ¶ added in v0.0.4
func (m *GattService) GetInstanceId() (int32, error)
GetInstanceId calls android.bluetooth.BluetoothGattService.getInstanceId.
func (*GattService) GetType ¶ added in v0.0.4
func (m *GattService) GetType() (int32, error)
GetType calls android.bluetooth.BluetoothGattService.getType.
func (*GattService) GetUuid ¶ added in v0.0.4
func (m *GattService) GetUuid() (*jni.Object, error)
GetUuid calls android.bluetooth.BluetoothGattService.getUuid.
func (*GattService) WriteToParcel ¶ added in v0.0.4
func (m *GattService) WriteToParcel(arg0 *jni.Object, arg1 int32) error
WriteToParcel calls android.bluetooth.BluetoothGattService.writeToParcel.
type Headset ¶ added in v0.0.7
Headset wraps android.bluetooth.BluetoothHeadset.
func (*Headset) GetConnectionState ¶ added in v0.0.7
GetConnectionState calls android.bluetooth.BluetoothHeadset.getConnectionState.
func (*Headset) IsAudioConnected ¶ added in v0.0.7
IsAudioConnected calls android.bluetooth.BluetoothHeadset.isAudioConnected.
func (*Headset) IsNoiseReductionSupported ¶ added in v0.0.7
IsNoiseReductionSupported calls android.bluetooth.BluetoothHeadset.isNoiseReductionSupported.
func (*Headset) IsVoiceRecognitionSupported ¶ added in v0.0.7
IsVoiceRecognitionSupported calls android.bluetooth.BluetoothHeadset.isVoiceRecognitionSupported.
func (*Headset) SendVendorSpecificResultCode ¶ added in v0.0.7
func (m *Headset) SendVendorSpecificResultCode( arg0 *jni.Object, arg1 string, arg2 string, ) (bool, error)
SendVendorSpecificResultCode calls android.bluetooth.BluetoothHeadset.sendVendorSpecificResultCode.
func (*Headset) StartVoiceRecognition ¶ added in v0.0.7
StartVoiceRecognition calls android.bluetooth.BluetoothHeadset.startVoiceRecognition.
type Health ¶ added in v0.0.7
Health wraps android.bluetooth.BluetoothHealth.
func (*Health) ConnectChannelToSource ¶ added in v0.0.7
ConnectChannelToSource calls android.bluetooth.BluetoothHealth.connectChannelToSource.
func (*Health) DisconnectChannel ¶ added in v0.0.7
DisconnectChannel calls android.bluetooth.BluetoothHealth.disconnectChannel.
func (*Health) GetConnectionState ¶ added in v0.0.7
GetConnectionState calls android.bluetooth.BluetoothHealth.getConnectionState.
func (*Health) GetMainChannelFd ¶ added in v0.0.7
GetMainChannelFd calls android.bluetooth.BluetoothHealth.getMainChannelFd.
type HealthAppConfiguration ¶ added in v0.0.7
HealthAppConfiguration wraps android.bluetooth.BluetoothHealthAppConfiguration.
func (*HealthAppConfiguration) DescribeContents ¶ added in v0.0.7
func (m *HealthAppConfiguration) DescribeContents() (int32, error)
DescribeContents calls android.bluetooth.BluetoothHealthAppConfiguration.describeContents.
func (*HealthAppConfiguration) GetDataType ¶ added in v0.0.7
func (m *HealthAppConfiguration) GetDataType() (int32, error)
GetDataType calls android.bluetooth.BluetoothHealthAppConfiguration.getDataType.
func (*HealthAppConfiguration) GetName ¶ added in v0.0.7
func (m *HealthAppConfiguration) GetName() (string, error)
GetName calls android.bluetooth.BluetoothHealthAppConfiguration.getName.
func (*HealthAppConfiguration) GetRole ¶ added in v0.0.7
func (m *HealthAppConfiguration) GetRole() (int32, error)
GetRole calls android.bluetooth.BluetoothHealthAppConfiguration.getRole.
func (*HealthAppConfiguration) WriteToParcel ¶ added in v0.0.7
func (m *HealthAppConfiguration) WriteToParcel(arg0 *jni.Object, arg1 int32) error
WriteToParcel calls android.bluetooth.BluetoothHealthAppConfiguration.writeToParcel.
type HealthCallback ¶ added in v0.0.7
HealthCallback wraps android.bluetooth.BluetoothHealthCallback.
func (*HealthCallback) OnHealthAppConfigurationStatusChange ¶ added in v0.0.7
func (m *HealthCallback) OnHealthAppConfigurationStatusChange(arg0 *jni.Object, arg1 int32) error
OnHealthAppConfigurationStatusChange calls android.bluetooth.BluetoothHealthCallback.onHealthAppConfigurationStatusChange.
func (*HealthCallback) OnHealthChannelStateChange ¶ added in v0.0.7
func (m *HealthCallback) OnHealthChannelStateChange( arg0 *jni.Object, arg1 *jni.Object, arg2 int32, arg3 int32, arg4 *jni.Object, arg5 int32, ) error
OnHealthChannelStateChange calls android.bluetooth.BluetoothHealthCallback.onHealthChannelStateChange.
type HearingAid ¶ added in v0.0.7
HearingAid wraps android.bluetooth.BluetoothHearingAid.
func (*HearingAid) GetConnectionState ¶ added in v0.0.7
func (m *HearingAid) GetConnectionState(arg0 *jni.Object) (int32, error)
GetConnectionState calls android.bluetooth.BluetoothHearingAid.getConnectionState.
type HidDevice ¶ added in v0.0.7
HidDevice wraps android.bluetooth.BluetoothHidDevice.
func (*HidDevice) Connect ¶ added in v0.0.7
Connect calls android.bluetooth.BluetoothHidDevice.connect.
func (*HidDevice) Disconnect ¶ added in v0.0.7
Disconnect calls android.bluetooth.BluetoothHidDevice.disconnect.
func (*HidDevice) GetConnectionState ¶ added in v0.0.7
GetConnectionState calls android.bluetooth.BluetoothHidDevice.getConnectionState.
func (*HidDevice) RegisterApp ¶ added in v0.0.7
func (m *HidDevice) RegisterApp( arg0 *jni.Object, arg1 *jni.Object, arg2 *jni.Object, arg3 *jni.Object, arg4 *jni.Object, ) (bool, error)
RegisterApp calls android.bluetooth.BluetoothHidDevice.registerApp.
func (*HidDevice) ReplyReport ¶ added in v0.0.7
func (m *HidDevice) ReplyReport( arg0 *jni.Object, arg1 int8, arg2 int8, arg3 *jni.Object, ) (bool, error)
ReplyReport calls android.bluetooth.BluetoothHidDevice.replyReport.
func (*HidDevice) ReportError ¶ added in v0.0.7
ReportError calls android.bluetooth.BluetoothHidDevice.reportError.
func (*HidDevice) SendReport ¶ added in v0.0.7
SendReport calls android.bluetooth.BluetoothHidDevice.sendReport.
func (*HidDevice) UnregisterApp ¶ added in v0.0.7
UnregisterApp calls android.bluetooth.BluetoothHidDevice.unregisterApp.
type HidDeviceAppQosSettings ¶ added in v0.0.7
HidDeviceAppQosSettings wraps android.bluetooth.BluetoothHidDeviceAppQosSettings.
func NewHidDeviceAppQosSettings ¶ added in v0.0.7
func NewHidDeviceAppQosSettings(vm *jni.VM, arg0 int32, arg1 int32, arg2 int32, arg3 int32, arg4 int32, arg5 int32) (*HidDeviceAppQosSettings, error)
NewHidDeviceAppQosSettings creates a new android.bluetooth.BluetoothHidDeviceAppQosSettings instance.
func (*HidDeviceAppQosSettings) DescribeContents ¶ added in v0.0.7
func (m *HidDeviceAppQosSettings) DescribeContents() (int32, error)
DescribeContents calls android.bluetooth.BluetoothHidDeviceAppQosSettings.describeContents.
func (*HidDeviceAppQosSettings) GetDelayVariation ¶ added in v0.0.7
func (m *HidDeviceAppQosSettings) GetDelayVariation() (int32, error)
GetDelayVariation calls android.bluetooth.BluetoothHidDeviceAppQosSettings.getDelayVariation.
func (*HidDeviceAppQosSettings) GetLatency ¶ added in v0.0.7
func (m *HidDeviceAppQosSettings) GetLatency() (int32, error)
GetLatency calls android.bluetooth.BluetoothHidDeviceAppQosSettings.getLatency.
func (*HidDeviceAppQosSettings) GetPeakBandwidth ¶ added in v0.0.7
func (m *HidDeviceAppQosSettings) GetPeakBandwidth() (int32, error)
GetPeakBandwidth calls android.bluetooth.BluetoothHidDeviceAppQosSettings.getPeakBandwidth.
func (*HidDeviceAppQosSettings) GetServiceType ¶ added in v0.0.7
func (m *HidDeviceAppQosSettings) GetServiceType() (int32, error)
GetServiceType calls android.bluetooth.BluetoothHidDeviceAppQosSettings.getServiceType.
func (*HidDeviceAppQosSettings) GetTokenBucketSize ¶ added in v0.0.7
func (m *HidDeviceAppQosSettings) GetTokenBucketSize() (int32, error)
GetTokenBucketSize calls android.bluetooth.BluetoothHidDeviceAppQosSettings.getTokenBucketSize.
func (*HidDeviceAppQosSettings) GetTokenRate ¶ added in v0.0.7
func (m *HidDeviceAppQosSettings) GetTokenRate() (int32, error)
GetTokenRate calls android.bluetooth.BluetoothHidDeviceAppQosSettings.getTokenRate.
func (*HidDeviceAppQosSettings) WriteToParcel ¶ added in v0.0.7
func (m *HidDeviceAppQosSettings) WriteToParcel(arg0 *jni.Object, arg1 int32) error
WriteToParcel calls android.bluetooth.BluetoothHidDeviceAppQosSettings.writeToParcel.
type HidDeviceAppSdpSettings ¶ added in v0.0.7
HidDeviceAppSdpSettings wraps android.bluetooth.BluetoothHidDeviceAppSdpSettings.
func NewHidDeviceAppSdpSettings ¶ added in v0.0.7
func NewHidDeviceAppSdpSettings(vm *jni.VM, arg0 string, arg1 string, arg2 string, arg3 int8, arg4 *jni.Object) (*HidDeviceAppSdpSettings, error)
NewHidDeviceAppSdpSettings creates a new android.bluetooth.BluetoothHidDeviceAppSdpSettings instance.
func (*HidDeviceAppSdpSettings) DescribeContents ¶ added in v0.0.7
func (m *HidDeviceAppSdpSettings) DescribeContents() (int32, error)
DescribeContents calls android.bluetooth.BluetoothHidDeviceAppSdpSettings.describeContents.
func (*HidDeviceAppSdpSettings) GetDescription ¶ added in v0.0.7
func (m *HidDeviceAppSdpSettings) GetDescription() (string, error)
GetDescription calls android.bluetooth.BluetoothHidDeviceAppSdpSettings.getDescription.
func (*HidDeviceAppSdpSettings) GetDescriptors ¶ added in v0.0.7
func (m *HidDeviceAppSdpSettings) GetDescriptors() (*jni.Object, error)
GetDescriptors calls android.bluetooth.BluetoothHidDeviceAppSdpSettings.getDescriptors.
func (*HidDeviceAppSdpSettings) GetName ¶ added in v0.0.7
func (m *HidDeviceAppSdpSettings) GetName() (string, error)
GetName calls android.bluetooth.BluetoothHidDeviceAppSdpSettings.getName.
func (*HidDeviceAppSdpSettings) GetProvider ¶ added in v0.0.7
func (m *HidDeviceAppSdpSettings) GetProvider() (string, error)
GetProvider calls android.bluetooth.BluetoothHidDeviceAppSdpSettings.getProvider.
func (*HidDeviceAppSdpSettings) GetSubclass ¶ added in v0.0.7
func (m *HidDeviceAppSdpSettings) GetSubclass() (int8, error)
GetSubclass calls android.bluetooth.BluetoothHidDeviceAppSdpSettings.getSubclass.
func (*HidDeviceAppSdpSettings) WriteToParcel ¶ added in v0.0.7
func (m *HidDeviceAppSdpSettings) WriteToParcel(arg0 *jni.Object, arg1 int32) error
WriteToParcel calls android.bluetooth.BluetoothHidDeviceAppSdpSettings.writeToParcel.
type HidDeviceCallback ¶ added in v0.0.7
HidDeviceCallback wraps android.bluetooth.BluetoothHidDevice$Callback.
func (*HidDeviceCallback) OnAppStatusChanged ¶ added in v0.0.7
func (m *HidDeviceCallback) OnAppStatusChanged(arg0 *jni.Object, arg1 bool) error
OnAppStatusChanged calls android.bluetooth.BluetoothHidDevice$Callback.onAppStatusChanged.
func (*HidDeviceCallback) OnConnectionStateChanged ¶ added in v0.0.7
func (m *HidDeviceCallback) OnConnectionStateChanged(arg0 *jni.Object, arg1 int32) error
OnConnectionStateChanged calls android.bluetooth.BluetoothHidDevice$Callback.onConnectionStateChanged.
func (*HidDeviceCallback) OnGetReport ¶ added in v0.0.7
func (m *HidDeviceCallback) OnGetReport( arg0 *jni.Object, arg1 int8, arg2 int8, arg3 int32, ) error
OnGetReport calls android.bluetooth.BluetoothHidDevice$Callback.onGetReport.
func (*HidDeviceCallback) OnInterruptData ¶ added in v0.0.7
OnInterruptData calls android.bluetooth.BluetoothHidDevice$Callback.onInterruptData.
func (*HidDeviceCallback) OnSetProtocol ¶ added in v0.0.7
func (m *HidDeviceCallback) OnSetProtocol(arg0 *jni.Object, arg1 int8) error
OnSetProtocol calls android.bluetooth.BluetoothHidDevice$Callback.onSetProtocol.
func (*HidDeviceCallback) OnSetReport ¶ added in v0.0.7
func (m *HidDeviceCallback) OnSetReport( arg0 *jni.Object, arg1 int8, arg2 int8, arg3 *jni.Object, ) error
OnSetReport calls android.bluetooth.BluetoothHidDevice$Callback.onSetReport.
func (*HidDeviceCallback) OnVirtualCableUnplug ¶ added in v0.0.7
func (m *HidDeviceCallback) OnVirtualCableUnplug(arg0 *jni.Object) error
OnVirtualCableUnplug calls android.bluetooth.BluetoothHidDevice$Callback.onVirtualCableUnplug.
type LeAudio ¶ added in v0.0.7
LeAudio wraps android.bluetooth.BluetoothLeAudio.
func (*LeAudio) GetConnectedGroupLeadDevice ¶ added in v0.0.7
GetConnectedGroupLeadDevice calls android.bluetooth.BluetoothLeAudio.getConnectedGroupLeadDevice.
func (*LeAudio) GetConnectionState ¶ added in v0.0.7
GetConnectionState calls android.bluetooth.BluetoothLeAudio.getConnectionState.
type LeAudioCodecConfig ¶ added in v0.0.7
LeAudioCodecConfig wraps android.bluetooth.BluetoothLeAudioCodecConfig.
func (*LeAudioCodecConfig) DescribeContents ¶ added in v0.0.7
func (m *LeAudioCodecConfig) DescribeContents() (int32, error)
DescribeContents calls android.bluetooth.BluetoothLeAudioCodecConfig.describeContents.
func (*LeAudioCodecConfig) Equals ¶ added in v0.0.7
func (m *LeAudioCodecConfig) Equals(arg0 *jni.Object) (bool, error)
Equals calls android.bluetooth.BluetoothLeAudioCodecConfig.equals.
func (*LeAudioCodecConfig) GetBitsPerSample ¶ added in v0.0.7
func (m *LeAudioCodecConfig) GetBitsPerSample() (int32, error)
GetBitsPerSample calls android.bluetooth.BluetoothLeAudioCodecConfig.getBitsPerSample.
func (*LeAudioCodecConfig) GetChannelCount ¶ added in v0.0.7
func (m *LeAudioCodecConfig) GetChannelCount() (int32, error)
GetChannelCount calls android.bluetooth.BluetoothLeAudioCodecConfig.getChannelCount.
func (*LeAudioCodecConfig) GetCodecName ¶ added in v0.0.7
func (m *LeAudioCodecConfig) GetCodecName() (string, error)
GetCodecName calls android.bluetooth.BluetoothLeAudioCodecConfig.getCodecName.
func (*LeAudioCodecConfig) GetCodecPriority ¶ added in v0.0.7
func (m *LeAudioCodecConfig) GetCodecPriority() (int32, error)
GetCodecPriority calls android.bluetooth.BluetoothLeAudioCodecConfig.getCodecPriority.
func (*LeAudioCodecConfig) GetCodecType ¶ added in v0.0.7
func (m *LeAudioCodecConfig) GetCodecType() (int32, error)
GetCodecType calls android.bluetooth.BluetoothLeAudioCodecConfig.getCodecType.
func (*LeAudioCodecConfig) GetFrameDuration ¶ added in v0.0.7
func (m *LeAudioCodecConfig) GetFrameDuration() (int32, error)
GetFrameDuration calls android.bluetooth.BluetoothLeAudioCodecConfig.getFrameDuration.
func (*LeAudioCodecConfig) GetMaxOctetsPerFrame ¶ added in v0.0.7
func (m *LeAudioCodecConfig) GetMaxOctetsPerFrame() (int32, error)
GetMaxOctetsPerFrame calls android.bluetooth.BluetoothLeAudioCodecConfig.getMaxOctetsPerFrame.
func (*LeAudioCodecConfig) GetMinOctetsPerFrame ¶ added in v0.0.7
func (m *LeAudioCodecConfig) GetMinOctetsPerFrame() (int32, error)
GetMinOctetsPerFrame calls android.bluetooth.BluetoothLeAudioCodecConfig.getMinOctetsPerFrame.
func (*LeAudioCodecConfig) GetOctetsPerFrame ¶ added in v0.0.7
func (m *LeAudioCodecConfig) GetOctetsPerFrame() (int32, error)
GetOctetsPerFrame calls android.bluetooth.BluetoothLeAudioCodecConfig.getOctetsPerFrame.
func (*LeAudioCodecConfig) GetSampleRate ¶ added in v0.0.7
func (m *LeAudioCodecConfig) GetSampleRate() (int32, error)
GetSampleRate calls android.bluetooth.BluetoothLeAudioCodecConfig.getSampleRate.
func (*LeAudioCodecConfig) HashCode ¶ added in v0.0.7
func (m *LeAudioCodecConfig) HashCode() (int32, error)
HashCode calls android.bluetooth.BluetoothLeAudioCodecConfig.hashCode.
func (*LeAudioCodecConfig) ToString ¶ added in v0.0.7
func (m *LeAudioCodecConfig) ToString() (string, error)
ToString calls android.bluetooth.BluetoothLeAudioCodecConfig.toString.
func (*LeAudioCodecConfig) WriteToParcel ¶ added in v0.0.7
func (m *LeAudioCodecConfig) WriteToParcel(arg0 *jni.Object, arg1 int32) error
WriteToParcel calls android.bluetooth.BluetoothLeAudioCodecConfig.writeToParcel.
type LeAudioCodecConfigBuilder ¶ added in v0.0.7
LeAudioCodecConfigBuilder wraps android.bluetooth.BluetoothLeAudioCodecConfig$Builder.
func (*LeAudioCodecConfigBuilder) Build ¶ added in v0.0.7
func (m *LeAudioCodecConfigBuilder) Build() (*jni.Object, error)
Build calls android.bluetooth.BluetoothLeAudioCodecConfig$Builder.build.
func (*LeAudioCodecConfigBuilder) SetBitsPerSample ¶ added in v0.0.7
func (m *LeAudioCodecConfigBuilder) SetBitsPerSample(arg0 int32) (*jni.Object, error)
SetBitsPerSample calls android.bluetooth.BluetoothLeAudioCodecConfig$Builder.setBitsPerSample.
func (*LeAudioCodecConfigBuilder) SetChannelCount ¶ added in v0.0.7
func (m *LeAudioCodecConfigBuilder) SetChannelCount(arg0 int32) (*jni.Object, error)
SetChannelCount calls android.bluetooth.BluetoothLeAudioCodecConfig$Builder.setChannelCount.
func (*LeAudioCodecConfigBuilder) SetCodecPriority ¶ added in v0.0.7
func (m *LeAudioCodecConfigBuilder) SetCodecPriority(arg0 int32) (*jni.Object, error)
SetCodecPriority calls android.bluetooth.BluetoothLeAudioCodecConfig$Builder.setCodecPriority.
func (*LeAudioCodecConfigBuilder) SetCodecType ¶ added in v0.0.7
func (m *LeAudioCodecConfigBuilder) SetCodecType(arg0 int32) (*jni.Object, error)
SetCodecType calls android.bluetooth.BluetoothLeAudioCodecConfig$Builder.setCodecType.
func (*LeAudioCodecConfigBuilder) SetFrameDuration ¶ added in v0.0.7
func (m *LeAudioCodecConfigBuilder) SetFrameDuration(arg0 int32) (*jni.Object, error)
SetFrameDuration calls android.bluetooth.BluetoothLeAudioCodecConfig$Builder.setFrameDuration.
func (*LeAudioCodecConfigBuilder) SetMaxOctetsPerFrame ¶ added in v0.0.7
func (m *LeAudioCodecConfigBuilder) SetMaxOctetsPerFrame(arg0 int32) (*jni.Object, error)
SetMaxOctetsPerFrame calls android.bluetooth.BluetoothLeAudioCodecConfig$Builder.setMaxOctetsPerFrame.
func (*LeAudioCodecConfigBuilder) SetMinOctetsPerFrame ¶ added in v0.0.7
func (m *LeAudioCodecConfigBuilder) SetMinOctetsPerFrame(arg0 int32) (*jni.Object, error)
SetMinOctetsPerFrame calls android.bluetooth.BluetoothLeAudioCodecConfig$Builder.setMinOctetsPerFrame.
func (*LeAudioCodecConfigBuilder) SetOctetsPerFrame ¶ added in v0.0.7
func (m *LeAudioCodecConfigBuilder) SetOctetsPerFrame(arg0 int32) (*jni.Object, error)
SetOctetsPerFrame calls android.bluetooth.BluetoothLeAudioCodecConfig$Builder.setOctetsPerFrame.
func (*LeAudioCodecConfigBuilder) SetSampleRate ¶ added in v0.0.7
func (m *LeAudioCodecConfigBuilder) SetSampleRate(arg0 int32) (*jni.Object, error)
SetSampleRate calls android.bluetooth.BluetoothLeAudioCodecConfig$Builder.setSampleRate.
type LeAudioCodecStatus ¶ added in v0.0.7
LeAudioCodecStatus wraps android.bluetooth.BluetoothLeAudioCodecStatus.
func NewLeAudioCodecStatus ¶ added in v0.0.7
func NewLeAudioCodecStatus(vm *jni.VM, arg0 *jni.Object, arg1 *jni.Object, arg2 *jni.Object, arg3 *jni.Object, arg4 *jni.Object, arg5 *jni.Object) (*LeAudioCodecStatus, error)
NewLeAudioCodecStatus creates a new android.bluetooth.BluetoothLeAudioCodecStatus instance.
func (*LeAudioCodecStatus) DescribeContents ¶ added in v0.0.7
func (m *LeAudioCodecStatus) DescribeContents() (int32, error)
DescribeContents calls android.bluetooth.BluetoothLeAudioCodecStatus.describeContents.
func (*LeAudioCodecStatus) Equals ¶ added in v0.0.7
func (m *LeAudioCodecStatus) Equals(arg0 *jni.Object) (bool, error)
Equals calls android.bluetooth.BluetoothLeAudioCodecStatus.equals.
func (*LeAudioCodecStatus) GetInputCodecConfig ¶ added in v0.0.7
func (m *LeAudioCodecStatus) GetInputCodecConfig() (*jni.Object, error)
GetInputCodecConfig calls android.bluetooth.BluetoothLeAudioCodecStatus.getInputCodecConfig.
func (*LeAudioCodecStatus) GetOutputCodecConfig ¶ added in v0.0.7
func (m *LeAudioCodecStatus) GetOutputCodecConfig() (*jni.Object, error)
GetOutputCodecConfig calls android.bluetooth.BluetoothLeAudioCodecStatus.getOutputCodecConfig.
func (*LeAudioCodecStatus) HashCode ¶ added in v0.0.7
func (m *LeAudioCodecStatus) HashCode() (int32, error)
HashCode calls android.bluetooth.BluetoothLeAudioCodecStatus.hashCode.
func (*LeAudioCodecStatus) IsInputCodecConfigSelectable ¶ added in v0.0.7
func (m *LeAudioCodecStatus) IsInputCodecConfigSelectable(arg0 *jni.Object) (bool, error)
IsInputCodecConfigSelectable calls android.bluetooth.BluetoothLeAudioCodecStatus.isInputCodecConfigSelectable.
func (*LeAudioCodecStatus) IsOutputCodecConfigSelectable ¶ added in v0.0.7
func (m *LeAudioCodecStatus) IsOutputCodecConfigSelectable(arg0 *jni.Object) (bool, error)
IsOutputCodecConfigSelectable calls android.bluetooth.BluetoothLeAudioCodecStatus.isOutputCodecConfigSelectable.
func (*LeAudioCodecStatus) ToString ¶ added in v0.0.7
func (m *LeAudioCodecStatus) ToString() (string, error)
ToString calls android.bluetooth.BluetoothLeAudioCodecStatus.toString.
func (*LeAudioCodecStatus) WriteToParcel ¶ added in v0.0.7
func (m *LeAudioCodecStatus) WriteToParcel(arg0 *jni.Object, arg1 int32) error
WriteToParcel calls android.bluetooth.BluetoothLeAudioCodecStatus.writeToParcel.
type Manager ¶ added in v0.0.7
Manager wraps android.bluetooth.BluetoothManager.
func NewManager ¶ added in v0.0.7
NewManager obtains android.bluetooth.BluetoothManager from the Android system service manager.
func (*Manager) Close ¶ added in v0.0.7
func (m *Manager) Close()
Close releases the global reference to the underlying Java object. After Close, the Manager must not be used.
func (*Manager) GetAdapter ¶ added in v0.0.7
GetAdapter calls android.bluetooth.BluetoothManager.getAdapter.
func (*Manager) GetConnectionState ¶ added in v0.0.7
GetConnectionState calls android.bluetooth.BluetoothManager.getConnectionState.
type ProfileServiceListener ¶ added in v0.0.7
ProfileServiceListener wraps android.bluetooth.BluetoothProfile$ServiceListener.
func (*ProfileServiceListener) OnServiceConnected ¶ added in v0.0.7
func (m *ProfileServiceListener) OnServiceConnected(arg0 int32, arg1 *jni.Object) error
OnServiceConnected calls android.bluetooth.BluetoothProfile$ServiceListener.onServiceConnected.
func (*ProfileServiceListener) OnServiceDisconnected ¶ added in v0.0.7
func (m *ProfileServiceListener) OnServiceDisconnected(arg0 int32) error
OnServiceDisconnected calls android.bluetooth.BluetoothProfile$ServiceListener.onServiceDisconnected.
type ServerSocket ¶ added in v0.0.4
ServerSocket wraps android.bluetooth.BluetoothServerSocket.
func (*ServerSocket) Accept0 ¶ added in v0.0.4
func (m *ServerSocket) Accept0() (*jni.Object, error)
Accept0 calls android.bluetooth.BluetoothServerSocket.accept.
func (*ServerSocket) Accept1_1 ¶ added in v0.0.4
func (m *ServerSocket) Accept1_1(arg0 int32) (*jni.Object, error)
Accept1_1 calls android.bluetooth.BluetoothServerSocket.accept.
func (*ServerSocket) Close ¶ added in v0.0.4
func (m *ServerSocket) Close() error
Close calls android.bluetooth.BluetoothServerSocket.close.
func (*ServerSocket) GetPsm ¶ added in v0.0.4
func (m *ServerSocket) GetPsm() (int32, error)
GetPsm calls android.bluetooth.BluetoothServerSocket.getPsm.
func (*ServerSocket) ToString ¶ added in v0.0.4
func (m *ServerSocket) ToString() (string, error)
ToString calls android.bluetooth.BluetoothServerSocket.toString.
type Socket ¶ added in v0.0.4
Socket wraps android.bluetooth.BluetoothSocket.
func (*Socket) GetConnectionType ¶ added in v0.0.4
GetConnectionType calls android.bluetooth.BluetoothSocket.getConnectionType.
func (*Socket) GetInputStream ¶ added in v0.0.4
GetInputStream calls android.bluetooth.BluetoothSocket.getInputStream.
func (*Socket) GetMaxReceivePacketSize ¶ added in v0.0.4
GetMaxReceivePacketSize calls android.bluetooth.BluetoothSocket.getMaxReceivePacketSize.
func (*Socket) GetMaxTransmitPacketSize ¶ added in v0.0.4
GetMaxTransmitPacketSize calls android.bluetooth.BluetoothSocket.getMaxTransmitPacketSize.
func (*Socket) GetOutputStream ¶ added in v0.0.4
GetOutputStream calls android.bluetooth.BluetoothSocket.getOutputStream.
func (*Socket) GetRemoteDevice ¶ added in v0.0.4
GetRemoteDevice calls android.bluetooth.BluetoothSocket.getRemoteDevice.
func (*Socket) IsConnected ¶ added in v0.0.4
IsConnected calls android.bluetooth.BluetoothSocket.isConnected.
type SocketException ¶ added in v0.0.7
SocketException wraps android.bluetooth.BluetoothSocketException.
func NewSocketException ¶ added in v0.0.7
func NewSocketException(vm *jni.VM, arg0 int32) (*SocketException, error)
NewSocketException creates a new android.bluetooth.BluetoothSocketException instance.
func (*SocketException) GetErrorCode ¶ added in v0.0.7
func (m *SocketException) GetErrorCode() (int32, error)
GetErrorCode calls android.bluetooth.BluetoothSocketException.getErrorCode.
type SocketSettings ¶ added in v0.0.7
SocketSettings wraps android.bluetooth.BluetoothSocketSettings.
func (*SocketSettings) GetL2capPsm ¶ added in v0.0.7
func (m *SocketSettings) GetL2capPsm() (int32, error)
GetL2capPsm calls android.bluetooth.BluetoothSocketSettings.getL2capPsm.
func (*SocketSettings) GetRfcommServiceName ¶ added in v0.0.7
func (m *SocketSettings) GetRfcommServiceName() (string, error)
GetRfcommServiceName calls android.bluetooth.BluetoothSocketSettings.getRfcommServiceName.
func (*SocketSettings) GetRfcommUuid ¶ added in v0.0.7
func (m *SocketSettings) GetRfcommUuid() (*jni.Object, error)
GetRfcommUuid calls android.bluetooth.BluetoothSocketSettings.getRfcommUuid.
func (*SocketSettings) GetSocketType ¶ added in v0.0.7
func (m *SocketSettings) GetSocketType() (int32, error)
GetSocketType calls android.bluetooth.BluetoothSocketSettings.getSocketType.
func (*SocketSettings) IsAuthenticationRequired ¶ added in v0.0.7
func (m *SocketSettings) IsAuthenticationRequired() (bool, error)
IsAuthenticationRequired calls android.bluetooth.BluetoothSocketSettings.isAuthenticationRequired.
func (*SocketSettings) IsEncryptionRequired ¶ added in v0.0.7
func (m *SocketSettings) IsEncryptionRequired() (bool, error)
IsEncryptionRequired calls android.bluetooth.BluetoothSocketSettings.isEncryptionRequired.
func (*SocketSettings) ToString ¶ added in v0.0.7
func (m *SocketSettings) ToString() (string, error)
ToString calls android.bluetooth.BluetoothSocketSettings.toString.
type SocketSettingsBuilder ¶ added in v0.0.7
SocketSettingsBuilder wraps android.bluetooth.BluetoothSocketSettings$Builder.
func (*SocketSettingsBuilder) Build ¶ added in v0.0.7
func (m *SocketSettingsBuilder) Build() (*jni.Object, error)
Build calls android.bluetooth.BluetoothSocketSettings$Builder.build.
func (*SocketSettingsBuilder) SetAuthenticationRequired ¶ added in v0.0.7
func (m *SocketSettingsBuilder) SetAuthenticationRequired(arg0 bool) (*jni.Object, error)
SetAuthenticationRequired calls android.bluetooth.BluetoothSocketSettings$Builder.setAuthenticationRequired.
func (*SocketSettingsBuilder) SetEncryptionRequired ¶ added in v0.0.7
func (m *SocketSettingsBuilder) SetEncryptionRequired(arg0 bool) (*jni.Object, error)
SetEncryptionRequired calls android.bluetooth.BluetoothSocketSettings$Builder.setEncryptionRequired.
func (*SocketSettingsBuilder) SetL2capPsm ¶ added in v0.0.7
func (m *SocketSettingsBuilder) SetL2capPsm(arg0 int32) (*jni.Object, error)
SetL2capPsm calls android.bluetooth.BluetoothSocketSettings$Builder.setL2capPsm.
func (*SocketSettingsBuilder) SetRfcommServiceName ¶ added in v0.0.7
func (m *SocketSettingsBuilder) SetRfcommServiceName(arg0 string) (*jni.Object, error)
SetRfcommServiceName calls android.bluetooth.BluetoothSocketSettings$Builder.setRfcommServiceName.
func (*SocketSettingsBuilder) SetRfcommUuid ¶ added in v0.0.7
SetRfcommUuid calls android.bluetooth.BluetoothSocketSettings$Builder.setRfcommUuid.
func (*SocketSettingsBuilder) SetSocketType ¶ added in v0.0.7
func (m *SocketSettingsBuilder) SetSocketType(arg0 int32) (*jni.Object, error)
SetSocketType calls android.bluetooth.BluetoothSocketSettings$Builder.setSocketType.
Source Files
¶
- a2dp.go
- adapter.go
- adapter_le_scan_callback.go
- class.go
- codec_config.go
- codec_config_builder.go
- codec_status.go
- codec_status_builder.go
- codec_type.go
- constants.go
- csip_set_coordinator.go
- device.go
- device_bluetooth_address.go
- doc.go
- gatt.go
- gatt_callback.go
- gatt_characteristic.go
- gatt_descriptor.go
- gatt_server.go
- gatt_server_callback.go
- gatt_service.go
- headset.go
- health.go
- health_app_configuration.go
- health_callback.go
- hearing_aid.go
- hid_device.go
- hid_device_app_qos_settings.go
- hid_device_app_sdp_settings.go
- hid_device_callback.go
- init.go
- le_audio.go
- le_audio_codec_config.go
- le_audio_codec_config_builder.go
- le_audio_codec_status.go
- manager.go
- new_adapter.go
- profile.go
- profile_service_listener.go
- server_socket.go
- socket.go
- socket_exception.go
- socket_settings.go
- socket_settings_builder.go