Documentation
¶
Index ¶
- Constants
- type AdapterProxy
- func (p *AdapterProxy) AsBinder() binder.IBinder
- func (p *AdapterProxy) BleOnToOff(ctx context.Context) error
- func (p *AdapterProxy) BleOnToOn(ctx context.Context) error
- func (p *AdapterProxy) KillBluetoothProcess(ctx context.Context) error
- func (p *AdapterProxy) OffToBleOn(ctx context.Context, quietMode bool, hciInstanceName string) error
- func (p *AdapterProxy) OnToBleOn(ctx context.Context) error
- func (p *AdapterProxy) RegisterCallback(ctx context.Context, callback IBluetoothCallback) error
- func (p *AdapterProxy) UnregAllGattClient(ctx context.Context) error
- func (p *AdapterProxy) UnregisterCallback(ctx context.Context, callback IBluetoothCallback) error
- type AdapterStub
- type AudioInputCallbackProxy
- func (p *AudioInputCallbackProxy) AsBinder() binder.IBinder
- func (p *AudioInputCallbackProxy) OnDescriptionChanged(ctx context.Context, description string) error
- func (p *AudioInputCallbackProxy) OnSetGainModeFailed(ctx context.Context) error
- func (p *AudioInputCallbackProxy) OnSetGainSettingFailed(ctx context.Context) error
- func (p *AudioInputCallbackProxy) OnSetMuteFailed(ctx context.Context) error
- func (p *AudioInputCallbackProxy) OnStateChanged(ctx context.Context, gainSetting int32, mute int32, gainMode int32) error
- func (p *AudioInputCallbackProxy) OnStatusChanged(ctx context.Context, status int32) error
- type AudioInputCallbackStub
- type BluetoothA2dpProxy
- func (p *BluetoothA2dpProxy) AsBinder() binder.IBinder
- func (p *BluetoothA2dpProxy) Connect(ctx context.Context, device BluetoothDevice, ...) (bool, error)
- func (p *BluetoothA2dpProxy) DisableOptionalCodecs(ctx context.Context, device BluetoothDevice, ...) error
- func (p *BluetoothA2dpProxy) Disconnect(ctx context.Context, device BluetoothDevice, ...) (bool, error)
- func (p *BluetoothA2dpProxy) EnableOptionalCodecs(ctx context.Context, device BluetoothDevice, ...) error
- func (p *BluetoothA2dpProxy) GetActiveDevice(ctx context.Context, attributionSource content.AttributionSource) (BluetoothDevice, error)
- func (p *BluetoothA2dpProxy) GetBufferConstraints(ctx context.Context, attributionSource content.AttributionSource) (BufferConstraints, error)
- func (p *BluetoothA2dpProxy) GetCodecStatus(ctx context.Context, device BluetoothDevice, ...) (BluetoothCodecStatus, error)
- func (p *BluetoothA2dpProxy) GetConnectedDevices(ctx context.Context, attributionSource content.AttributionSource) ([]BluetoothDevice, error)
- func (p *BluetoothA2dpProxy) GetConnectionPolicy(ctx context.Context, device BluetoothDevice, ...) (int32, error)
- func (p *BluetoothA2dpProxy) GetConnectionState(ctx context.Context, device BluetoothDevice, ...) (int32, error)
- func (p *BluetoothA2dpProxy) GetDevicesMatchingConnectionStates(ctx context.Context, states []int32, ...) ([]BluetoothDevice, error)
- func (p *BluetoothA2dpProxy) GetDynamicBufferSupport(ctx context.Context, attributionSource content.AttributionSource) (int32, error)
- func (p *BluetoothA2dpProxy) GetSupportedCodecTypes(ctx context.Context) ([]BluetoothCodecType, error)
- func (p *BluetoothA2dpProxy) IsA2dpPlaying(ctx context.Context, device BluetoothDevice, ...) (bool, error)
- func (p *BluetoothA2dpProxy) IsOptionalCodecsEnabled(ctx context.Context, device BluetoothDevice, ...) (int32, error)
- func (p *BluetoothA2dpProxy) IsOptionalCodecsSupported(ctx context.Context, device BluetoothDevice, ...) (int32, error)
- func (p *BluetoothA2dpProxy) SetActiveDevice(ctx context.Context, device BluetoothDevice, ...) (bool, error)
- func (p *BluetoothA2dpProxy) SetAvrcpAbsoluteVolume(ctx context.Context, volume int32, attributionSource content.AttributionSource) error
- func (p *BluetoothA2dpProxy) SetBufferLengthMillis(ctx context.Context, codec int32, size int32, ...) (bool, error)
- func (p *BluetoothA2dpProxy) SetCodecConfigPreference(ctx context.Context, device BluetoothDevice, codecConfig BluetoothCodecConfig, ...) error
- func (p *BluetoothA2dpProxy) SetConnectionPolicy(ctx context.Context, device BluetoothDevice, connectionPolicy int32, ...) (bool, error)
- func (p *BluetoothA2dpProxy) SetOptionalCodecsEnabled(ctx context.Context, device BluetoothDevice, value int32, ...) error
- type BluetoothA2dpSinkProxy
- func (p *BluetoothA2dpSinkProxy) AsBinder() binder.IBinder
- func (p *BluetoothA2dpSinkProxy) Connect(ctx context.Context, device BluetoothDevice, ...) (bool, error)
- func (p *BluetoothA2dpSinkProxy) Disconnect(ctx context.Context, device BluetoothDevice, ...) (bool, error)
- func (p *BluetoothA2dpSinkProxy) GetAudioConfig(ctx context.Context, device BluetoothDevice, ...) (BluetoothAudioConfig, error)
- func (p *BluetoothA2dpSinkProxy) GetConnectedDevices(ctx context.Context, attributionSource content.AttributionSource) ([]BluetoothDevice, error)
- func (p *BluetoothA2dpSinkProxy) GetConnectionPolicy(ctx context.Context, device BluetoothDevice, ...) (int32, error)
- func (p *BluetoothA2dpSinkProxy) GetConnectionState(ctx context.Context, device BluetoothDevice, ...) (int32, error)
- func (p *BluetoothA2dpSinkProxy) GetDevicesMatchingConnectionStates(ctx context.Context, states []int32, ...) ([]BluetoothDevice, error)
- func (p *BluetoothA2dpSinkProxy) IsA2dpPlaying(ctx context.Context, device BluetoothDevice, ...) (bool, error)
- func (p *BluetoothA2dpSinkProxy) SetConnectionPolicy(ctx context.Context, device BluetoothDevice, connectionPolicy int32, ...) (bool, error)
- type BluetoothA2dpSinkStub
- type BluetoothA2dpStub
- type BluetoothActivityEnergyInfo
- type BluetoothActivityEnergyInfoListenerProxy
- type BluetoothActivityEnergyInfoListenerStub
- type BluetoothAdvertiseProxy
- func (p *BluetoothAdvertiseProxy) AsBinder() binder.IBinder
- func (p *BluetoothAdvertiseProxy) EnableAdvertisingSet(ctx context.Context, advertiserId int32, enable bool, duration int32, ...) error
- func (p *BluetoothAdvertiseProxy) GetOwnAddress(ctx context.Context, advertiserId int32, ...) error
- func (p *BluetoothAdvertiseProxy) SetAdvertisingData(ctx context.Context, advertiserId int32, data le.AdvertiseData, ...) error
- func (p *BluetoothAdvertiseProxy) SetAdvertisingParameters(ctx context.Context, advertiserId int32, ...) error
- func (p *BluetoothAdvertiseProxy) SetPeriodicAdvertisingData(ctx context.Context, advertiserId int32, data le.AdvertiseData, ...) error
- func (p *BluetoothAdvertiseProxy) SetPeriodicAdvertisingEnable(ctx context.Context, advertiserId int32, enable bool, ...) error
- func (p *BluetoothAdvertiseProxy) SetPeriodicAdvertisingParameters(ctx context.Context, advertiserId int32, ...) error
- func (p *BluetoothAdvertiseProxy) SetScanResponseData(ctx context.Context, advertiserId int32, data le.AdvertiseData, ...) error
- func (p *BluetoothAdvertiseProxy) StartAdvertisingSet(ctx context.Context, parameters le.AdvertisingSetParameters, ...) error
- func (p *BluetoothAdvertiseProxy) StopAdvertisingSet(ctx context.Context, callback le.IAdvertisingSetCallback, ...) error
- type BluetoothAdvertiseStub
- type BluetoothAudioConfig
- type BluetoothAvrcpControllerProxy
- func (p *BluetoothAvrcpControllerProxy) AsBinder() binder.IBinder
- func (p *BluetoothAvrcpControllerProxy) GetConnectedDevices(ctx context.Context, attributionSource content.AttributionSource) ([]BluetoothDevice, error)
- func (p *BluetoothAvrcpControllerProxy) GetConnectionState(ctx context.Context, device BluetoothDevice, ...) (int32, error)
- func (p *BluetoothAvrcpControllerProxy) GetDevicesMatchingConnectionStates(ctx context.Context, states []int32, ...) ([]BluetoothDevice, error)
- type BluetoothAvrcpControllerStub
- type BluetoothAvrcpPlayerSettings
- type BluetoothAvrcpTargetProxy
- type BluetoothAvrcpTargetStub
- type BluetoothBatteryProxy
- func (p *BluetoothBatteryProxy) AsBinder() binder.IBinder
- func (p *BluetoothBatteryProxy) Connect(ctx context.Context, device BluetoothDevice, ...) error
- func (p *BluetoothBatteryProxy) Disconnect(ctx context.Context, device BluetoothDevice, ...) error
- func (p *BluetoothBatteryProxy) GetConnectedDevices(ctx context.Context, attributionSource content.AttributionSource, receiver any) error
- func (p *BluetoothBatteryProxy) GetConnectionPolicy(ctx context.Context, device BluetoothDevice, ...) error
- func (p *BluetoothBatteryProxy) GetConnectionState(ctx context.Context, device BluetoothDevice, ...) error
- func (p *BluetoothBatteryProxy) GetDevicesMatchingConnectionStates(ctx context.Context, states []int32, ...) error
- func (p *BluetoothBatteryProxy) SetConnectionPolicy(ctx context.Context, device BluetoothDevice, connectionPolicy int32, ...) error
- type BluetoothBatteryStub
- type BluetoothBroadcastAudioScanBaseConfig
- type BluetoothCallbackProxy
- func (p *BluetoothCallbackProxy) AsBinder() binder.IBinder
- func (p *BluetoothCallbackProxy) OnAdapterAddressChange(ctx context.Context, address string) error
- func (p *BluetoothCallbackProxy) OnAdapterNameChange(ctx context.Context, name string) error
- func (p *BluetoothCallbackProxy) OnBluetoothStateChange(ctx context.Context, prevState int32, newState int32) error
- func (p *BluetoothCallbackProxy) OnMediaProfileConnectionChange(ctx context.Context, connected bool) error
- func (p *BluetoothCallbackProxy) OnWatchConnectionChange(ctx context.Context, connected bool) error
- func (p *BluetoothCallbackProxy) SetAdapterServiceBinder(ctx context.Context, adapterServiceBinder binder.IBinder) error
- type BluetoothCallbackStub
- type BluetoothClass
- type BluetoothCodecConfig
- type BluetoothCodecStatus
- type BluetoothCodecType
- type BluetoothConnectionCallbackProxy
- func (p *BluetoothConnectionCallbackProxy) AsBinder() binder.IBinder
- func (p *BluetoothConnectionCallbackProxy) OnDeviceConnected(ctx context.Context, device BluetoothDevice) error
- func (p *BluetoothConnectionCallbackProxy) OnDeviceDisconnected(ctx context.Context, device BluetoothDevice, hciReason int32) error
- type BluetoothConnectionCallbackStub
- type BluetoothCsipSetCoordinatorCallbackProxy
- type BluetoothCsipSetCoordinatorCallbackStub
- type BluetoothCsipSetCoordinatorLockCallbackProxy
- type BluetoothCsipSetCoordinatorLockCallbackStub
- type BluetoothCsipSetCoordinatorProxy
- func (p *BluetoothCsipSetCoordinatorProxy) AsBinder() binder.IBinder
- func (p *BluetoothCsipSetCoordinatorProxy) GetAllGroupIds(ctx context.Context, uuid os.ParcelUuid, ...) ([]any, error)
- func (p *BluetoothCsipSetCoordinatorProxy) GetConnectedDevices(ctx context.Context, attributionSource content.AttributionSource) ([]BluetoothDevice, error)
- func (p *BluetoothCsipSetCoordinatorProxy) GetConnectionPolicy(ctx context.Context, device BluetoothDevice, ...) (int32, error)
- func (p *BluetoothCsipSetCoordinatorProxy) GetConnectionState(ctx context.Context, device BluetoothDevice, ...) (int32, error)
- func (p *BluetoothCsipSetCoordinatorProxy) GetDesiredGroupSize(ctx context.Context, group_id int32, ...) (int32, error)
- func (p *BluetoothCsipSetCoordinatorProxy) GetDevicesMatchingConnectionStates(ctx context.Context, states []int32, ...) ([]BluetoothDevice, error)
- func (p *BluetoothCsipSetCoordinatorProxy) GetGroupUuidMapByDevice(ctx context.Context, device BluetoothDevice, ...) (map[any]any, error)
- func (p *BluetoothCsipSetCoordinatorProxy) LockGroup(ctx context.Context, groupId int32, ...) (os.ParcelUuid, error)
- func (p *BluetoothCsipSetCoordinatorProxy) SetConnectionPolicy(ctx context.Context, device BluetoothDevice, connectionPolicy int32, ...) (bool, error)
- func (p *BluetoothCsipSetCoordinatorProxy) UnlockGroup(ctx context.Context, lockUuid os.ParcelUuid, ...) error
- type BluetoothCsipSetCoordinatorStub
- type BluetoothDevice
- type BluetoothDeviceBluetoothAddress
- type BluetoothGattCallbackProxy
- func (p *BluetoothGattCallbackProxy) AsBinder() binder.IBinder
- func (p *BluetoothGattCallbackProxy) OnCharacteristicRead(ctx context.Context, device BluetoothDevice, status int32, handle int32, ...) error
- func (p *BluetoothGattCallbackProxy) OnCharacteristicWrite(ctx context.Context, device BluetoothDevice, status int32, handle int32, ...) error
- func (p *BluetoothGattCallbackProxy) OnClientConnectionState(ctx context.Context, status int32, connected bool, device BluetoothDevice) error
- func (p *BluetoothGattCallbackProxy) OnClientRegistered(ctx context.Context, status int32) error
- func (p *BluetoothGattCallbackProxy) OnConfigureMTU(ctx context.Context, device BluetoothDevice, mtu int32, status int32) error
- func (p *BluetoothGattCallbackProxy) OnConnectionUpdated(ctx context.Context, device BluetoothDevice, interval int32, latency int32, ...) error
- func (p *BluetoothGattCallbackProxy) OnDescriptorRead(ctx context.Context, device BluetoothDevice, status int32, handle int32, ...) error
- func (p *BluetoothGattCallbackProxy) OnDescriptorWrite(ctx context.Context, device BluetoothDevice, status int32, handle int32, ...) error
- func (p *BluetoothGattCallbackProxy) OnExecuteWrite(ctx context.Context, device BluetoothDevice, status int32) error
- func (p *BluetoothGattCallbackProxy) OnNotify(ctx context.Context, device BluetoothDevice, handle int32, value []byte) error
- func (p *BluetoothGattCallbackProxy) OnPhyRead(ctx context.Context, device BluetoothDevice, txPhy int32, rxPhy int32, ...) error
- func (p *BluetoothGattCallbackProxy) OnPhyUpdate(ctx context.Context, device BluetoothDevice, txPhy int32, rxPhy int32, ...) error
- func (p *BluetoothGattCallbackProxy) OnReadRemoteRssi(ctx context.Context, device BluetoothDevice, rssi int32, status int32) error
- func (p *BluetoothGattCallbackProxy) OnSearchComplete(ctx context.Context, device BluetoothDevice, services []BluetoothGattService, ...) error
- func (p *BluetoothGattCallbackProxy) OnServiceChanged(ctx context.Context, device BluetoothDevice) error
- func (p *BluetoothGattCallbackProxy) OnSubrateChange(ctx context.Context, device BluetoothDevice, subrateMode int32, status int32) error
- type BluetoothGattCallbackStub
- type BluetoothGattCharacteristic
- type BluetoothGattDescriptor
- type BluetoothGattIncludedService
- type BluetoothGattProxy
- func (p *BluetoothGattProxy) AddService(ctx context.Context, callback IBluetoothGattServerCallback, ...) error
- func (p *BluetoothGattProxy) AsBinder() binder.IBinder
- func (p *BluetoothGattProxy) BeginReliableWrite(ctx context.Context, device BluetoothDevice, ...) error
- func (p *BluetoothGattProxy) ClearServices(ctx context.Context, callback IBluetoothGattServerCallback, ...) error
- func (p *BluetoothGattProxy) ClientConnect(ctx context.Context, callback IBluetoothGattCallback, device BluetoothDevice, ...) error
- func (p *BluetoothGattProxy) ClientDisconnect(ctx context.Context, callback IBluetoothGattCallback, device BluetoothDevice, ...) error
- func (p *BluetoothGattProxy) ClientReadPhy(ctx context.Context, callback IBluetoothGattCallback, device BluetoothDevice, ...) error
- func (p *BluetoothGattProxy) ClientSetPreferredPhy(ctx context.Context, callback IBluetoothGattCallback, device BluetoothDevice, ...) error
- func (p *BluetoothGattProxy) ConfigureMTU(ctx context.Context, callback IBluetoothGattCallback, device BluetoothDevice, ...) error
- func (p *BluetoothGattProxy) ConnectionParameterUpdate(ctx context.Context, callback IBluetoothGattCallback, device BluetoothDevice, ...) error
- func (p *BluetoothGattProxy) DisconnectAll(ctx context.Context, attributionSource content.AttributionSource) error
- func (p *BluetoothGattProxy) DiscoverServiceByUuid(ctx context.Context, callback IBluetoothGattCallback, device BluetoothDevice, ...) error
- func (p *BluetoothGattProxy) DiscoverServices(ctx context.Context, callback IBluetoothGattCallback, device BluetoothDevice, ...) error
- func (p *BluetoothGattProxy) EndReliableWrite(ctx context.Context, callback IBluetoothGattCallback, device BluetoothDevice, ...) error
- func (p *BluetoothGattProxy) GetDevicesMatchingConnectionStates(ctx context.Context, states []int32, ...) ([]BluetoothDevice, error)
- func (p *BluetoothGattProxy) LeConnectionUpdate(ctx context.Context, callback IBluetoothGattCallback, device BluetoothDevice, ...) error
- func (p *BluetoothGattProxy) ReadCharacteristic(ctx context.Context, callback IBluetoothGattCallback, device BluetoothDevice, ...) error
- func (p *BluetoothGattProxy) ReadDescriptor(ctx context.Context, callback IBluetoothGattCallback, device BluetoothDevice, ...) error
- func (p *BluetoothGattProxy) ReadRemoteRssi(ctx context.Context, callback IBluetoothGattCallback, device BluetoothDevice, ...) error
- func (p *BluetoothGattProxy) ReadUsingCharacteristicUuid(ctx context.Context, callback IBluetoothGattCallback, device BluetoothDevice, ...) error
- func (p *BluetoothGattProxy) RefreshDevice(ctx context.Context, callback IBluetoothGattCallback, device BluetoothDevice, ...) error
- func (p *BluetoothGattProxy) RegisterClient(ctx context.Context, appId os.ParcelUuid, callback IBluetoothGattCallback, ...) error
- func (p *BluetoothGattProxy) RegisterForNotification(ctx context.Context, callback IBluetoothGattCallback, device BluetoothDevice, ...) error
- func (p *BluetoothGattProxy) RegisterServer(ctx context.Context, appId os.ParcelUuid, ...) error
- func (p *BluetoothGattProxy) RemoveService(ctx context.Context, callback IBluetoothGattServerCallback, handle int32, ...) error
- func (p *BluetoothGattProxy) SendNotification(ctx context.Context, callback IBluetoothGattServerCallback, ...) (int32, error)
- func (p *BluetoothGattProxy) SendResponse(ctx context.Context, callback IBluetoothGattServerCallback, ...) error
- func (p *BluetoothGattProxy) ServerConnect(ctx context.Context, callback IBluetoothGattServerCallback, ...) error
- func (p *BluetoothGattProxy) ServerDisconnect(ctx context.Context, callback IBluetoothGattServerCallback, ...) error
- func (p *BluetoothGattProxy) ServerReadPhy(ctx context.Context, callback IBluetoothGattServerCallback, ...) error
- func (p *BluetoothGattProxy) ServerSetPreferredPhy(ctx context.Context, callback IBluetoothGattServerCallback, ...) error
- func (p *BluetoothGattProxy) SubrateModeRequest(ctx context.Context, callback IBluetoothGattCallback, device BluetoothDevice, ...) (int32, error)
- func (p *BluetoothGattProxy) UnregisterClient(ctx context.Context, callback IBluetoothGattCallback, ...) error
- func (p *BluetoothGattProxy) UnregisterServer(ctx context.Context, callback IBluetoothGattServerCallback, ...) error
- func (p *BluetoothGattProxy) WriteCharacteristic(ctx context.Context, callback IBluetoothGattCallback, device BluetoothDevice, ...) (int32, error)
- func (p *BluetoothGattProxy) WriteDescriptor(ctx context.Context, callback IBluetoothGattCallback, device BluetoothDevice, ...) (int32, error)
- type BluetoothGattServerCallbackProxy
- func (p *BluetoothGattServerCallbackProxy) AsBinder() binder.IBinder
- func (p *BluetoothGattServerCallbackProxy) OnCharacteristicReadRequest(ctx context.Context, device BluetoothDevice, transId int32, offset int32, ...) error
- func (p *BluetoothGattServerCallbackProxy) OnCharacteristicWriteRequest(ctx context.Context, device BluetoothDevice, transId int32, offset int32, ...) error
- func (p *BluetoothGattServerCallbackProxy) OnConnectionUpdated(ctx context.Context, device BluetoothDevice, interval int32, latency int32, ...) error
- func (p *BluetoothGattServerCallbackProxy) OnDescriptorReadRequest(ctx context.Context, device BluetoothDevice, transId int32, offset int32, ...) error
- func (p *BluetoothGattServerCallbackProxy) OnDescriptorWriteRequest(ctx context.Context, device BluetoothDevice, transId int32, offset int32, ...) error
- func (p *BluetoothGattServerCallbackProxy) OnExecuteWrite(ctx context.Context, device BluetoothDevice, transId int32, execWrite bool) error
- func (p *BluetoothGattServerCallbackProxy) OnMtuChanged(ctx context.Context, device BluetoothDevice, mtu int32) error
- func (p *BluetoothGattServerCallbackProxy) OnNotificationSent(ctx context.Context, device BluetoothDevice, status int32) error
- func (p *BluetoothGattServerCallbackProxy) OnPhyRead(ctx context.Context, device BluetoothDevice, txPhy int32, rxPhy int32, ...) error
- func (p *BluetoothGattServerCallbackProxy) OnPhyUpdate(ctx context.Context, device BluetoothDevice, txPhy int32, rxPhy int32, ...) error
- func (p *BluetoothGattServerCallbackProxy) OnServerConnectionState(ctx context.Context, status int32, connected bool, device BluetoothDevice) error
- func (p *BluetoothGattServerCallbackProxy) OnServerRegistered(ctx context.Context, status int32) error
- func (p *BluetoothGattServerCallbackProxy) OnServiceAdded(ctx context.Context, status int32, service BluetoothGattService) error
- func (p *BluetoothGattServerCallbackProxy) OnSubrateChange(ctx context.Context, device BluetoothDevice, subrateMode int32, status int32) error
- type BluetoothGattServerCallbackStub
- type BluetoothGattService
- type BluetoothGattStub
- type BluetoothHapClientCallbackProxy
- func (p *BluetoothHapClientCallbackProxy) AsBinder() binder.IBinder
- func (p *BluetoothHapClientCallbackProxy) OnPresetInfoChanged(ctx context.Context, device BluetoothDevice, ...) error
- func (p *BluetoothHapClientCallbackProxy) OnPresetSelected(ctx context.Context, device BluetoothDevice, presetIndex int32, ...) error
- func (p *BluetoothHapClientCallbackProxy) OnPresetSelectionFailed(ctx context.Context, device BluetoothDevice, statusCode int32) error
- func (p *BluetoothHapClientCallbackProxy) OnPresetSelectionForGroupFailed(ctx context.Context, hapGroupId int32, statusCode int32) error
- func (p *BluetoothHapClientCallbackProxy) OnSetPresetNameFailed(ctx context.Context, device BluetoothDevice, status int32) error
- func (p *BluetoothHapClientCallbackProxy) OnSetPresetNameForGroupFailed(ctx context.Context, hapGroupId int32, status int32) error
- type BluetoothHapClientCallbackStub
- type BluetoothHapClientProxy
- func (p *BluetoothHapClientProxy) AsBinder() binder.IBinder
- func (p *BluetoothHapClientProxy) GetActivePresetIndex(ctx context.Context, device BluetoothDevice, ...) (int32, error)
- func (p *BluetoothHapClientProxy) GetActivePresetInfo(ctx context.Context, device BluetoothDevice, ...) (BluetoothHapPresetInfo, error)
- func (p *BluetoothHapClientProxy) GetAllPresetInfo(ctx context.Context, device BluetoothDevice, ...) ([]BluetoothHapPresetInfo, error)
- func (p *BluetoothHapClientProxy) GetConnectedDevices(ctx context.Context, attributionSource content.AttributionSource) ([]BluetoothDevice, error)
- func (p *BluetoothHapClientProxy) GetConnectionPolicy(ctx context.Context, device BluetoothDevice, ...) (int32, error)
- func (p *BluetoothHapClientProxy) GetConnectionState(ctx context.Context, device BluetoothDevice, ...) (int32, error)
- func (p *BluetoothHapClientProxy) GetDevicesMatchingConnectionStates(ctx context.Context, states []int32, ...) ([]BluetoothDevice, error)
- func (p *BluetoothHapClientProxy) GetFeatures(ctx context.Context, device BluetoothDevice, ...) (int32, error)
- func (p *BluetoothHapClientProxy) GetHapGroup(ctx context.Context, device BluetoothDevice, ...) (int32, error)
- func (p *BluetoothHapClientProxy) GetPresetInfo(ctx context.Context, device BluetoothDevice, presetIndex int32, ...) (BluetoothHapPresetInfo, error)
- func (p *BluetoothHapClientProxy) RegisterCallback(ctx context.Context, callback IBluetoothHapClientCallback, ...) error
- func (p *BluetoothHapClientProxy) SelectPreset(ctx context.Context, device BluetoothDevice, presetIndex int32, ...) error
- func (p *BluetoothHapClientProxy) SelectPresetForGroup(ctx context.Context, groupId int32, presetIndex int32, ...) error
- func (p *BluetoothHapClientProxy) SetConnectionPolicy(ctx context.Context, device BluetoothDevice, connectionPolicy int32, ...) (bool, error)
- func (p *BluetoothHapClientProxy) SetPresetName(ctx context.Context, device BluetoothDevice, presetIndex int32, name string, ...) error
- func (p *BluetoothHapClientProxy) SetPresetNameForGroup(ctx context.Context, groupId int32, presetIndex int32, name string, ...) error
- func (p *BluetoothHapClientProxy) SwitchToNextPreset(ctx context.Context, device BluetoothDevice, ...) error
- func (p *BluetoothHapClientProxy) SwitchToNextPresetForGroup(ctx context.Context, groupId int32, ...) error
- func (p *BluetoothHapClientProxy) SwitchToPreviousPreset(ctx context.Context, device BluetoothDevice, ...) error
- func (p *BluetoothHapClientProxy) SwitchToPreviousPresetForGroup(ctx context.Context, groupId int32, ...) error
- func (p *BluetoothHapClientProxy) UnregisterCallback(ctx context.Context, callback IBluetoothHapClientCallback, ...) error
- type BluetoothHapClientStub
- type BluetoothHapPresetInfo
- type BluetoothHciVendorSpecificCallbackProxy
- func (p *BluetoothHciVendorSpecificCallbackProxy) AsBinder() binder.IBinder
- func (p *BluetoothHciVendorSpecificCallbackProxy) OnCommandComplete(ctx context.Context, ocf int32, returnParameters []byte) error
- func (p *BluetoothHciVendorSpecificCallbackProxy) OnCommandStatus(ctx context.Context, ocf int32, status int32) error
- func (p *BluetoothHciVendorSpecificCallbackProxy) OnEvent(ctx context.Context, code int32, data []byte) error
- type BluetoothHciVendorSpecificCallbackStub
- type BluetoothHeadsetClientCall
- type BluetoothHeadsetClientProxy
- func (p *BluetoothHeadsetClientProxy) AcceptCall(ctx context.Context, device BluetoothDevice, flag int32, ...) (bool, error)
- func (p *BluetoothHeadsetClientProxy) AsBinder() binder.IBinder
- func (p *BluetoothHeadsetClientProxy) Connect(ctx context.Context, device BluetoothDevice, ...) (bool, error)
- func (p *BluetoothHeadsetClientProxy) ConnectAudio(ctx context.Context, device BluetoothDevice, ...) (bool, error)
- func (p *BluetoothHeadsetClientProxy) Dial(ctx context.Context, device BluetoothDevice, number string, ...) (BluetoothHeadsetClientCall, error)
- func (p *BluetoothHeadsetClientProxy) Disconnect(ctx context.Context, device BluetoothDevice, ...) (bool, error)
- func (p *BluetoothHeadsetClientProxy) DisconnectAudio(ctx context.Context, device BluetoothDevice, ...) (bool, error)
- func (p *BluetoothHeadsetClientProxy) EnterPrivateMode(ctx context.Context, device BluetoothDevice, index int32, ...) (bool, error)
- func (p *BluetoothHeadsetClientProxy) ExplicitCallTransfer(ctx context.Context, device BluetoothDevice, ...) (bool, error)
- func (p *BluetoothHeadsetClientProxy) GetAudioRouteAllowed(ctx context.Context, device BluetoothDevice, ...) (bool, error)
- func (p *BluetoothHeadsetClientProxy) GetAudioState(ctx context.Context, device BluetoothDevice, ...) (int32, error)
- func (p *BluetoothHeadsetClientProxy) GetConnectedDevices(ctx context.Context, attributionSource content.AttributionSource) ([]BluetoothDevice, error)
- func (p *BluetoothHeadsetClientProxy) GetConnectionPolicy(ctx context.Context, device BluetoothDevice, ...) (int32, error)
- func (p *BluetoothHeadsetClientProxy) GetConnectionState(ctx context.Context, device BluetoothDevice, ...) (int32, error)
- func (p *BluetoothHeadsetClientProxy) GetCurrentAgEvents(ctx context.Context, device BluetoothDevice, ...) (os.Bundle, error)
- func (p *BluetoothHeadsetClientProxy) GetCurrentAgFeatures(ctx context.Context, device BluetoothDevice, ...) (os.Bundle, error)
- func (p *BluetoothHeadsetClientProxy) GetCurrentCalls(ctx context.Context, device BluetoothDevice, ...) ([]BluetoothHeadsetClientCall, error)
- func (p *BluetoothHeadsetClientProxy) GetDevicesMatchingConnectionStates(ctx context.Context, states []int32, ...) ([]BluetoothDevice, error)
- func (p *BluetoothHeadsetClientProxy) GetLastVoiceTagNumber(ctx context.Context, device BluetoothDevice, ...) (bool, error)
- func (p *BluetoothHeadsetClientProxy) HoldCall(ctx context.Context, device BluetoothDevice, ...) (bool, error)
- func (p *BluetoothHeadsetClientProxy) RejectCall(ctx context.Context, device BluetoothDevice, ...) (bool, error)
- func (p *BluetoothHeadsetClientProxy) SendDTMF(ctx context.Context, device BluetoothDevice, code byte, ...) (bool, error)
- func (p *BluetoothHeadsetClientProxy) SendVendorAtCommand(ctx context.Context, device BluetoothDevice, vendorId int32, atCommand string, ...) (bool, error)
- func (p *BluetoothHeadsetClientProxy) SetAudioRouteAllowed(ctx context.Context, device BluetoothDevice, allowed bool, ...) error
- func (p *BluetoothHeadsetClientProxy) SetConnectionPolicy(ctx context.Context, device BluetoothDevice, connectionPolicy int32, ...) (bool, error)
- func (p *BluetoothHeadsetClientProxy) StartVoiceRecognition(ctx context.Context, device BluetoothDevice, ...) (bool, error)
- func (p *BluetoothHeadsetClientProxy) StopVoiceRecognition(ctx context.Context, device BluetoothDevice, ...) (bool, error)
- func (p *BluetoothHeadsetClientProxy) TerminateCall(ctx context.Context, device BluetoothDevice, call BluetoothHeadsetClientCall, ...) (bool, error)
- type BluetoothHeadsetClientStub
- type BluetoothHeadsetProxy
- func (p *BluetoothHeadsetProxy) AsBinder() binder.IBinder
- func (p *BluetoothHeadsetProxy) Connect(ctx context.Context, device BluetoothDevice, ...) (bool, error)
- func (p *BluetoothHeadsetProxy) ConnectAudio(ctx context.Context, attributionSource content.AttributionSource) (int32, error)
- func (p *BluetoothHeadsetProxy) Disconnect(ctx context.Context, device BluetoothDevice, ...) (bool, error)
- func (p *BluetoothHeadsetProxy) DisconnectAudio(ctx context.Context, attributionSource content.AttributionSource) (int32, error)
- func (p *BluetoothHeadsetProxy) GetActiveDevice(ctx context.Context, attributionSource content.AttributionSource) (BluetoothDevice, error)
- func (p *BluetoothHeadsetProxy) GetAudioRouteAllowed(ctx context.Context, attributionSource content.AttributionSource) (bool, error)
- func (p *BluetoothHeadsetProxy) GetAudioState(ctx context.Context, device BluetoothDevice, ...) (int32, error)
- func (p *BluetoothHeadsetProxy) GetConnectedDevices(ctx context.Context, attributionSource content.AttributionSource) ([]BluetoothDevice, error)
- func (p *BluetoothHeadsetProxy) GetConnectionPolicy(ctx context.Context, device BluetoothDevice, ...) (int32, error)
- func (p *BluetoothHeadsetProxy) GetConnectionState(ctx context.Context, device BluetoothDevice, ...) (int32, error)
- func (p *BluetoothHeadsetProxy) GetDevicesMatchingConnectionStates(ctx context.Context, states []int32, ...) ([]BluetoothDevice, error)
- func (p *BluetoothHeadsetProxy) IsAudioConnected(ctx context.Context, device BluetoothDevice, ...) (bool, error)
- func (p *BluetoothHeadsetProxy) IsInbandRingingEnabled(ctx context.Context, attributionSource content.AttributionSource) (bool, error)
- func (p *BluetoothHeadsetProxy) IsNoiseReductionSupported(ctx context.Context, device BluetoothDevice, ...) (bool, error)
- func (p *BluetoothHeadsetProxy) IsVoiceRecognitionSupported(ctx context.Context, device BluetoothDevice, ...) (bool, error)
- func (p *BluetoothHeadsetProxy) SendVendorSpecificResultCode(ctx context.Context, device BluetoothDevice, command string, arg string, ...) (bool, error)
- func (p *BluetoothHeadsetProxy) SetActiveDevice(ctx context.Context, device BluetoothDevice, ...) (bool, error)
- func (p *BluetoothHeadsetProxy) SetAudioRouteAllowed(ctx context.Context, allowed bool, attributionSource content.AttributionSource) error
- func (p *BluetoothHeadsetProxy) SetConnectionPolicy(ctx context.Context, device BluetoothDevice, connectionPolicy int32, ...) (bool, error)
- func (p *BluetoothHeadsetProxy) SetForceScoAudio(ctx context.Context, forced bool, attributionSource content.AttributionSource) error
- func (p *BluetoothHeadsetProxy) StartScoUsingVirtualVoiceCall(ctx context.Context, attributionSource content.AttributionSource) (bool, error)
- func (p *BluetoothHeadsetProxy) StartVoiceRecognition(ctx context.Context, device BluetoothDevice, ...) (bool, error)
- func (p *BluetoothHeadsetProxy) StopScoUsingVirtualVoiceCall(ctx context.Context, attributionSource content.AttributionSource) (bool, error)
- func (p *BluetoothHeadsetProxy) StopVoiceRecognition(ctx context.Context, device BluetoothDevice, ...) (bool, error)
- type BluetoothHeadsetStub
- type BluetoothHearingAidAdvertisementServiceData
- type BluetoothHearingAidProxy
- func (p *BluetoothHearingAidProxy) AsBinder() binder.IBinder
- func (p *BluetoothHearingAidProxy) Connect(ctx context.Context, device BluetoothDevice, ...) (bool, error)
- func (p *BluetoothHearingAidProxy) Disconnect(ctx context.Context, device BluetoothDevice, ...) (bool, error)
- func (p *BluetoothHearingAidProxy) GetActiveDevices(ctx context.Context, attributionSource content.AttributionSource) ([]BluetoothDevice, error)
- func (p *BluetoothHearingAidProxy) GetAdvertisementServiceData(ctx context.Context, device BluetoothDevice, ...) (BluetoothHearingAidAdvertisementServiceData, error)
- func (p *BluetoothHearingAidProxy) GetConnectedDevices(ctx context.Context, attributionSource content.AttributionSource) ([]BluetoothDevice, error)
- func (p *BluetoothHearingAidProxy) GetConnectionPolicy(ctx context.Context, device BluetoothDevice, ...) (int32, error)
- func (p *BluetoothHearingAidProxy) GetConnectionState(ctx context.Context, device BluetoothDevice, ...) (int32, error)
- func (p *BluetoothHearingAidProxy) GetDeviceMode(ctx context.Context, device BluetoothDevice, ...) (int32, error)
- func (p *BluetoothHearingAidProxy) GetDeviceSide(ctx context.Context, device BluetoothDevice, ...) (int32, error)
- func (p *BluetoothHearingAidProxy) GetDevicesMatchingConnectionStates(ctx context.Context, states []int32, ...) ([]BluetoothDevice, error)
- func (p *BluetoothHearingAidProxy) GetHiSyncId(ctx context.Context, device BluetoothDevice, ...) (int64, error)
- func (p *BluetoothHearingAidProxy) SetActiveDevice(ctx context.Context, device BluetoothDevice, ...) (bool, error)
- func (p *BluetoothHearingAidProxy) SetConnectionPolicy(ctx context.Context, device BluetoothDevice, connectionPolicy int32, ...) (bool, error)
- func (p *BluetoothHearingAidProxy) SetVolume(ctx context.Context, volume int32, attributionSource content.AttributionSource) error
- type BluetoothHearingAidStub
- type BluetoothHidDeviceAppQosSettings
- type BluetoothHidDeviceAppSdpSettings
- type BluetoothHidDeviceCallbackProxy
- func (p *BluetoothHidDeviceCallbackProxy) AsBinder() binder.IBinder
- func (p *BluetoothHidDeviceCallbackProxy) OnAppStatusChanged(ctx context.Context, device BluetoothDevice, registered bool) error
- func (p *BluetoothHidDeviceCallbackProxy) OnConnectionStateChanged(ctx context.Context, device BluetoothDevice, state int32) error
- func (p *BluetoothHidDeviceCallbackProxy) OnGetReport(ctx context.Context, device BluetoothDevice, type_ byte, id byte, ...) error
- func (p *BluetoothHidDeviceCallbackProxy) OnInterruptData(ctx context.Context, device BluetoothDevice, reportId byte, data []byte) error
- func (p *BluetoothHidDeviceCallbackProxy) OnSetProtocol(ctx context.Context, device BluetoothDevice, protocol byte) error
- func (p *BluetoothHidDeviceCallbackProxy) OnSetReport(ctx context.Context, device BluetoothDevice, type_ byte, id byte, data []byte) error
- func (p *BluetoothHidDeviceCallbackProxy) OnVirtualCableUnplug(ctx context.Context, device BluetoothDevice) error
- type BluetoothHidDeviceCallbackStub
- type BluetoothHidDeviceProxy
- func (p *BluetoothHidDeviceProxy) AsBinder() binder.IBinder
- func (p *BluetoothHidDeviceProxy) Connect(ctx context.Context, device BluetoothDevice, ...) (bool, error)
- func (p *BluetoothHidDeviceProxy) Disconnect(ctx context.Context, device BluetoothDevice, ...) (bool, error)
- func (p *BluetoothHidDeviceProxy) GetConnectedDevices(ctx context.Context, attributionSource content.AttributionSource) ([]BluetoothDevice, error)
- func (p *BluetoothHidDeviceProxy) GetConnectionState(ctx context.Context, device BluetoothDevice, ...) (int32, error)
- func (p *BluetoothHidDeviceProxy) GetDevicesMatchingConnectionStates(ctx context.Context, states []int32, ...) ([]BluetoothDevice, error)
- func (p *BluetoothHidDeviceProxy) GetUserAppName(ctx context.Context, attributionSource content.AttributionSource) (string, error)
- func (p *BluetoothHidDeviceProxy) RegisterApp(ctx context.Context, sdp BluetoothHidDeviceAppSdpSettings, ...) (bool, error)
- func (p *BluetoothHidDeviceProxy) ReplyReport(ctx context.Context, device BluetoothDevice, type_ byte, id byte, data []byte, ...) (bool, error)
- func (p *BluetoothHidDeviceProxy) ReportError(ctx context.Context, device BluetoothDevice, error_ byte, ...) (bool, error)
- func (p *BluetoothHidDeviceProxy) SendReport(ctx context.Context, device BluetoothDevice, id int32, data []byte, ...) (bool, error)
- func (p *BluetoothHidDeviceProxy) SetConnectionPolicy(ctx context.Context, device BluetoothDevice, connectionPolicy int32, ...) (bool, error)
- func (p *BluetoothHidDeviceProxy) Unplug(ctx context.Context, device BluetoothDevice, ...) (bool, error)
- func (p *BluetoothHidDeviceProxy) UnregisterApp(ctx context.Context, attributionSource content.AttributionSource) (bool, error)
- type BluetoothHidDeviceStub
- type BluetoothHidHostProxy
- func (p *BluetoothHidHostProxy) AsBinder() binder.IBinder
- func (p *BluetoothHidHostProxy) Connect(ctx context.Context, device BluetoothDevice, ...) (bool, error)
- func (p *BluetoothHidHostProxy) Disconnect(ctx context.Context, device BluetoothDevice, ...) (bool, error)
- func (p *BluetoothHidHostProxy) GetConnectedDevices(ctx context.Context, attributionSource content.AttributionSource) ([]BluetoothDevice, error)
- func (p *BluetoothHidHostProxy) GetConnectionPolicy(ctx context.Context, device BluetoothDevice, ...) (int32, error)
- func (p *BluetoothHidHostProxy) GetConnectionState(ctx context.Context, device BluetoothDevice, ...) (int32, error)
- func (p *BluetoothHidHostProxy) GetDevicesMatchingConnectionStates(ctx context.Context, states []int32, ...) ([]BluetoothDevice, error)
- func (p *BluetoothHidHostProxy) GetIdleTime(ctx context.Context, device BluetoothDevice, ...) (bool, error)
- func (p *BluetoothHidHostProxy) GetPreferredTransport(ctx context.Context, device BluetoothDevice, ...) (int32, error)
- func (p *BluetoothHidHostProxy) GetProtocolMode(ctx context.Context, device BluetoothDevice, ...) (bool, error)
- func (p *BluetoothHidHostProxy) GetReport(ctx context.Context, device BluetoothDevice, reportType byte, reportId byte, ...) (bool, error)
- func (p *BluetoothHidHostProxy) SendData(ctx context.Context, device BluetoothDevice, report string, ...) (bool, error)
- func (p *BluetoothHidHostProxy) SetConnectionPolicy(ctx context.Context, device BluetoothDevice, connectionPolicy int32, ...) (bool, error)
- func (p *BluetoothHidHostProxy) SetIdleTime(ctx context.Context, device BluetoothDevice, idleTime byte, ...) (bool, error)
- func (p *BluetoothHidHostProxy) SetPreferredTransport(ctx context.Context, device BluetoothDevice, transport int32, ...) (bool, error)
- func (p *BluetoothHidHostProxy) SetProtocolMode(ctx context.Context, device BluetoothDevice, protocolMode int32, ...) (bool, error)
- func (p *BluetoothHidHostProxy) SetReport(ctx context.Context, device BluetoothDevice, reportType byte, report string, ...) (bool, error)
- func (p *BluetoothHidHostProxy) VirtualUnplug(ctx context.Context, device BluetoothDevice, ...) (bool, error)
- type BluetoothHidHostStub
- type BluetoothLeAudioCallbackProxy
- func (p *BluetoothLeAudioCallbackProxy) AsBinder() binder.IBinder
- func (p *BluetoothLeAudioCallbackProxy) OnBroadcastToUnicastFallbackGroupChanged(ctx context.Context, groupId int32) error
- func (p *BluetoothLeAudioCallbackProxy) OnCodecConfigChanged(ctx context.Context, groupId int32, status BluetoothLeAudioCodecStatus) error
- func (p *BluetoothLeAudioCallbackProxy) OnGroupNodeAdded(ctx context.Context, device BluetoothDevice, groupId int32) error
- func (p *BluetoothLeAudioCallbackProxy) OnGroupNodeRemoved(ctx context.Context, device BluetoothDevice, groupId int32) error
- func (p *BluetoothLeAudioCallbackProxy) OnGroupStatusChanged(ctx context.Context, groupId int32, groupStatus int32) error
- func (p *BluetoothLeAudioCallbackProxy) OnGroupStreamStatusChanged(ctx context.Context, groupId int32, groupStreamStatus int32) error
- type BluetoothLeAudioCallbackStub
- type BluetoothLeAudioCodecConfig
- type BluetoothLeAudioCodecStatus
- type BluetoothLeAudioContentMetadata
- type BluetoothLeAudioProxy
- func (p *BluetoothLeAudioProxy) AsBinder() binder.IBinder
- func (p *BluetoothLeAudioProxy) Connect(ctx context.Context, device BluetoothDevice, ...) (bool, error)
- func (p *BluetoothLeAudioProxy) Disconnect(ctx context.Context, device BluetoothDevice, ...) (bool, error)
- func (p *BluetoothLeAudioProxy) GetActiveDevices(ctx context.Context, attributionSource content.AttributionSource) ([]BluetoothDevice, error)
- func (p *BluetoothLeAudioProxy) GetAllBroadcastMetadata(ctx context.Context, attributionSource content.AttributionSource) ([]BluetoothLeBroadcastMetadata, error)
- func (p *BluetoothLeAudioProxy) GetAudioLocation(ctx context.Context, device BluetoothDevice, ...) (int32, error)
- func (p *BluetoothLeAudioProxy) GetBroadcastToUnicastFallbackGroup(ctx context.Context, attributionSource content.AttributionSource) (int32, error)
- func (p *BluetoothLeAudioProxy) GetCodecStatus(ctx context.Context, groupId int32, source content.AttributionSource) (BluetoothLeAudioCodecStatus, error)
- func (p *BluetoothLeAudioProxy) GetConnectedDevices(ctx context.Context, attributionSource content.AttributionSource) ([]BluetoothDevice, error)
- func (p *BluetoothLeAudioProxy) GetConnectedGroupLeadDevice(ctx context.Context, groupId int32, ...) (BluetoothDevice, error)
- func (p *BluetoothLeAudioProxy) GetConnectionPolicy(ctx context.Context, device BluetoothDevice, ...) (int32, error)
- func (p *BluetoothLeAudioProxy) GetConnectionState(ctx context.Context, device BluetoothDevice, ...) (int32, error)
- func (p *BluetoothLeAudioProxy) GetDevicesMatchingConnectionStates(ctx context.Context, states []int32, ...) ([]BluetoothDevice, error)
- func (p *BluetoothLeAudioProxy) GetGroupId(ctx context.Context, device BluetoothDevice, ...) (int32, error)
- func (p *BluetoothLeAudioProxy) GetMaximumNumberOfBroadcasts(ctx context.Context) (int32, error)
- func (p *BluetoothLeAudioProxy) GetMaximumStreamsPerBroadcast(ctx context.Context) (int32, error)
- func (p *BluetoothLeAudioProxy) GetMaximumSubgroupsPerBroadcast(ctx context.Context) (int32, error)
- func (p *BluetoothLeAudioProxy) GroupAddNode(ctx context.Context, group_id int32, device BluetoothDevice, ...) (bool, error)
- func (p *BluetoothLeAudioProxy) GroupRemoveNode(ctx context.Context, group_id int32, device BluetoothDevice, ...) (bool, error)
- func (p *BluetoothLeAudioProxy) IsBroadcastActive(ctx context.Context, attributionSource content.AttributionSource) (bool, error)
- func (p *BluetoothLeAudioProxy) IsInbandRingtoneEnabled(ctx context.Context, attributionSource content.AttributionSource, ...) (bool, error)
- func (p *BluetoothLeAudioProxy) IsPlaying(ctx context.Context, broadcastId int32, ...) (bool, error)
- func (p *BluetoothLeAudioProxy) RegisterCallback(ctx context.Context, callback IBluetoothLeAudioCallback, ...) error
- func (p *BluetoothLeAudioProxy) RegisterLeBroadcastCallback(ctx context.Context, callback IBluetoothLeBroadcastCallback, ...) error
- func (p *BluetoothLeAudioProxy) SetActiveDevice(ctx context.Context, device BluetoothDevice, ...) (bool, error)
- func (p *BluetoothLeAudioProxy) SetBroadcastToUnicastFallbackGroup(ctx context.Context, groupId int32, ...) error
- func (p *BluetoothLeAudioProxy) SetCcidInformation(ctx context.Context, userUuid os.ParcelUuid, ccid int32, contextType int32, ...) error
- func (p *BluetoothLeAudioProxy) SetCodecConfigPreference(ctx context.Context, groupId int32, ...) error
- func (p *BluetoothLeAudioProxy) SetConnectionPolicy(ctx context.Context, device BluetoothDevice, connectionPolicy int32, ...) (bool, error)
- func (p *BluetoothLeAudioProxy) SetInCall(ctx context.Context, inCall bool, attributionSource content.AttributionSource) error
- func (p *BluetoothLeAudioProxy) SetInactiveForHfpHandover(ctx context.Context, device BluetoothDevice, ...) error
- func (p *BluetoothLeAudioProxy) SetVolume(ctx context.Context, volume int32, attributionSource content.AttributionSource) error
- func (p *BluetoothLeAudioProxy) StartBroadcast(ctx context.Context, broadcastSettings BluetoothLeBroadcastSettings, ...) error
- func (p *BluetoothLeAudioProxy) StopBroadcast(ctx context.Context, broadcastId int32, ...) error
- func (p *BluetoothLeAudioProxy) UnregisterCallback(ctx context.Context, callback IBluetoothLeAudioCallback, ...) error
- func (p *BluetoothLeAudioProxy) UnregisterLeBroadcastCallback(ctx context.Context, callback IBluetoothLeBroadcastCallback, ...) error
- func (p *BluetoothLeAudioProxy) UpdateBroadcast(ctx context.Context, broadcastId int32, ...) error
- type BluetoothLeAudioStub
- type BluetoothLeBroadcastAssistantCallbackProxy
- func (p *BluetoothLeBroadcastAssistantCallbackProxy) AsBinder() binder.IBinder
- func (p *BluetoothLeBroadcastAssistantCallbackProxy) OnReceiveStateChanged(ctx context.Context, sink BluetoothDevice, sourceId int32, ...) error
- func (p *BluetoothLeBroadcastAssistantCallbackProxy) OnSearchStartFailed(ctx context.Context, reason int32) error
- func (p *BluetoothLeBroadcastAssistantCallbackProxy) OnSearchStarted(ctx context.Context, reason int32) error
- func (p *BluetoothLeBroadcastAssistantCallbackProxy) OnSearchStopFailed(ctx context.Context, reason int32) error
- func (p *BluetoothLeBroadcastAssistantCallbackProxy) OnSearchStopped(ctx context.Context, reason int32) error
- func (p *BluetoothLeBroadcastAssistantCallbackProxy) OnSourceAddFailed(ctx context.Context, sink BluetoothDevice, source BluetoothLeBroadcastMetadata, ...) error
- func (p *BluetoothLeBroadcastAssistantCallbackProxy) OnSourceAdded(ctx context.Context, sink BluetoothDevice, sourceId int32, reason int32) error
- func (p *BluetoothLeBroadcastAssistantCallbackProxy) OnSourceFound(ctx context.Context, source BluetoothLeBroadcastMetadata) error
- func (p *BluetoothLeBroadcastAssistantCallbackProxy) OnSourceLost(ctx context.Context, broadcastId int32) error
- func (p *BluetoothLeBroadcastAssistantCallbackProxy) OnSourceModified(ctx context.Context, sink BluetoothDevice, sourceId int32, reason int32) error
- func (p *BluetoothLeBroadcastAssistantCallbackProxy) OnSourceModifyFailed(ctx context.Context, sink BluetoothDevice, sourceId int32, reason int32) error
- func (p *BluetoothLeBroadcastAssistantCallbackProxy) OnSourceRemoveFailed(ctx context.Context, sink BluetoothDevice, sourceId int32, reason int32) error
- func (p *BluetoothLeBroadcastAssistantCallbackProxy) OnSourceRemoved(ctx context.Context, sink BluetoothDevice, sourceId int32, reason int32) error
- type BluetoothLeBroadcastAssistantCallbackStub
- type BluetoothLeBroadcastAssistantProxy
- func (p *BluetoothLeBroadcastAssistantProxy) AddSource(ctx context.Context, sink BluetoothDevice, ...) error
- func (p *BluetoothLeBroadcastAssistantProxy) AsBinder() binder.IBinder
- func (p *BluetoothLeBroadcastAssistantProxy) GetAllSources(ctx context.Context, sink BluetoothDevice, source content.AttributionSource) ([]BluetoothLeBroadcastReceiveState, error)
- func (p *BluetoothLeBroadcastAssistantProxy) GetConnectedDevices(ctx context.Context, source content.AttributionSource) ([]BluetoothDevice, error)
- func (p *BluetoothLeBroadcastAssistantProxy) GetConnectionPolicy(ctx context.Context, device BluetoothDevice, source content.AttributionSource) (int32, error)
- func (p *BluetoothLeBroadcastAssistantProxy) GetConnectionState(ctx context.Context, sink BluetoothDevice, source content.AttributionSource) (int32, error)
- func (p *BluetoothLeBroadcastAssistantProxy) GetDevicesMatchingConnectionStates(ctx context.Context, states []int32, source content.AttributionSource) ([]BluetoothDevice, error)
- func (p *BluetoothLeBroadcastAssistantProxy) GetMaximumSourceCapacity(ctx context.Context, sink BluetoothDevice, source content.AttributionSource) (int32, error)
- func (p *BluetoothLeBroadcastAssistantProxy) GetSourceMetadata(ctx context.Context, sink BluetoothDevice, sourceId int32, ...) (BluetoothLeBroadcastMetadata, error)
- func (p *BluetoothLeBroadcastAssistantProxy) IsSearchInProgress(ctx context.Context, source content.AttributionSource) (bool, error)
- func (p *BluetoothLeBroadcastAssistantProxy) ModifySource(ctx context.Context, sink BluetoothDevice, sourceId int32, ...) error
- func (p *BluetoothLeBroadcastAssistantProxy) RegisterCallback(ctx context.Context, cb IBluetoothLeBroadcastAssistantCallback, ...) error
- func (p *BluetoothLeBroadcastAssistantProxy) RemoveSource(ctx context.Context, sink BluetoothDevice, sourceId int32, ...) error
- func (p *BluetoothLeBroadcastAssistantProxy) SetConnectionPolicy(ctx context.Context, device BluetoothDevice, connectionPolicy int32, ...) (bool, error)
- func (p *BluetoothLeBroadcastAssistantProxy) StartSearchingForSources(ctx context.Context, filters []le.ScanFilter, source content.AttributionSource) error
- func (p *BluetoothLeBroadcastAssistantProxy) StopSearchingForSources(ctx context.Context, source content.AttributionSource) error
- func (p *BluetoothLeBroadcastAssistantProxy) UnregisterCallback(ctx context.Context, cb IBluetoothLeBroadcastAssistantCallback, ...) error
- type BluetoothLeBroadcastAssistantStub
- type BluetoothLeBroadcastCallbackProxy
- func (p *BluetoothLeBroadcastCallbackProxy) AsBinder() binder.IBinder
- func (p *BluetoothLeBroadcastCallbackProxy) OnBroadcastMetadataChanged(ctx context.Context, broadcastId int32, metadata BluetoothLeBroadcastMetadata) error
- func (p *BluetoothLeBroadcastCallbackProxy) OnBroadcastStartFailed(ctx context.Context, reason int32) error
- func (p *BluetoothLeBroadcastCallbackProxy) OnBroadcastStarted(ctx context.Context, reason int32, broadcastId int32) error
- func (p *BluetoothLeBroadcastCallbackProxy) OnBroadcastStopFailed(ctx context.Context, reason int32) error
- func (p *BluetoothLeBroadcastCallbackProxy) OnBroadcastStopped(ctx context.Context, reason int32, broadcastId int32) error
- func (p *BluetoothLeBroadcastCallbackProxy) OnBroadcastUpdateFailed(ctx context.Context, reason int32, broadcastId int32) error
- func (p *BluetoothLeBroadcastCallbackProxy) OnBroadcastUpdated(ctx context.Context, reason int32, broadcastId int32) error
- func (p *BluetoothLeBroadcastCallbackProxy) OnPlaybackStarted(ctx context.Context, reason int32, broadcastId int32) error
- func (p *BluetoothLeBroadcastCallbackProxy) OnPlaybackStopped(ctx context.Context, reason int32, broadcastId int32) error
- type BluetoothLeBroadcastCallbackStub
- type BluetoothLeBroadcastMetadata
- type BluetoothLeBroadcastReceiveState
- type BluetoothLeBroadcastSettings
- type BluetoothLeCall
- type BluetoothLeCallControlCallbackProxy
- func (p *BluetoothLeCallControlCallbackProxy) AsBinder() binder.IBinder
- func (p *BluetoothLeCallControlCallbackProxy) OnAcceptCall(ctx context.Context, requestId int32, uuid os.ParcelUuid) error
- func (p *BluetoothLeCallControlCallbackProxy) OnBearerRegistered(ctx context.Context, ccid int32) error
- func (p *BluetoothLeCallControlCallbackProxy) OnHoldCall(ctx context.Context, requestId int32, uuid os.ParcelUuid) error
- func (p *BluetoothLeCallControlCallbackProxy) OnJoinCalls(ctx context.Context, requestId int32, uuids []os.ParcelUuid) error
- func (p *BluetoothLeCallControlCallbackProxy) OnPlaceCall(ctx context.Context, requestId int32, uuid os.ParcelUuid, uri string) error
- func (p *BluetoothLeCallControlCallbackProxy) OnTerminateCall(ctx context.Context, requestId int32, uuid os.ParcelUuid) error
- func (p *BluetoothLeCallControlCallbackProxy) OnUnholdCall(ctx context.Context, requestId int32, uuid os.ParcelUuid) error
- type BluetoothLeCallControlCallbackStub
- type BluetoothLeCallControlProxy
- func (p *BluetoothLeCallControlProxy) AsBinder() binder.IBinder
- func (p *BluetoothLeCallControlProxy) CallAdded(ctx context.Context, ccid int32, call BluetoothLeCall, ...) error
- func (p *BluetoothLeCallControlProxy) CallRemoved(ctx context.Context, ccid int32, callId os.ParcelUuid, reason int32, ...) error
- func (p *BluetoothLeCallControlProxy) CallStateChanged(ctx context.Context, ccid int32, callId os.ParcelUuid, state int32, ...) error
- func (p *BluetoothLeCallControlProxy) CurrentCallsList(ctx context.Context, ccid int32, calls []BluetoothLeCall, ...) error
- func (p *BluetoothLeCallControlProxy) NetworkStateChanged(ctx context.Context, ccid int32, provider string, technology int32, ...) error
- func (p *BluetoothLeCallControlProxy) RegisterBearer(ctx context.Context, token string, callback IBluetoothLeCallControlCallback, ...) error
- func (p *BluetoothLeCallControlProxy) RequestResult(ctx context.Context, ccid int32, requestId int32, result int32, ...) error
- func (p *BluetoothLeCallControlProxy) UnregisterBearer(ctx context.Context, token string, attributionSource content.AttributionSource) error
- type BluetoothLeCallControlStub
- type BluetoothManagerCallbackProxy
- func (p *BluetoothManagerCallbackProxy) AsBinder() binder.IBinder
- func (p *BluetoothManagerCallbackProxy) OnBluetoothOff(ctx context.Context) error
- func (p *BluetoothManagerCallbackProxy) OnBluetoothOn(ctx context.Context) error
- func (p *BluetoothManagerCallbackProxy) OnBluetoothServiceDown(ctx context.Context) error
- func (p *BluetoothManagerCallbackProxy) OnBluetoothServiceUp(ctx context.Context, bluetoothService binder.IBinder) error
- type BluetoothManagerCallbackStub
- type BluetoothManagerProxy
- func (p *BluetoothManagerProxy) AsBinder() binder.IBinder
- func (p *BluetoothManagerProxy) Disable(ctx context.Context, attributionSource content.AttributionSource, persist bool) (bool, error)
- func (p *BluetoothManagerProxy) DisableBle(ctx context.Context, attributionSource content.AttributionSource, ...) (bool, error)
- func (p *BluetoothManagerProxy) Enable(ctx context.Context, attributionSource content.AttributionSource) (bool, error)
- func (p *BluetoothManagerProxy) EnableBle(ctx context.Context, attributionSource content.AttributionSource, ...) (bool, error)
- func (p *BluetoothManagerProxy) EnableNoAutoConnect(ctx context.Context, attributionSource content.AttributionSource) (bool, error)
- func (p *BluetoothManagerProxy) FactoryReset(ctx context.Context, attributionSource content.AttributionSource) (bool, error)
- func (p *BluetoothManagerProxy) GetAddress(ctx context.Context, attributionSource content.AttributionSource) (string, error)
- func (p *BluetoothManagerProxy) GetBtHciSnoopLogMode(ctx context.Context) (int32, error)
- func (p *BluetoothManagerProxy) GetName(ctx context.Context, attributionSource content.AttributionSource) (string, error)
- func (p *BluetoothManagerProxy) GetServiceMessenger(ctx context.Context) (os.Messenger, error)
- func (p *BluetoothManagerProxy) GetState(ctx context.Context) (int32, error)
- func (p *BluetoothManagerProxy) IsAutoOnEnabled(ctx context.Context) (bool, error)
- func (p *BluetoothManagerProxy) IsAutoOnSupported(ctx context.Context) (bool, error)
- func (p *BluetoothManagerProxy) IsBleScanAvailable(ctx context.Context) (bool, error)
- func (p *BluetoothManagerProxy) IsHearingAidProfileSupported(ctx context.Context) (bool, error)
- func (p *BluetoothManagerProxy) RegisterAdapter(ctx context.Context, callback IBluetoothManagerCallback) (binder.IBinder, error)
- func (p *BluetoothManagerProxy) SetAutoOnEnabled(ctx context.Context, status bool) error
- func (p *BluetoothManagerProxy) SetBtHciSnoopLogMode(ctx context.Context, mode int32) (int32, error)
- func (p *BluetoothManagerProxy) UnregisterAdapter(ctx context.Context, callback IBluetoothManagerCallback) error
- type BluetoothManagerStub
- type BluetoothMapClientProxy
- func (p *BluetoothMapClientProxy) AsBinder() binder.IBinder
- func (p *BluetoothMapClientProxy) Connect(ctx context.Context, device BluetoothDevice, ...) (bool, error)
- func (p *BluetoothMapClientProxy) Disconnect(ctx context.Context, device BluetoothDevice, ...) (bool, error)
- func (p *BluetoothMapClientProxy) GetConnectedDevices(ctx context.Context, attributionSource content.AttributionSource) ([]BluetoothDevice, error)
- func (p *BluetoothMapClientProxy) GetConnectionPolicy(ctx context.Context, device BluetoothDevice, ...) (int32, error)
- func (p *BluetoothMapClientProxy) GetConnectionState(ctx context.Context, device BluetoothDevice, ...) (int32, error)
- func (p *BluetoothMapClientProxy) GetDevicesMatchingConnectionStates(ctx context.Context, states []int32, ...) ([]BluetoothDevice, error)
- func (p *BluetoothMapClientProxy) SendMessage(ctx context.Context, device BluetoothDevice, contacts []net.Uri, ...) (bool, error)
- func (p *BluetoothMapClientProxy) SetConnectionPolicy(ctx context.Context, device BluetoothDevice, connectionPolicy int32, ...) (bool, error)
- type BluetoothMapClientStub
- type BluetoothMapProxy
- func (p *BluetoothMapProxy) AsBinder() binder.IBinder
- func (p *BluetoothMapProxy) Disconnect(ctx context.Context, device BluetoothDevice, ...) (bool, error)
- func (p *BluetoothMapProxy) GetClient(ctx context.Context, attributionSource content.AttributionSource) (BluetoothDevice, error)
- func (p *BluetoothMapProxy) GetConnectedDevices(ctx context.Context, attributionSource content.AttributionSource) ([]BluetoothDevice, error)
- func (p *BluetoothMapProxy) GetConnectionPolicy(ctx context.Context, device BluetoothDevice, ...) (int32, error)
- func (p *BluetoothMapProxy) GetConnectionState(ctx context.Context, device BluetoothDevice, ...) (int32, error)
- func (p *BluetoothMapProxy) GetDevicesMatchingConnectionStates(ctx context.Context, states []int32, ...) ([]BluetoothDevice, error)
- func (p *BluetoothMapProxy) GetState(ctx context.Context, attributionSource content.AttributionSource) (int32, error)
- func (p *BluetoothMapProxy) IsConnected(ctx context.Context, device BluetoothDevice, ...) (bool, error)
- func (p *BluetoothMapProxy) SetConnectionPolicy(ctx context.Context, device BluetoothDevice, connectionPolicy int32, ...) (bool, error)
- type BluetoothMapStub
- type BluetoothMcpServiceManagerProxy
- type BluetoothMcpServiceManagerStub
- type BluetoothMetadataListenerProxy
- type BluetoothMetadataListenerStub
- type BluetoothOobDataCallbackProxy
- type BluetoothOobDataCallbackStub
- type BluetoothPanCallbackProxy
- type BluetoothPanCallbackStub
- type BluetoothPanProxy
- func (p *BluetoothPanProxy) AsBinder() binder.IBinder
- func (p *BluetoothPanProxy) Connect(ctx context.Context, device BluetoothDevice, ...) (bool, error)
- func (p *BluetoothPanProxy) Disconnect(ctx context.Context, device BluetoothDevice, ...) (bool, error)
- func (p *BluetoothPanProxy) GetConnectedDevices(ctx context.Context, attributionSource content.AttributionSource) ([]BluetoothDevice, error)
- func (p *BluetoothPanProxy) GetConnectionState(ctx context.Context, device BluetoothDevice, ...) (int32, error)
- func (p *BluetoothPanProxy) GetDevicesMatchingConnectionStates(ctx context.Context, states []int32, ...) ([]BluetoothDevice, error)
- func (p *BluetoothPanProxy) IsTetheringOn(ctx context.Context, attributionSource content.AttributionSource) (bool, error)
- func (p *BluetoothPanProxy) SetBluetoothTethering(ctx context.Context, callback IBluetoothPanCallback, id int32, value bool, ...) error
- func (p *BluetoothPanProxy) SetConnectionPolicy(ctx context.Context, device BluetoothDevice, connectionPolicy int32, ...) (bool, error)
- type BluetoothPanStub
- type BluetoothPbapClientProxy
- func (p *BluetoothPbapClientProxy) AsBinder() binder.IBinder
- func (p *BluetoothPbapClientProxy) Connect(ctx context.Context, device BluetoothDevice, ...) (bool, error)
- func (p *BluetoothPbapClientProxy) Disconnect(ctx context.Context, device BluetoothDevice, ...) (bool, error)
- func (p *BluetoothPbapClientProxy) GetConnectedDevices(ctx context.Context, attributionSource content.AttributionSource) ([]BluetoothDevice, error)
- func (p *BluetoothPbapClientProxy) GetConnectionPolicy(ctx context.Context, device BluetoothDevice, ...) (int32, error)
- func (p *BluetoothPbapClientProxy) GetConnectionState(ctx context.Context, device BluetoothDevice, ...) (int32, error)
- func (p *BluetoothPbapClientProxy) GetDevicesMatchingConnectionStates(ctx context.Context, states []int32, ...) ([]BluetoothDevice, error)
- func (p *BluetoothPbapClientProxy) SetConnectionPolicy(ctx context.Context, device BluetoothDevice, connectionPolicy int32, ...) (bool, error)
- type BluetoothPbapClientStub
- type BluetoothPbapProxy
- func (p *BluetoothPbapProxy) AsBinder() binder.IBinder
- func (p *BluetoothPbapProxy) Disconnect(ctx context.Context, device BluetoothDevice, ...) error
- func (p *BluetoothPbapProxy) GetConnectedDevices(ctx context.Context, attributionSource content.AttributionSource) ([]BluetoothDevice, error)
- func (p *BluetoothPbapProxy) GetConnectionState(ctx context.Context, device BluetoothDevice, ...) (int32, error)
- func (p *BluetoothPbapProxy) GetDevicesMatchingConnectionStates(ctx context.Context, states []int32, ...) ([]BluetoothDevice, error)
- func (p *BluetoothPbapProxy) SetConnectionPolicy(ctx context.Context, device BluetoothDevice, connectionPolicy int32, ...) (bool, error)
- type BluetoothPbapStub
- type BluetoothPreferredAudioProfilesCallbackProxy
- type BluetoothPreferredAudioProfilesCallbackStub
- type BluetoothProfileCallbackProxy
- type BluetoothProfileCallbackStub
- type BluetoothProfileServiceConnectionProxy
- func (p *BluetoothProfileServiceConnectionProxy) AsBinder() binder.IBinder
- func (p *BluetoothProfileServiceConnectionProxy) OnServiceConnected(ctx context.Context, comp content.ComponentName, service binder.IBinder) error
- func (p *BluetoothProfileServiceConnectionProxy) OnServiceDisconnected(ctx context.Context, comp content.ComponentName) error
- type BluetoothProfileServiceConnectionStub
- type BluetoothProxy
- func (p *BluetoothProxy) AllowLowLatencyAudio(ctx context.Context, allowed bool, device BluetoothDevice) (bool, error)
- func (p *BluetoothProxy) AsBinder() binder.IBinder
- func (p *BluetoothProxy) CanBondWithoutDialog(ctx context.Context, device BluetoothDevice, ...) (bool, error)
- func (p *BluetoothProxy) CancelBondProcess(ctx context.Context, device BluetoothDevice, ...) (bool, error)
- func (p *BluetoothProxy) CancelDiscovery(ctx context.Context, attributionSource content.AttributionSource) (bool, error)
- func (p *BluetoothProxy) ConnectAllEnabledProfiles(ctx context.Context, device BluetoothDevice, ...) (int32, error)
- func (p *BluetoothProxy) CreateBond(ctx context.Context, device BluetoothDevice, transport int32, ...) (bool, error)
- func (p *BluetoothProxy) CreateBondOutOfBand(ctx context.Context, device BluetoothDevice, transport int32, p192Data OobData, ...) (bool, error)
- func (p *BluetoothProxy) DisconnectAllEnabledProfiles(ctx context.Context, device BluetoothDevice, ...) (int32, error)
- func (p *BluetoothProxy) FetchRemoteUuids(ctx context.Context, device BluetoothDevice, transport int32, ...) (bool, error)
- func (p *BluetoothProxy) GenerateLocalOobData(ctx context.Context, transport int32, callback IBluetoothOobDataCallback, ...) error
- func (p *BluetoothProxy) GetActiveAudioDevicePolicy(ctx context.Context, device BluetoothDevice, source content.AttributionSource) (int32, error)
- func (p *BluetoothProxy) GetActiveDevices(ctx context.Context, profile int32, ...) ([]BluetoothDevice, error)
- func (p *BluetoothProxy) GetAdapterConnectionState(ctx context.Context) (int32, error)
- func (p *BluetoothProxy) GetBatteryLevel(ctx context.Context, device BluetoothDevice, ...) (int32, error)
- func (p *BluetoothProxy) GetBluetoothAdvertise(ctx context.Context) (binder.IBinder, error)
- func (p *BluetoothProxy) GetBluetoothGatt(ctx context.Context) (binder.IBinder, error)
- func (p *BluetoothProxy) GetBluetoothScan(ctx context.Context) (binder.IBinder, error)
- func (p *BluetoothProxy) GetBondState(ctx context.Context, device BluetoothDevice, ...) (int32, error)
- func (p *BluetoothProxy) GetBondedDevices(ctx context.Context, attributionSource content.AttributionSource) ([]BluetoothDevice, error)
- func (p *BluetoothProxy) GetConnectionHandle(ctx context.Context, device BluetoothDevice, transport int32, ...) (int32, error)
- func (p *BluetoothProxy) GetConnectionState(ctx context.Context, device BluetoothDevice, ...) (int32, error)
- func (p *BluetoothProxy) GetDiscoverableTimeout(ctx context.Context, attributionSource content.AttributionSource) (int64, error)
- func (p *BluetoothProxy) GetDiscoveryEndMillis(ctx context.Context, attributionSource content.AttributionSource) (int64, error)
- func (p *BluetoothProxy) GetDistanceMeasurement(ctx context.Context) (binder.IBinder, error)
- func (p *BluetoothProxy) GetEncryptionStatus(ctx context.Context, device BluetoothDevice, source content.AttributionSource, ...) (EncryptionStatusInnerParcel, error)
- func (p *BluetoothProxy) GetIdentityAddress(ctx context.Context, address string) (string, error)
- func (p *BluetoothProxy) GetIdentityAddressWithType(ctx context.Context, address string) (BluetoothDeviceBluetoothAddress, error)
- func (p *BluetoothProxy) GetKeyMissingCount(ctx context.Context, device BluetoothDevice, source content.AttributionSource) (int32, error)
- func (p *BluetoothProxy) GetLeMaximumAdvertisingDataLength(ctx context.Context) (int32, error)
- func (p *BluetoothProxy) GetMaxConnectedAudioDevices(ctx context.Context, attributionSource content.AttributionSource) (int32, error)
- func (p *BluetoothProxy) GetMessageAccessPermission(ctx context.Context, device BluetoothDevice, ...) (int32, error)
- func (p *BluetoothProxy) GetMetadata(ctx context.Context, device BluetoothDevice, key int32, ...) ([]byte, error)
- func (p *BluetoothProxy) GetMostRecentlyConnectedDevices(ctx context.Context, attributionSource content.AttributionSource) ([]BluetoothDevice, error)
- func (p *BluetoothProxy) GetName(ctx context.Context, attributionSource content.AttributionSource) (string, error)
- func (p *BluetoothProxy) GetNameLengthForAdvertise(ctx context.Context, attributionSource content.AttributionSource) (int32, error)
- func (p *BluetoothProxy) GetOffloadedTransportDiscoveryDataScanSupported(ctx context.Context, attributionSource content.AttributionSource) (int32, error)
- func (p *BluetoothProxy) GetPackageNameOfBondingApplication(ctx context.Context, device BluetoothDevice, ...) (string, error)
- func (p *BluetoothProxy) GetPhonebookAccessPermission(ctx context.Context, device BluetoothDevice, ...) (int32, error)
- func (p *BluetoothProxy) GetPreferredAudioProfiles(ctx context.Context, device BluetoothDevice, source content.AttributionSource) (os.Bundle, error)
- func (p *BluetoothProxy) GetProfile(ctx context.Context, profile int32) (binder.IBinder, error)
- func (p *BluetoothProxy) GetProfileConnectionState(ctx context.Context, profile int32, source content.AttributionSource) (int32, error)
- func (p *BluetoothProxy) GetProfileOneway(ctx context.Context, profile int32, callback IBluetoothProfileCallback) error
- func (p *BluetoothProxy) GetRemoteAlias(ctx context.Context, device BluetoothDevice, ...) (string, error)
- func (p *BluetoothProxy) GetRemoteClass(ctx context.Context, device BluetoothDevice, ...) (int32, error)
- func (p *BluetoothProxy) GetRemoteName(ctx context.Context, device BluetoothDevice, ...) (string, error)
- func (p *BluetoothProxy) GetRemoteType(ctx context.Context, device BluetoothDevice, ...) (int32, error)
- func (p *BluetoothProxy) GetRemoteUuids(ctx context.Context, device BluetoothDevice, ...) ([]os.ParcelUuid, error)
- func (p *BluetoothProxy) GetRequestedAudioPolicyAsSink(ctx context.Context, device BluetoothDevice, ...) (BluetoothSinkAudioPolicy, error)
- func (p *BluetoothProxy) GetScanMode(ctx context.Context, attributionSource content.AttributionSource) (int32, error)
- func (p *BluetoothProxy) GetSilenceMode(ctx context.Context, device BluetoothDevice, ...) (bool, error)
- func (p *BluetoothProxy) GetSimAccessPermission(ctx context.Context, device BluetoothDevice, ...) (int32, error)
- func (p *BluetoothProxy) GetSocketManager(ctx context.Context) (IBluetoothSocketManager, error)
- func (p *BluetoothProxy) GetSupportedProfiles(ctx context.Context, attributionSource content.AttributionSource) ([]int32, error)
- func (p *BluetoothProxy) GetUuids(ctx context.Context, attributionSource content.AttributionSource) ([]os.ParcelUuid, error)
- func (p *BluetoothProxy) IsActivityAndEnergyReportingSupported(ctx context.Context) (bool, error)
- func (p *BluetoothProxy) IsBondingInitiatedLocally(ctx context.Context, device BluetoothDevice, ...) (bool, error)
- func (p *BluetoothProxy) IsConnected(ctx context.Context, device BluetoothDevice, source content.AttributionSource, ...) (bool, error)
- func (p *BluetoothProxy) IsDiscovering(ctx context.Context, attributionSource content.AttributionSource) (bool, error)
- func (p *BluetoothProxy) IsDistanceMeasurementSupported(ctx context.Context, attributionSource content.AttributionSource) (int32, error)
- func (p *BluetoothProxy) IsDualModeAudioEnabled(ctx context.Context, attributionSource content.AttributionSource) (int32, error)
- func (p *BluetoothProxy) IsLe2MPhySupported(ctx context.Context) (bool, error)
- func (p *BluetoothProxy) IsLeAudioBroadcastAssistantSupported(ctx context.Context) (bool, error)
- func (p *BluetoothProxy) IsLeAudioBroadcastSourceSupported(ctx context.Context) (bool, error)
- func (p *BluetoothProxy) IsLeAudioSupported(ctx context.Context) (bool, error)
- func (p *BluetoothProxy) IsLeCocSocketOffloadSupported(ctx context.Context, source content.AttributionSource) (bool, error)
- func (p *BluetoothProxy) IsLeCodedPhySupported(ctx context.Context) (bool, error)
- func (p *BluetoothProxy) IsLeExtendedAdvertisingSupported(ctx context.Context) (bool, error)
- func (p *BluetoothProxy) IsLePeriodicAdvertisingSupported(ctx context.Context) (bool, error)
- func (p *BluetoothProxy) IsMicrophonePreferredForCalls(ctx context.Context, device BluetoothDevice, source content.AttributionSource) (bool, error)
- func (p *BluetoothProxy) IsMultiAdvertisementSupported(ctx context.Context) (bool, error)
- func (p *BluetoothProxy) IsOffloadedFilteringSupported(ctx context.Context) (bool, error)
- func (p *BluetoothProxy) IsOffloadedScanBatchingSupported(ctx context.Context) (bool, error)
- func (p *BluetoothProxy) IsRequestAudioPolicyAsSinkSupported(ctx context.Context, device BluetoothDevice, ...) (int32, error)
- func (p *BluetoothProxy) IsRfcommSocketOffloadSupported(ctx context.Context, source content.AttributionSource) (bool, error)
- func (p *BluetoothProxy) LogL2capcocClientConnection(ctx context.Context, device BluetoothDevice, port int32, isSecured bool, ...) error
- func (p *BluetoothProxy) LogL2capcocServerConnection(ctx context.Context, device BluetoothDevice, port int32, isSecured bool, ...) error
- func (p *BluetoothProxy) NotifyActiveDeviceChangeApplied(ctx context.Context, device BluetoothDevice, ...) (int32, error)
- func (p *BluetoothProxy) RegisterBluetoothConnectionCallback(ctx context.Context, callback IBluetoothConnectionCallback, ...) error
- func (p *BluetoothProxy) RegisterBluetoothQualityReportReadyCallback(ctx context.Context, callback IBluetoothQualityReportReadyCallback, ...) (int32, error)
- func (p *BluetoothProxy) RegisterHciVendorSpecificCallback(ctx context.Context, callback IBluetoothHciVendorSpecificCallback, ...) error
- func (p *BluetoothProxy) RegisterMetadataListener(ctx context.Context, listener IBluetoothMetadataListener, ...) (bool, error)
- func (p *BluetoothProxy) RegisterPreferredAudioProfilesChangedCallback(ctx context.Context, callback IBluetoothPreferredAudioProfilesCallback, ...) (int32, error)
- func (p *BluetoothProxy) RemoveActiveDevice(ctx context.Context, profiles int32, ...) (bool, error)
- func (p *BluetoothProxy) RemoveBond(ctx context.Context, device BluetoothDevice, ...) (bool, error)
- func (p *BluetoothProxy) RequestActivityInfo(ctx context.Context, listener IBluetoothActivityEnergyInfoListener, ...) error
- func (p *BluetoothProxy) RequestAudioPolicyAsSink(ctx context.Context, device BluetoothDevice, policies BluetoothSinkAudioPolicy, ...) (int32, error)
- func (p *BluetoothProxy) RetrievePendingSocketForServiceRecord(ctx context.Context, uuid os.ParcelUuid, ...) (IncomingRfcommSocketInfo, error)
- func (p *BluetoothProxy) SdpSearch(ctx context.Context, device BluetoothDevice, uuid os.ParcelUuid, ...) (bool, error)
- func (p *BluetoothProxy) SendHciVendorSpecificCommand(ctx context.Context, ocf int32, parameters []byte, ...) error
- func (p *BluetoothProxy) SetActiveAudioDevicePolicy(ctx context.Context, device BluetoothDevice, activeAudioDevicePolicy int32, ...) (int32, error)
- func (p *BluetoothProxy) SetActiveDevice(ctx context.Context, device BluetoothDevice, profiles int32, ...) (bool, error)
- func (p *BluetoothProxy) SetDiscoverableTimeout(ctx context.Context, timeout int64, ...) (int32, error)
- func (p *BluetoothProxy) SetMessageAccessPermission(ctx context.Context, device BluetoothDevice, value int32, ...) (bool, error)
- func (p *BluetoothProxy) SetMetadata(ctx context.Context, device BluetoothDevice, key int32, value []byte, ...) (bool, error)
- func (p *BluetoothProxy) SetMicrophonePreferredForCalls(ctx context.Context, device BluetoothDevice, enabled bool, ...) (int32, error)
- func (p *BluetoothProxy) SetName(ctx context.Context, name string, attributionSource content.AttributionSource) (bool, error)
- func (p *BluetoothProxy) SetOnHead(ctx context.Context, device BluetoothDevice, state int32, ...) (int32, error)
- func (p *BluetoothProxy) SetOnHeadDetectionEnabled(ctx context.Context, device BluetoothDevice, enableState int32, ...) (int32, error)
- func (p *BluetoothProxy) SetPairingConfirmation(ctx context.Context, device BluetoothDevice, accept bool, ...) (bool, error)
- func (p *BluetoothProxy) SetPasskey(ctx context.Context, device BluetoothDevice, accept bool, len_ int32, ...) (bool, error)
- func (p *BluetoothProxy) SetPhonebookAccessPermission(ctx context.Context, device BluetoothDevice, value int32, ...) (bool, error)
- func (p *BluetoothProxy) SetPin(ctx context.Context, device BluetoothDevice, accept bool, len_ int32, ...) (bool, error)
- func (p *BluetoothProxy) SetPreferredAudioProfiles(ctx context.Context, device BluetoothDevice, modeToProfileBundle os.Bundle, ...) (int32, error)
- func (p *BluetoothProxy) SetRemoteAlias(ctx context.Context, device BluetoothDevice, name string, ...) (int32, error)
- func (p *BluetoothProxy) SetScanMode(ctx context.Context, mode int32, attributionSource content.AttributionSource) (int32, error)
- func (p *BluetoothProxy) SetSilenceMode(ctx context.Context, device BluetoothDevice, silence bool, ...) (bool, error)
- func (p *BluetoothProxy) SetSimAccessPermission(ctx context.Context, device BluetoothDevice, value int32, ...) (bool, error)
- func (p *BluetoothProxy) StartDiscovery(ctx context.Context, attributionSource content.AttributionSource) (bool, error)
- func (p *BluetoothProxy) StartRfcommListener(ctx context.Context, name string, uuid os.ParcelUuid, ...) (int32, error)
- func (p *BluetoothProxy) StopRfcommListener(ctx context.Context, uuid os.ParcelUuid, ...) (int32, error)
- func (p *BluetoothProxy) UnregisterBluetoothConnectionCallback(ctx context.Context, callback IBluetoothConnectionCallback, ...) error
- func (p *BluetoothProxy) UnregisterBluetoothQualityReportReadyCallback(ctx context.Context, callback IBluetoothQualityReportReadyCallback, ...) (int32, error)
- func (p *BluetoothProxy) UnregisterHciVendorSpecificCallback(ctx context.Context, callback IBluetoothHciVendorSpecificCallback) error
- func (p *BluetoothProxy) UnregisterMetadataListener(ctx context.Context, listener IBluetoothMetadataListener, ...) (bool, error)
- func (p *BluetoothProxy) UnregisterPreferredAudioProfilesChangedCallback(ctx context.Context, callback IBluetoothPreferredAudioProfilesCallback, ...) (int32, error)
- type BluetoothQualityReport
- type BluetoothQualityReportReadyCallbackProxy
- type BluetoothQualityReportReadyCallbackStub
- type BluetoothSapProxy
- func (p *BluetoothSapProxy) AsBinder() binder.IBinder
- func (p *BluetoothSapProxy) Disconnect(ctx context.Context, device BluetoothDevice, ...) (bool, error)
- func (p *BluetoothSapProxy) GetClient(ctx context.Context, attributionSource content.AttributionSource) (BluetoothDevice, error)
- func (p *BluetoothSapProxy) GetConnectedDevices(ctx context.Context, attributionSource content.AttributionSource) ([]BluetoothDevice, error)
- func (p *BluetoothSapProxy) GetConnectionPolicy(ctx context.Context, device BluetoothDevice, ...) (int32, error)
- func (p *BluetoothSapProxy) GetConnectionState(ctx context.Context, device BluetoothDevice, ...) (int32, error)
- func (p *BluetoothSapProxy) GetDevicesMatchingConnectionStates(ctx context.Context, states []int32, ...) ([]BluetoothDevice, error)
- func (p *BluetoothSapProxy) GetState(ctx context.Context, attributionSource content.AttributionSource) (int32, error)
- func (p *BluetoothSapProxy) IsConnected(ctx context.Context, device BluetoothDevice, ...) (bool, error)
- func (p *BluetoothSapProxy) SetConnectionPolicy(ctx context.Context, device BluetoothDevice, connectionPolicy int32, ...) (bool, error)
- type BluetoothSapStub
- type BluetoothScanProxy
- func (p *BluetoothScanProxy) AsBinder() binder.IBinder
- func (p *BluetoothScanProxy) FlushPendingBatchResults(ctx context.Context, scannerId int32, ...) error
- func (p *BluetoothScanProxy) NumHwTrackFiltersAvailable(ctx context.Context, attributionSource content.AttributionSource) (int32, error)
- func (p *BluetoothScanProxy) RegisterPiAndStartScan(ctx context.Context, intent types.PendingIntent, settings le.ScanSettings, ...) error
- func (p *BluetoothScanProxy) RegisterScanner(ctx context.Context, callback le.IScannerCallback, workSource os.WorkSource, ...) error
- func (p *BluetoothScanProxy) RegisterSync(ctx context.Context, scanResult le.ScanResult, skip int32, timeout int32, ...) error
- func (p *BluetoothScanProxy) StartScan(ctx context.Context, scannerId int32, settings le.ScanSettings, ...) error
- func (p *BluetoothScanProxy) StopScan(ctx context.Context, scannerId int32, ...) error
- func (p *BluetoothScanProxy) StopScanForIntent(ctx context.Context, intent types.PendingIntent, ...) error
- func (p *BluetoothScanProxy) TransferSetInfo(ctx context.Context, bda BluetoothDevice, serviceData int32, ...) error
- func (p *BluetoothScanProxy) TransferSync(ctx context.Context, bda BluetoothDevice, serviceData int32, syncHandle int32, ...) error
- func (p *BluetoothScanProxy) UnregisterScanner(ctx context.Context, scannerId int32, ...) error
- func (p *BluetoothScanProxy) UnregisterSync(ctx context.Context, callback le.IPeriodicAdvertisingCallback, ...) error
- type BluetoothScanStub
- type BluetoothSinkAudioPolicy
- type BluetoothSocketManagerProxy
- func (p *BluetoothSocketManagerProxy) AsBinder() binder.IBinder
- func (p *BluetoothSocketManagerProxy) ConnectSocket(ctx context.Context, device BluetoothDevice, type_ int32, uuid *os.ParcelUuid, ...) (int32, error)
- func (p *BluetoothSocketManagerProxy) ConnectSocketWithOffload(ctx context.Context, device BluetoothDevice, type_ int32, uuid *os.ParcelUuid, ...) (int32, error)
- func (p *BluetoothSocketManagerProxy) CreateSocketChannel(ctx context.Context, type_ int32, serviceName string, uuid *os.ParcelUuid, ...) (int32, error)
- func (p *BluetoothSocketManagerProxy) CreateSocketChannelWithOffload(ctx context.Context, type_ int32, serviceName string, uuid *os.ParcelUuid, ...) (int32, error)
- func (p *BluetoothSocketManagerProxy) GetL2capLocalChannelId(ctx context.Context, connectionUuid os.ParcelUuid, ...) (int32, error)
- func (p *BluetoothSocketManagerProxy) GetL2capRemoteChannelId(ctx context.Context, connectionUuid os.ParcelUuid, ...) (int32, error)
- func (p *BluetoothSocketManagerProxy) RequestMaximumTxDataLength(ctx context.Context, device BluetoothDevice, ...) error
- type BluetoothSocketManagerStub
- type BluetoothStub
- type BluetoothVolumeControlCallbackProxy
- func (p *BluetoothVolumeControlCallbackProxy) AsBinder() binder.IBinder
- func (p *BluetoothVolumeControlCallbackProxy) OnDeviceVolumeChanged(ctx context.Context, device BluetoothDevice, volume int32) error
- func (p *BluetoothVolumeControlCallbackProxy) OnVolumeOffsetAudioDescriptionChanged(ctx context.Context, device BluetoothDevice, instanceId int32, ...) error
- func (p *BluetoothVolumeControlCallbackProxy) OnVolumeOffsetAudioLocationChanged(ctx context.Context, device BluetoothDevice, instanceId int32, ...) error
- func (p *BluetoothVolumeControlCallbackProxy) OnVolumeOffsetChanged(ctx context.Context, device BluetoothDevice, instanceId int32, ...) error
- type BluetoothVolumeControlCallbackStub
- type BluetoothVolumeControlProxy
- func (p *BluetoothVolumeControlProxy) AsBinder() binder.IBinder
- func (p *BluetoothVolumeControlProxy) GetAudioInputDescription(ctx context.Context, attributionSource content.AttributionSource, ...) (string, error)
- func (p *BluetoothVolumeControlProxy) GetAudioInputGainMode(ctx context.Context, attributionSource content.AttributionSource, ...) (int32, error)
- func (p *BluetoothVolumeControlProxy) GetAudioInputGainSetting(ctx context.Context, attributionSource content.AttributionSource, ...) (int32, error)
- func (p *BluetoothVolumeControlProxy) GetAudioInputGainSettingMax(ctx context.Context, attributionSource content.AttributionSource, ...) (int32, error)
- func (p *BluetoothVolumeControlProxy) GetAudioInputGainSettingMin(ctx context.Context, attributionSource content.AttributionSource, ...) (int32, error)
- func (p *BluetoothVolumeControlProxy) GetAudioInputGainSettingUnit(ctx context.Context, attributionSource content.AttributionSource, ...) (int32, error)
- func (p *BluetoothVolumeControlProxy) GetAudioInputMute(ctx context.Context, attributionSource content.AttributionSource, ...) (int32, error)
- func (p *BluetoothVolumeControlProxy) GetAudioInputStatus(ctx context.Context, attributionSource content.AttributionSource, ...) (int32, error)
- func (p *BluetoothVolumeControlProxy) GetAudioInputType(ctx context.Context, attributionSource content.AttributionSource, ...) (int32, error)
- func (p *BluetoothVolumeControlProxy) GetConnectedDevices(ctx context.Context, attributionSource content.AttributionSource) ([]BluetoothDevice, error)
- func (p *BluetoothVolumeControlProxy) GetConnectionPolicy(ctx context.Context, device BluetoothDevice, ...) (int32, error)
- func (p *BluetoothVolumeControlProxy) GetConnectionState(ctx context.Context, device BluetoothDevice, ...) (int32, error)
- func (p *BluetoothVolumeControlProxy) GetDevicesMatchingConnectionStates(ctx context.Context, states []int32, ...) ([]BluetoothDevice, error)
- func (p *BluetoothVolumeControlProxy) GetNumberOfAudioInputControlServices(ctx context.Context, attributionSource content.AttributionSource, ...) (int32, error)
- func (p *BluetoothVolumeControlProxy) GetNumberOfVolumeOffsetInstances(ctx context.Context, device BluetoothDevice, ...) (int32, error)
- func (p *BluetoothVolumeControlProxy) IsAudioInputDescriptionWritable(ctx context.Context, attributionSource content.AttributionSource, ...) (bool, error)
- func (p *BluetoothVolumeControlProxy) IsVolumeOffsetAvailable(ctx context.Context, device BluetoothDevice, ...) (bool, error)
- func (p *BluetoothVolumeControlProxy) NotifyNewRegisteredCallback(ctx context.Context, callback IBluetoothVolumeControlCallback, ...) error
- func (p *BluetoothVolumeControlProxy) RegisterAudioInputControlCallback(ctx context.Context, attributionSource content.AttributionSource, ...) error
- func (p *BluetoothVolumeControlProxy) RegisterCallback(ctx context.Context, callback IBluetoothVolumeControlCallback, ...) error
- func (p *BluetoothVolumeControlProxy) SetAudioInputDescription(ctx context.Context, attributionSource content.AttributionSource, ...) (bool, error)
- func (p *BluetoothVolumeControlProxy) SetAudioInputGainMode(ctx context.Context, attributionSource content.AttributionSource, ...) (bool, error)
- func (p *BluetoothVolumeControlProxy) SetAudioInputGainSetting(ctx context.Context, attributionSource content.AttributionSource, ...) (bool, error)
- func (p *BluetoothVolumeControlProxy) SetAudioInputMute(ctx context.Context, attributionSource content.AttributionSource, ...) (bool, error)
- func (p *BluetoothVolumeControlProxy) SetConnectionPolicy(ctx context.Context, device BluetoothDevice, connectionPolicy int32, ...) (bool, error)
- func (p *BluetoothVolumeControlProxy) SetDeviceVolume(ctx context.Context, device BluetoothDevice, volume int32, isGroupOp bool, ...) error
- func (p *BluetoothVolumeControlProxy) SetVolumeOffset(ctx context.Context, device BluetoothDevice, instanceId int32, ...) error
- func (p *BluetoothVolumeControlProxy) UnregisterAudioInputControlCallback(ctx context.Context, attributionSource content.AttributionSource, ...) error
- func (p *BluetoothVolumeControlProxy) UnregisterCallback(ctx context.Context, callback IBluetoothVolumeControlCallback, ...) error
- type BluetoothVolumeControlStub
- type BufferConstraints
- type DistanceMeasurementProxy
- func (p *DistanceMeasurementProxy) AsBinder() binder.IBinder
- func (p *DistanceMeasurementProxy) GetChannelSoundingMaxSupportedSecurityLevel(ctx context.Context, remoteDevice BluetoothDevice, ...) (int32, error)
- func (p *DistanceMeasurementProxy) GetChannelSoundingSupportedSecurityLevels(ctx context.Context, attributionSource content.AttributionSource) ([]int32, error)
- func (p *DistanceMeasurementProxy) GetLocalChannelSoundingMaxSupportedSecurityLevel(ctx context.Context, attributionSource content.AttributionSource) (int32, error)
- func (p *DistanceMeasurementProxy) GetSupportedDistanceMeasurementMethods(ctx context.Context, attributionSource content.AttributionSource) ([]le.DistanceMeasurementMethod, error)
- func (p *DistanceMeasurementProxy) StartDistanceMeasurement(ctx context.Context, uuid os.ParcelUuid, params le.DistanceMeasurementParams, ...) error
- func (p *DistanceMeasurementProxy) StopDistanceMeasurement(ctx context.Context, uuid os.ParcelUuid, device BluetoothDevice, method int32, ...) (int32, error)
- type DistanceMeasurementStub
- type EncryptionStatusInnerParcel
- type IAdapter
- type IAdapterServer
- type IAudioInputCallback
- type IAudioInputCallbackServer
- type IBluetooth
- type IBluetoothA2dp
- type IBluetoothA2dpServer
- type IBluetoothA2dpSink
- type IBluetoothA2dpSinkServer
- type IBluetoothActivityEnergyInfoListener
- type IBluetoothActivityEnergyInfoListenerServer
- type IBluetoothAdvertise
- type IBluetoothAdvertiseServer
- type IBluetoothAvrcpController
- type IBluetoothAvrcpControllerServer
- type IBluetoothAvrcpTarget
- type IBluetoothAvrcpTargetServer
- type IBluetoothBattery
- type IBluetoothBatteryServer
- type IBluetoothCallback
- type IBluetoothCallbackServer
- type IBluetoothConnectionCallback
- type IBluetoothConnectionCallbackServer
- type IBluetoothCsipSetCoordinator
- type IBluetoothCsipSetCoordinatorCallback
- type IBluetoothCsipSetCoordinatorCallbackServer
- type IBluetoothCsipSetCoordinatorLockCallback
- type IBluetoothCsipSetCoordinatorLockCallbackServer
- type IBluetoothCsipSetCoordinatorServer
- type IBluetoothGatt
- type IBluetoothGattCallback
- type IBluetoothGattCallbackServer
- type IBluetoothGattServer
- type IBluetoothGattServerCallback
- type IBluetoothGattServerCallbackServer
- type IBluetoothHapClient
- type IBluetoothHapClientCallback
- type IBluetoothHapClientCallbackServer
- type IBluetoothHapClientServer
- type IBluetoothHciVendorSpecificCallback
- type IBluetoothHciVendorSpecificCallbackServer
- type IBluetoothHeadset
- type IBluetoothHeadsetClient
- type IBluetoothHeadsetClientServer
- type IBluetoothHeadsetServer
- type IBluetoothHearingAid
- type IBluetoothHearingAidServer
- type IBluetoothHidDevice
- type IBluetoothHidDeviceCallback
- type IBluetoothHidDeviceCallbackServer
- type IBluetoothHidDeviceServer
- type IBluetoothHidHost
- type IBluetoothHidHostServer
- type IBluetoothLeAudio
- type IBluetoothLeAudioCallback
- type IBluetoothLeAudioCallbackServer
- type IBluetoothLeAudioServer
- type IBluetoothLeBroadcastAssistant
- type IBluetoothLeBroadcastAssistantCallback
- type IBluetoothLeBroadcastAssistantCallbackServer
- type IBluetoothLeBroadcastAssistantServer
- type IBluetoothLeBroadcastCallback
- type IBluetoothLeBroadcastCallbackServer
- type IBluetoothLeCallControl
- type IBluetoothLeCallControlCallback
- type IBluetoothLeCallControlCallbackServer
- type IBluetoothLeCallControlServer
- type IBluetoothManager
- type IBluetoothManagerCallback
- type IBluetoothManagerCallbackServer
- type IBluetoothManagerServer
- type IBluetoothMap
- type IBluetoothMapClient
- type IBluetoothMapClientServer
- type IBluetoothMapServer
- type IBluetoothMcpServiceManager
- type IBluetoothMcpServiceManagerServer
- type IBluetoothMetadataListener
- type IBluetoothMetadataListenerServer
- type IBluetoothOobDataCallback
- type IBluetoothOobDataCallbackServer
- type IBluetoothPan
- type IBluetoothPanCallback
- type IBluetoothPanCallbackServer
- type IBluetoothPanServer
- type IBluetoothPbap
- type IBluetoothPbapClient
- type IBluetoothPbapClientServer
- type IBluetoothPbapServer
- type IBluetoothPreferredAudioProfilesCallback
- type IBluetoothPreferredAudioProfilesCallbackServer
- type IBluetoothProfileCallback
- type IBluetoothProfileCallbackServer
- type IBluetoothProfileServiceConnection
- type IBluetoothProfileServiceConnectionServer
- type IBluetoothQualityReportReadyCallback
- type IBluetoothQualityReportReadyCallbackServer
- type IBluetoothSap
- type IBluetoothSapServer
- type IBluetoothScan
- type IBluetoothScanServer
- type IBluetoothServer
- type IBluetoothSocketManager
- type IBluetoothSocketManagerServer
- type IBluetoothVolumeControl
- type IBluetoothVolumeControlCallback
- type IBluetoothVolumeControlCallbackServer
- type IBluetoothVolumeControlServer
- type IDistanceMeasurement
- type IDistanceMeasurementServer
- type IncomingRfcommSocketInfo
- type OobData
- type State
Constants ¶
const ( TransactionIAdapterOffToBleOn = binder.FirstCallTransaction + 0 TransactionIAdapterOnToBleOn = binder.FirstCallTransaction + 1 TransactionIAdapterBleOnToOn = binder.FirstCallTransaction + 2 TransactionIAdapterBleOnToOff = binder.FirstCallTransaction + 3 TransactionIAdapterRegisterCallback = binder.FirstCallTransaction + 4 TransactionIAdapterUnregisterCallback = binder.FirstCallTransaction + 5 TransactionIAdapterUnregAllGattClient = binder.FirstCallTransaction + 6 TransactionIAdapterKillBluetoothProcess = binder.FirstCallTransaction + 7 )
const ( MethodIAdapterOffToBleOn = "offToBleOn" MethodIAdapterOnToBleOn = "onToBleOn" MethodIAdapterBleOnToOn = "bleOnToOn" MethodIAdapterBleOnToOff = "bleOnToOff" MethodIAdapterRegisterCallback = "registerCallback" MethodIAdapterUnregisterCallback = "unregisterCallback" MethodIAdapterUnregAllGattClient = "unregAllGattClient" MethodIAdapterKillBluetoothProcess = "killBluetoothProcess" )
const ( TransactionIAudioInputCallbackOnDescriptionChanged = binder.FirstCallTransaction + 0 TransactionIAudioInputCallbackOnStatusChanged = binder.FirstCallTransaction + 1 TransactionIAudioInputCallbackOnStateChanged = binder.FirstCallTransaction + 2 TransactionIAudioInputCallbackOnSetGainSettingFailed = binder.FirstCallTransaction + 3 TransactionIAudioInputCallbackOnSetGainModeFailed = binder.FirstCallTransaction + 4 TransactionIAudioInputCallbackOnSetMuteFailed = binder.FirstCallTransaction + 5 )
const ( MethodIAudioInputCallbackOnDescriptionChanged = "onDescriptionChanged" MethodIAudioInputCallbackOnStatusChanged = "onStatusChanged" MethodIAudioInputCallbackOnStateChanged = "onStateChanged" MethodIAudioInputCallbackOnSetGainSettingFailed = "onSetGainSettingFailed" MethodIAudioInputCallbackOnSetGainModeFailed = "onSetGainModeFailed" MethodIAudioInputCallbackOnSetMuteFailed = "onSetMuteFailed" )
const ( TransactionIBluetoothGetUuids = binder.FirstCallTransaction + 0 TransactionIBluetoothSetName = binder.FirstCallTransaction + 1 TransactionIBluetoothGetIdentityAddress = binder.FirstCallTransaction + 2 TransactionIBluetoothGetIdentityAddressWithType = binder.FirstCallTransaction + 3 TransactionIBluetoothGetName = binder.FirstCallTransaction + 4 TransactionIBluetoothGetNameLengthForAdvertise = binder.FirstCallTransaction + 5 TransactionIBluetoothGetScanMode = binder.FirstCallTransaction + 6 TransactionIBluetoothSetScanMode = binder.FirstCallTransaction + 7 TransactionIBluetoothGetDiscoverableTimeout = binder.FirstCallTransaction + 8 TransactionIBluetoothSetDiscoverableTimeout = binder.FirstCallTransaction + 9 TransactionIBluetoothStartDiscovery = binder.FirstCallTransaction + 10 TransactionIBluetoothCancelDiscovery = binder.FirstCallTransaction + 11 TransactionIBluetoothIsDiscovering = binder.FirstCallTransaction + 12 TransactionIBluetoothGetDiscoveryEndMillis = binder.FirstCallTransaction + 13 TransactionIBluetoothGetAdapterConnectionState = binder.FirstCallTransaction + 14 TransactionIBluetoothGetProfileConnectionState = binder.FirstCallTransaction + 15 TransactionIBluetoothGetBondedDevices = binder.FirstCallTransaction + 16 TransactionIBluetoothCreateBond = binder.FirstCallTransaction + 17 TransactionIBluetoothCreateBondOutOfBand = binder.FirstCallTransaction + 18 TransactionIBluetoothCancelBondProcess = binder.FirstCallTransaction + 19 TransactionIBluetoothRemoveBond = binder.FirstCallTransaction + 20 TransactionIBluetoothGetBondState = binder.FirstCallTransaction + 21 TransactionIBluetoothIsBondingInitiatedLocally = binder.FirstCallTransaction + 22 TransactionIBluetoothGetSupportedProfiles = binder.FirstCallTransaction + 23 TransactionIBluetoothGetConnectionState = binder.FirstCallTransaction + 24 TransactionIBluetoothGetConnectionHandle = binder.FirstCallTransaction + 25 TransactionIBluetoothGetRemoteName = binder.FirstCallTransaction + 26 TransactionIBluetoothGetRemoteType = binder.FirstCallTransaction + 27 TransactionIBluetoothGetRemoteAlias = binder.FirstCallTransaction + 28 TransactionIBluetoothSetRemoteAlias = binder.FirstCallTransaction + 29 TransactionIBluetoothGetRemoteClass = binder.FirstCallTransaction + 30 TransactionIBluetoothGetRemoteUuids = binder.FirstCallTransaction + 31 TransactionIBluetoothFetchRemoteUuids = binder.FirstCallTransaction + 32 TransactionIBluetoothSdpSearch = binder.FirstCallTransaction + 33 TransactionIBluetoothGetBatteryLevel = binder.FirstCallTransaction + 34 TransactionIBluetoothGetMaxConnectedAudioDevices = binder.FirstCallTransaction + 35 TransactionIBluetoothSetPin = binder.FirstCallTransaction + 36 TransactionIBluetoothSetPasskey = binder.FirstCallTransaction + 37 TransactionIBluetoothSetPairingConfirmation = binder.FirstCallTransaction + 38 TransactionIBluetoothGetPhonebookAccessPermission = binder.FirstCallTransaction + 39 TransactionIBluetoothSetSilenceMode = binder.FirstCallTransaction + 40 TransactionIBluetoothGetSilenceMode = binder.FirstCallTransaction + 41 TransactionIBluetoothSetPhonebookAccessPermission = binder.FirstCallTransaction + 42 TransactionIBluetoothGetMessageAccessPermission = binder.FirstCallTransaction + 43 TransactionIBluetoothSetMessageAccessPermission = binder.FirstCallTransaction + 44 TransactionIBluetoothGetSimAccessPermission = binder.FirstCallTransaction + 45 TransactionIBluetoothSetSimAccessPermission = binder.FirstCallTransaction + 46 TransactionIBluetoothLogL2capcocServerConnection = binder.FirstCallTransaction + 47 TransactionIBluetoothGetSocketManager = binder.FirstCallTransaction + 48 TransactionIBluetoothLogL2capcocClientConnection = binder.FirstCallTransaction + 49 TransactionIBluetoothIsMultiAdvertisementSupported = binder.FirstCallTransaction + 50 TransactionIBluetoothIsOffloadedFilteringSupported = binder.FirstCallTransaction + 51 TransactionIBluetoothIsOffloadedScanBatchingSupported = binder.FirstCallTransaction + 52 TransactionIBluetoothIsActivityAndEnergyReportingSupported = binder.FirstCallTransaction + 53 TransactionIBluetoothIsLe2MPhySupported = binder.FirstCallTransaction + 54 TransactionIBluetoothIsLeCodedPhySupported = binder.FirstCallTransaction + 55 TransactionIBluetoothIsLeExtendedAdvertisingSupported = binder.FirstCallTransaction + 56 TransactionIBluetoothIsLePeriodicAdvertisingSupported = binder.FirstCallTransaction + 57 TransactionIBluetoothIsLeAudioSupported = binder.FirstCallTransaction + 58 TransactionIBluetoothIsLeAudioBroadcastSourceSupported = binder.FirstCallTransaction + 59 TransactionIBluetoothIsLeAudioBroadcastAssistantSupported = binder.FirstCallTransaction + 60 TransactionIBluetoothIsDistanceMeasurementSupported = binder.FirstCallTransaction + 61 TransactionIBluetoothGetLeMaximumAdvertisingDataLength = binder.FirstCallTransaction + 62 TransactionIBluetoothRegisterMetadataListener = binder.FirstCallTransaction + 63 TransactionIBluetoothUnregisterMetadataListener = binder.FirstCallTransaction + 64 TransactionIBluetoothSetMetadata = binder.FirstCallTransaction + 65 TransactionIBluetoothGetMetadata = binder.FirstCallTransaction + 66 TransactionIBluetoothRequestActivityInfo = binder.FirstCallTransaction + 67 TransactionIBluetoothConnectAllEnabledProfiles = binder.FirstCallTransaction + 68 TransactionIBluetoothDisconnectAllEnabledProfiles = binder.FirstCallTransaction + 69 TransactionIBluetoothSetActiveDevice = binder.FirstCallTransaction + 70 TransactionIBluetoothGetActiveDevices = binder.FirstCallTransaction + 71 TransactionIBluetoothGetMostRecentlyConnectedDevices = binder.FirstCallTransaction + 72 TransactionIBluetoothRemoveActiveDevice = binder.FirstCallTransaction + 73 TransactionIBluetoothRegisterBluetoothConnectionCallback = binder.FirstCallTransaction + 74 TransactionIBluetoothUnregisterBluetoothConnectionCallback = binder.FirstCallTransaction + 75 TransactionIBluetoothCanBondWithoutDialog = binder.FirstCallTransaction + 76 TransactionIBluetoothGetPackageNameOfBondingApplication = binder.FirstCallTransaction + 77 TransactionIBluetoothGenerateLocalOobData = binder.FirstCallTransaction + 78 TransactionIBluetoothAllowLowLatencyAudio = binder.FirstCallTransaction + 79 TransactionIBluetoothIsRequestAudioPolicyAsSinkSupported = binder.FirstCallTransaction + 80 TransactionIBluetoothRequestAudioPolicyAsSink = binder.FirstCallTransaction + 81 TransactionIBluetoothGetRequestedAudioPolicyAsSink = binder.FirstCallTransaction + 82 TransactionIBluetoothStartRfcommListener = binder.FirstCallTransaction + 83 TransactionIBluetoothStopRfcommListener = binder.FirstCallTransaction + 84 TransactionIBluetoothRetrievePendingSocketForServiceRecord = binder.FirstCallTransaction + 85 TransactionIBluetoothSetPreferredAudioProfiles = binder.FirstCallTransaction + 86 TransactionIBluetoothGetPreferredAudioProfiles = binder.FirstCallTransaction + 87 TransactionIBluetoothIsDualModeAudioEnabled = binder.FirstCallTransaction + 88 TransactionIBluetoothRegisterPreferredAudioProfilesChangedCallback = binder.FirstCallTransaction + 89 TransactionIBluetoothUnregisterPreferredAudioProfilesChangedCallback = binder.FirstCallTransaction + 90 TransactionIBluetoothNotifyActiveDeviceChangeApplied = binder.FirstCallTransaction + 91 TransactionIBluetoothRegisterBluetoothQualityReportReadyCallback = binder.FirstCallTransaction + 92 TransactionIBluetoothUnregisterBluetoothQualityReportReadyCallback = binder.FirstCallTransaction + 93 TransactionIBluetoothRegisterHciVendorSpecificCallback = binder.FirstCallTransaction + 94 TransactionIBluetoothUnregisterHciVendorSpecificCallback = binder.FirstCallTransaction + 95 TransactionIBluetoothSendHciVendorSpecificCommand = binder.FirstCallTransaction + 96 TransactionIBluetoothGetOffloadedTransportDiscoveryDataScanSupported = binder.FirstCallTransaction + 97 TransactionIBluetoothGetBluetoothGatt = binder.FirstCallTransaction + 98 TransactionIBluetoothGetBluetoothScan = binder.FirstCallTransaction + 99 TransactionIBluetoothGetProfile = binder.FirstCallTransaction + 100 TransactionIBluetoothGetProfileOneway = binder.FirstCallTransaction + 101 TransactionIBluetoothSetActiveAudioDevicePolicy = binder.FirstCallTransaction + 102 TransactionIBluetoothGetActiveAudioDevicePolicy = binder.FirstCallTransaction + 103 TransactionIBluetoothSetMicrophonePreferredForCalls = binder.FirstCallTransaction + 104 TransactionIBluetoothIsMicrophonePreferredForCalls = binder.FirstCallTransaction + 105 TransactionIBluetoothSetOnHeadDetectionEnabled = binder.FirstCallTransaction + 106 TransactionIBluetoothSetOnHead = binder.FirstCallTransaction + 107 TransactionIBluetoothIsLeCocSocketOffloadSupported = binder.FirstCallTransaction + 108 TransactionIBluetoothIsRfcommSocketOffloadSupported = binder.FirstCallTransaction + 109 TransactionIBluetoothGetBluetoothAdvertise = binder.FirstCallTransaction + 110 TransactionIBluetoothGetDistanceMeasurement = binder.FirstCallTransaction + 111 TransactionIBluetoothGetKeyMissingCount = binder.FirstCallTransaction + 112 TransactionIBluetoothGetEncryptionStatus = binder.FirstCallTransaction + 113 TransactionIBluetoothIsConnected = binder.FirstCallTransaction + 114 )
const ( MethodIBluetoothGetUuids = "getUuids" MethodIBluetoothSetName = "setName" MethodIBluetoothGetIdentityAddress = "getIdentityAddress" MethodIBluetoothGetIdentityAddressWithType = "getIdentityAddressWithType" MethodIBluetoothGetName = "getName" MethodIBluetoothGetNameLengthForAdvertise = "getNameLengthForAdvertise" MethodIBluetoothGetScanMode = "getScanMode" MethodIBluetoothSetScanMode = "setScanMode" MethodIBluetoothGetDiscoverableTimeout = "getDiscoverableTimeout" MethodIBluetoothSetDiscoverableTimeout = "setDiscoverableTimeout" MethodIBluetoothStartDiscovery = "startDiscovery" MethodIBluetoothCancelDiscovery = "cancelDiscovery" MethodIBluetoothIsDiscovering = "isDiscovering" MethodIBluetoothGetDiscoveryEndMillis = "getDiscoveryEndMillis" MethodIBluetoothGetAdapterConnectionState = "getAdapterConnectionState" MethodIBluetoothGetProfileConnectionState = "getProfileConnectionState" MethodIBluetoothGetBondedDevices = "getBondedDevices" MethodIBluetoothCreateBond = "createBond" MethodIBluetoothCreateBondOutOfBand = "createBondOutOfBand" MethodIBluetoothCancelBondProcess = "cancelBondProcess" MethodIBluetoothRemoveBond = "removeBond" MethodIBluetoothGetBondState = "getBondState" MethodIBluetoothIsBondingInitiatedLocally = "isBondingInitiatedLocally" MethodIBluetoothGetSupportedProfiles = "getSupportedProfiles" MethodIBluetoothGetConnectionState = "getConnectionState" MethodIBluetoothGetConnectionHandle = "getConnectionHandle" MethodIBluetoothGetRemoteName = "getRemoteName" MethodIBluetoothGetRemoteType = "getRemoteType" MethodIBluetoothGetRemoteAlias = "getRemoteAlias" MethodIBluetoothSetRemoteAlias = "setRemoteAlias" MethodIBluetoothGetRemoteClass = "getRemoteClass" MethodIBluetoothGetRemoteUuids = "getRemoteUuids" MethodIBluetoothFetchRemoteUuids = "fetchRemoteUuids" MethodIBluetoothSdpSearch = "sdpSearch" MethodIBluetoothGetBatteryLevel = "getBatteryLevel" MethodIBluetoothGetMaxConnectedAudioDevices = "getMaxConnectedAudioDevices" MethodIBluetoothSetPin = "setPin" MethodIBluetoothSetPasskey = "setPasskey" MethodIBluetoothSetPairingConfirmation = "setPairingConfirmation" MethodIBluetoothGetPhonebookAccessPermission = "getPhonebookAccessPermission" MethodIBluetoothSetSilenceMode = "setSilenceMode" MethodIBluetoothGetSilenceMode = "getSilenceMode" MethodIBluetoothSetPhonebookAccessPermission = "setPhonebookAccessPermission" MethodIBluetoothGetMessageAccessPermission = "getMessageAccessPermission" MethodIBluetoothSetMessageAccessPermission = "setMessageAccessPermission" MethodIBluetoothGetSimAccessPermission = "getSimAccessPermission" MethodIBluetoothSetSimAccessPermission = "setSimAccessPermission" MethodIBluetoothLogL2capcocServerConnection = "logL2capcocServerConnection" MethodIBluetoothGetSocketManager = "getSocketManager" MethodIBluetoothLogL2capcocClientConnection = "logL2capcocClientConnection" MethodIBluetoothIsMultiAdvertisementSupported = "isMultiAdvertisementSupported" MethodIBluetoothIsOffloadedFilteringSupported = "isOffloadedFilteringSupported" MethodIBluetoothIsOffloadedScanBatchingSupported = "isOffloadedScanBatchingSupported" MethodIBluetoothIsActivityAndEnergyReportingSupported = "isActivityAndEnergyReportingSupported" MethodIBluetoothIsLe2MPhySupported = "isLe2MPhySupported" MethodIBluetoothIsLeCodedPhySupported = "isLeCodedPhySupported" MethodIBluetoothIsLeExtendedAdvertisingSupported = "isLeExtendedAdvertisingSupported" MethodIBluetoothIsLePeriodicAdvertisingSupported = "isLePeriodicAdvertisingSupported" MethodIBluetoothIsLeAudioSupported = "isLeAudioSupported" MethodIBluetoothIsLeAudioBroadcastSourceSupported = "isLeAudioBroadcastSourceSupported" MethodIBluetoothIsLeAudioBroadcastAssistantSupported = "isLeAudioBroadcastAssistantSupported" MethodIBluetoothIsDistanceMeasurementSupported = "isDistanceMeasurementSupported" MethodIBluetoothGetLeMaximumAdvertisingDataLength = "getLeMaximumAdvertisingDataLength" MethodIBluetoothRegisterMetadataListener = "registerMetadataListener" MethodIBluetoothUnregisterMetadataListener = "unregisterMetadataListener" MethodIBluetoothSetMetadata = "setMetadata" MethodIBluetoothGetMetadata = "getMetadata" MethodIBluetoothRequestActivityInfo = "requestActivityInfo" MethodIBluetoothConnectAllEnabledProfiles = "connectAllEnabledProfiles" MethodIBluetoothDisconnectAllEnabledProfiles = "disconnectAllEnabledProfiles" MethodIBluetoothSetActiveDevice = "setActiveDevice" MethodIBluetoothGetActiveDevices = "getActiveDevices" MethodIBluetoothGetMostRecentlyConnectedDevices = "getMostRecentlyConnectedDevices" MethodIBluetoothRemoveActiveDevice = "removeActiveDevice" MethodIBluetoothRegisterBluetoothConnectionCallback = "registerBluetoothConnectionCallback" MethodIBluetoothUnregisterBluetoothConnectionCallback = "unregisterBluetoothConnectionCallback" MethodIBluetoothCanBondWithoutDialog = "canBondWithoutDialog" MethodIBluetoothGetPackageNameOfBondingApplication = "getPackageNameOfBondingApplication" MethodIBluetoothGenerateLocalOobData = "generateLocalOobData" MethodIBluetoothAllowLowLatencyAudio = "allowLowLatencyAudio" MethodIBluetoothIsRequestAudioPolicyAsSinkSupported = "isRequestAudioPolicyAsSinkSupported" MethodIBluetoothRequestAudioPolicyAsSink = "requestAudioPolicyAsSink" MethodIBluetoothGetRequestedAudioPolicyAsSink = "getRequestedAudioPolicyAsSink" MethodIBluetoothStartRfcommListener = "startRfcommListener" MethodIBluetoothStopRfcommListener = "stopRfcommListener" MethodIBluetoothRetrievePendingSocketForServiceRecord = "retrievePendingSocketForServiceRecord" MethodIBluetoothSetPreferredAudioProfiles = "setPreferredAudioProfiles" MethodIBluetoothGetPreferredAudioProfiles = "getPreferredAudioProfiles" MethodIBluetoothIsDualModeAudioEnabled = "isDualModeAudioEnabled" MethodIBluetoothRegisterPreferredAudioProfilesChangedCallback = "registerPreferredAudioProfilesChangedCallback" MethodIBluetoothUnregisterPreferredAudioProfilesChangedCallback = "unregisterPreferredAudioProfilesChangedCallback" MethodIBluetoothNotifyActiveDeviceChangeApplied = "notifyActiveDeviceChangeApplied" MethodIBluetoothRegisterBluetoothQualityReportReadyCallback = "registerBluetoothQualityReportReadyCallback" MethodIBluetoothUnregisterBluetoothQualityReportReadyCallback = "unregisterBluetoothQualityReportReadyCallback" MethodIBluetoothRegisterHciVendorSpecificCallback = "registerHciVendorSpecificCallback" MethodIBluetoothUnregisterHciVendorSpecificCallback = "unregisterHciVendorSpecificCallback" MethodIBluetoothSendHciVendorSpecificCommand = "sendHciVendorSpecificCommand" MethodIBluetoothGetOffloadedTransportDiscoveryDataScanSupported = "getOffloadedTransportDiscoveryDataScanSupported" MethodIBluetoothGetBluetoothGatt = "getBluetoothGatt" MethodIBluetoothGetBluetoothScan = "getBluetoothScan" MethodIBluetoothGetProfile = "getProfile" MethodIBluetoothGetProfileOneway = "getProfileOneway" MethodIBluetoothSetActiveAudioDevicePolicy = "setActiveAudioDevicePolicy" MethodIBluetoothGetActiveAudioDevicePolicy = "getActiveAudioDevicePolicy" MethodIBluetoothSetMicrophonePreferredForCalls = "setMicrophonePreferredForCalls" MethodIBluetoothIsMicrophonePreferredForCalls = "isMicrophonePreferredForCalls" MethodIBluetoothSetOnHeadDetectionEnabled = "setOnHeadDetectionEnabled" MethodIBluetoothSetOnHead = "setOnHead" MethodIBluetoothIsLeCocSocketOffloadSupported = "isLeCocSocketOffloadSupported" MethodIBluetoothIsRfcommSocketOffloadSupported = "isRfcommSocketOffloadSupported" MethodIBluetoothGetBluetoothAdvertise = "getBluetoothAdvertise" MethodIBluetoothGetDistanceMeasurement = "getDistanceMeasurement" MethodIBluetoothGetKeyMissingCount = "getKeyMissingCount" MethodIBluetoothGetEncryptionStatus = "getEncryptionStatus" MethodIBluetoothIsConnected = "isConnected" )
const ( TransactionIBluetoothA2dpConnect = binder.FirstCallTransaction + 0 TransactionIBluetoothA2dpDisconnect = binder.FirstCallTransaction + 1 TransactionIBluetoothA2dpGetConnectedDevices = binder.FirstCallTransaction + 2 TransactionIBluetoothA2dpGetDevicesMatchingConnectionStates = binder.FirstCallTransaction + 3 TransactionIBluetoothA2dpGetConnectionState = binder.FirstCallTransaction + 4 TransactionIBluetoothA2dpSetActiveDevice = binder.FirstCallTransaction + 5 TransactionIBluetoothA2dpGetActiveDevice = binder.FirstCallTransaction + 6 TransactionIBluetoothA2dpSetConnectionPolicy = binder.FirstCallTransaction + 7 TransactionIBluetoothA2dpGetConnectionPolicy = binder.FirstCallTransaction + 8 TransactionIBluetoothA2dpSetAvrcpAbsoluteVolume = binder.FirstCallTransaction + 9 TransactionIBluetoothA2dpIsA2dpPlaying = binder.FirstCallTransaction + 10 TransactionIBluetoothA2dpGetSupportedCodecTypes = binder.FirstCallTransaction + 11 TransactionIBluetoothA2dpGetCodecStatus = binder.FirstCallTransaction + 12 TransactionIBluetoothA2dpSetCodecConfigPreference = binder.FirstCallTransaction + 13 TransactionIBluetoothA2dpEnableOptionalCodecs = binder.FirstCallTransaction + 14 TransactionIBluetoothA2dpDisableOptionalCodecs = binder.FirstCallTransaction + 15 TransactionIBluetoothA2dpIsOptionalCodecsSupported = binder.FirstCallTransaction + 16 TransactionIBluetoothA2dpIsOptionalCodecsEnabled = binder.FirstCallTransaction + 17 TransactionIBluetoothA2dpSetOptionalCodecsEnabled = binder.FirstCallTransaction + 18 TransactionIBluetoothA2dpGetDynamicBufferSupport = binder.FirstCallTransaction + 19 TransactionIBluetoothA2dpGetBufferConstraints = binder.FirstCallTransaction + 20 TransactionIBluetoothA2dpSetBufferLengthMillis = binder.FirstCallTransaction + 21 )
const ( MethodIBluetoothA2dpConnect = "connect" MethodIBluetoothA2dpDisconnect = "disconnect" MethodIBluetoothA2dpGetConnectedDevices = "getConnectedDevices" MethodIBluetoothA2dpGetDevicesMatchingConnectionStates = "getDevicesMatchingConnectionStates" MethodIBluetoothA2dpGetConnectionState = "getConnectionState" MethodIBluetoothA2dpSetActiveDevice = "setActiveDevice" MethodIBluetoothA2dpGetActiveDevice = "getActiveDevice" MethodIBluetoothA2dpSetConnectionPolicy = "setConnectionPolicy" MethodIBluetoothA2dpGetConnectionPolicy = "getConnectionPolicy" MethodIBluetoothA2dpSetAvrcpAbsoluteVolume = "setAvrcpAbsoluteVolume" MethodIBluetoothA2dpIsA2dpPlaying = "isA2dpPlaying" MethodIBluetoothA2dpGetSupportedCodecTypes = "getSupportedCodecTypes" MethodIBluetoothA2dpGetCodecStatus = "getCodecStatus" MethodIBluetoothA2dpSetCodecConfigPreference = "setCodecConfigPreference" MethodIBluetoothA2dpEnableOptionalCodecs = "enableOptionalCodecs" MethodIBluetoothA2dpDisableOptionalCodecs = "disableOptionalCodecs" MethodIBluetoothA2dpIsOptionalCodecsSupported = "isOptionalCodecsSupported" MethodIBluetoothA2dpIsOptionalCodecsEnabled = "isOptionalCodecsEnabled" MethodIBluetoothA2dpSetOptionalCodecsEnabled = "setOptionalCodecsEnabled" MethodIBluetoothA2dpGetDynamicBufferSupport = "getDynamicBufferSupport" MethodIBluetoothA2dpGetBufferConstraints = "getBufferConstraints" MethodIBluetoothA2dpSetBufferLengthMillis = "setBufferLengthMillis" )
const ( TransactionIBluetoothA2dpSinkConnect = binder.FirstCallTransaction + 0 TransactionIBluetoothA2dpSinkDisconnect = binder.FirstCallTransaction + 1 TransactionIBluetoothA2dpSinkGetConnectedDevices = binder.FirstCallTransaction + 2 TransactionIBluetoothA2dpSinkGetDevicesMatchingConnectionStates = binder.FirstCallTransaction + 3 TransactionIBluetoothA2dpSinkGetConnectionState = binder.FirstCallTransaction + 4 TransactionIBluetoothA2dpSinkGetAudioConfig = binder.FirstCallTransaction + 5 TransactionIBluetoothA2dpSinkSetConnectionPolicy = binder.FirstCallTransaction + 6 TransactionIBluetoothA2dpSinkGetConnectionPolicy = binder.FirstCallTransaction + 7 TransactionIBluetoothA2dpSinkIsA2dpPlaying = binder.FirstCallTransaction + 8 )
const ( MethodIBluetoothA2dpSinkConnect = "connect" MethodIBluetoothA2dpSinkDisconnect = "disconnect" MethodIBluetoothA2dpSinkGetConnectedDevices = "getConnectedDevices" MethodIBluetoothA2dpSinkGetDevicesMatchingConnectionStates = "getDevicesMatchingConnectionStates" MethodIBluetoothA2dpSinkGetConnectionState = "getConnectionState" MethodIBluetoothA2dpSinkGetAudioConfig = "getAudioConfig" MethodIBluetoothA2dpSinkSetConnectionPolicy = "setConnectionPolicy" MethodIBluetoothA2dpSinkGetConnectionPolicy = "getConnectionPolicy" MethodIBluetoothA2dpSinkIsA2dpPlaying = "isA2dpPlaying" )
const ( TransactionIBluetoothAdvertiseStartAdvertisingSet = binder.FirstCallTransaction + 0 TransactionIBluetoothAdvertiseStopAdvertisingSet = binder.FirstCallTransaction + 1 TransactionIBluetoothAdvertiseGetOwnAddress = binder.FirstCallTransaction + 2 TransactionIBluetoothAdvertiseEnableAdvertisingSet = binder.FirstCallTransaction + 3 TransactionIBluetoothAdvertiseSetAdvertisingData = binder.FirstCallTransaction + 4 TransactionIBluetoothAdvertiseSetScanResponseData = binder.FirstCallTransaction + 5 TransactionIBluetoothAdvertiseSetAdvertisingParameters = binder.FirstCallTransaction + 6 TransactionIBluetoothAdvertiseSetPeriodicAdvertisingParameters = binder.FirstCallTransaction + 7 TransactionIBluetoothAdvertiseSetPeriodicAdvertisingData = binder.FirstCallTransaction + 8 TransactionIBluetoothAdvertiseSetPeriodicAdvertisingEnable = binder.FirstCallTransaction + 9 )
const ( MethodIBluetoothAdvertiseStartAdvertisingSet = "startAdvertisingSet" MethodIBluetoothAdvertiseStopAdvertisingSet = "stopAdvertisingSet" MethodIBluetoothAdvertiseGetOwnAddress = "getOwnAddress" MethodIBluetoothAdvertiseEnableAdvertisingSet = "enableAdvertisingSet" MethodIBluetoothAdvertiseSetAdvertisingData = "setAdvertisingData" MethodIBluetoothAdvertiseSetScanResponseData = "setScanResponseData" MethodIBluetoothAdvertiseSetAdvertisingParameters = "setAdvertisingParameters" MethodIBluetoothAdvertiseSetPeriodicAdvertisingParameters = "setPeriodicAdvertisingParameters" MethodIBluetoothAdvertiseSetPeriodicAdvertisingData = "setPeriodicAdvertisingData" MethodIBluetoothAdvertiseSetPeriodicAdvertisingEnable = "setPeriodicAdvertisingEnable" )
const ( TransactionIBluetoothAvrcpControllerGetConnectedDevices = binder.FirstCallTransaction + 0 TransactionIBluetoothAvrcpControllerGetDevicesMatchingConnectionStates = binder.FirstCallTransaction + 1 TransactionIBluetoothAvrcpControllerGetConnectionState = binder.FirstCallTransaction + 2 )
const ( MethodIBluetoothAvrcpControllerGetConnectedDevices = "getConnectedDevices" MethodIBluetoothAvrcpControllerGetDevicesMatchingConnectionStates = "getDevicesMatchingConnectionStates" MethodIBluetoothAvrcpControllerGetConnectionState = "getConnectionState" )
const ( TransactionIBluetoothBatteryConnect = binder.FirstCallTransaction + 0 TransactionIBluetoothBatteryDisconnect = binder.FirstCallTransaction + 1 TransactionIBluetoothBatteryGetConnectedDevices = binder.FirstCallTransaction + 2 TransactionIBluetoothBatteryGetDevicesMatchingConnectionStates = binder.FirstCallTransaction + 3 TransactionIBluetoothBatteryGetConnectionState = binder.FirstCallTransaction + 4 TransactionIBluetoothBatterySetConnectionPolicy = binder.FirstCallTransaction + 5 TransactionIBluetoothBatteryGetConnectionPolicy = binder.FirstCallTransaction + 6 )
const ( MethodIBluetoothBatteryConnect = "connect" MethodIBluetoothBatteryDisconnect = "disconnect" MethodIBluetoothBatteryGetConnectedDevices = "getConnectedDevices" MethodIBluetoothBatteryGetDevicesMatchingConnectionStates = "getDevicesMatchingConnectionStates" MethodIBluetoothBatteryGetConnectionState = "getConnectionState" MethodIBluetoothBatterySetConnectionPolicy = "setConnectionPolicy" MethodIBluetoothBatteryGetConnectionPolicy = "getConnectionPolicy" )
const ( TransactionIBluetoothCallbackOnBluetoothStateChange = binder.FirstCallTransaction + 0 TransactionIBluetoothCallbackOnAdapterNameChange = binder.FirstCallTransaction + 1 TransactionIBluetoothCallbackOnAdapterAddressChange = binder.FirstCallTransaction + 2 TransactionIBluetoothCallbackSetAdapterServiceBinder = binder.FirstCallTransaction + 3 TransactionIBluetoothCallbackOnMediaProfileConnectionChange = binder.FirstCallTransaction + 4 TransactionIBluetoothCallbackOnWatchConnectionChange = binder.FirstCallTransaction + 5 )
const ( MethodIBluetoothCallbackOnBluetoothStateChange = "onBluetoothStateChange" MethodIBluetoothCallbackOnAdapterNameChange = "onAdapterNameChange" MethodIBluetoothCallbackOnAdapterAddressChange = "onAdapterAddressChange" MethodIBluetoothCallbackSetAdapterServiceBinder = "setAdapterServiceBinder" MethodIBluetoothCallbackOnMediaProfileConnectionChange = "onMediaProfileConnectionChange" MethodIBluetoothCallbackOnWatchConnectionChange = "onWatchConnectionChange" )
const ( TransactionIBluetoothConnectionCallbackOnDeviceConnected = binder.FirstCallTransaction + 0 TransactionIBluetoothConnectionCallbackOnDeviceDisconnected = binder.FirstCallTransaction + 1 )
const ( MethodIBluetoothConnectionCallbackOnDeviceConnected = "onDeviceConnected" MethodIBluetoothConnectionCallbackOnDeviceDisconnected = "onDeviceDisconnected" )
const ( TransactionIBluetoothCsipSetCoordinatorGetConnectedDevices = binder.FirstCallTransaction + 0 TransactionIBluetoothCsipSetCoordinatorGetDevicesMatchingConnectionStates = binder.FirstCallTransaction + 1 TransactionIBluetoothCsipSetCoordinatorGetConnectionState = binder.FirstCallTransaction + 2 TransactionIBluetoothCsipSetCoordinatorSetConnectionPolicy = binder.FirstCallTransaction + 3 TransactionIBluetoothCsipSetCoordinatorGetConnectionPolicy = binder.FirstCallTransaction + 4 TransactionIBluetoothCsipSetCoordinatorGetAllGroupIds = binder.FirstCallTransaction + 5 TransactionIBluetoothCsipSetCoordinatorGetGroupUuidMapByDevice = binder.FirstCallTransaction + 6 TransactionIBluetoothCsipSetCoordinatorGetDesiredGroupSize = binder.FirstCallTransaction + 7 TransactionIBluetoothCsipSetCoordinatorLockGroup = binder.FirstCallTransaction + 8 TransactionIBluetoothCsipSetCoordinatorUnlockGroup = binder.FirstCallTransaction + 9 )
const ( MethodIBluetoothCsipSetCoordinatorGetConnectedDevices = "getConnectedDevices" MethodIBluetoothCsipSetCoordinatorGetDevicesMatchingConnectionStates = "getDevicesMatchingConnectionStates" MethodIBluetoothCsipSetCoordinatorGetConnectionState = "getConnectionState" MethodIBluetoothCsipSetCoordinatorSetConnectionPolicy = "setConnectionPolicy" MethodIBluetoothCsipSetCoordinatorGetConnectionPolicy = "getConnectionPolicy" MethodIBluetoothCsipSetCoordinatorGetAllGroupIds = "getAllGroupIds" MethodIBluetoothCsipSetCoordinatorGetGroupUuidMapByDevice = "getGroupUuidMapByDevice" MethodIBluetoothCsipSetCoordinatorGetDesiredGroupSize = "getDesiredGroupSize" MethodIBluetoothCsipSetCoordinatorLockGroup = "lockGroup" MethodIBluetoothCsipSetCoordinatorUnlockGroup = "unlockGroup" )
const ( IBluetoothCsipSetCoordinatorCsisGroupIdInvalid int32 = -1 IBluetoothCsipSetCoordinatorCsisGroupSizeUnknown int32 = 1 IBluetoothCsipSetCoordinatorCsisGroupLockSuccess int32 = 0 IBluetoothCsipSetCoordinatorCsisGroupLockFailedInvalidGroup int32 = 1 IBluetoothCsipSetCoordinatorCsisGroupLockFailedGroupEmpty int32 = 2 IBluetoothCsipSetCoordinatorCsisGroupLockFailedGroupNotConnected int32 = 3 IBluetoothCsipSetCoordinatorCsisGroupLockFailedLockedByOther int32 = 4 IBluetoothCsipSetCoordinatorCsisGroupLockFailedOtherReason int32 = 5 IBluetoothCsipSetCoordinatorCsisLockedGroupMemberLost int32 = 6 )
const ( TransactionIBluetoothGattGetDevicesMatchingConnectionStates = binder.FirstCallTransaction + 0 TransactionIBluetoothGattRegisterClient = binder.FirstCallTransaction + 1 TransactionIBluetoothGattUnregisterClient = binder.FirstCallTransaction + 2 TransactionIBluetoothGattClientConnect = binder.FirstCallTransaction + 3 TransactionIBluetoothGattClientDisconnect = binder.FirstCallTransaction + 4 TransactionIBluetoothGattClientSetPreferredPhy = binder.FirstCallTransaction + 5 TransactionIBluetoothGattClientReadPhy = binder.FirstCallTransaction + 6 TransactionIBluetoothGattRefreshDevice = binder.FirstCallTransaction + 7 TransactionIBluetoothGattDiscoverServices = binder.FirstCallTransaction + 8 TransactionIBluetoothGattDiscoverServiceByUuid = binder.FirstCallTransaction + 9 TransactionIBluetoothGattReadCharacteristic = binder.FirstCallTransaction + 10 TransactionIBluetoothGattReadUsingCharacteristicUuid = binder.FirstCallTransaction + 11 TransactionIBluetoothGattWriteCharacteristic = binder.FirstCallTransaction + 12 TransactionIBluetoothGattReadDescriptor = binder.FirstCallTransaction + 13 TransactionIBluetoothGattWriteDescriptor = binder.FirstCallTransaction + 14 TransactionIBluetoothGattRegisterForNotification = binder.FirstCallTransaction + 15 TransactionIBluetoothGattBeginReliableWrite = binder.FirstCallTransaction + 16 TransactionIBluetoothGattEndReliableWrite = binder.FirstCallTransaction + 17 TransactionIBluetoothGattReadRemoteRssi = binder.FirstCallTransaction + 18 TransactionIBluetoothGattConfigureMTU = binder.FirstCallTransaction + 19 TransactionIBluetoothGattConnectionParameterUpdate = binder.FirstCallTransaction + 20 TransactionIBluetoothGattLeConnectionUpdate = binder.FirstCallTransaction + 21 TransactionIBluetoothGattRegisterServer = binder.FirstCallTransaction + 22 TransactionIBluetoothGattUnregisterServer = binder.FirstCallTransaction + 23 TransactionIBluetoothGattServerConnect = binder.FirstCallTransaction + 24 TransactionIBluetoothGattServerDisconnect = binder.FirstCallTransaction + 25 TransactionIBluetoothGattServerSetPreferredPhy = binder.FirstCallTransaction + 26 TransactionIBluetoothGattServerReadPhy = binder.FirstCallTransaction + 27 TransactionIBluetoothGattAddService = binder.FirstCallTransaction + 28 TransactionIBluetoothGattRemoveService = binder.FirstCallTransaction + 29 TransactionIBluetoothGattClearServices = binder.FirstCallTransaction + 30 TransactionIBluetoothGattSendResponse = binder.FirstCallTransaction + 31 TransactionIBluetoothGattSendNotification = binder.FirstCallTransaction + 32 TransactionIBluetoothGattDisconnectAll = binder.FirstCallTransaction + 33 TransactionIBluetoothGattSubrateModeRequest = binder.FirstCallTransaction + 34 )
const ( MethodIBluetoothGattGetDevicesMatchingConnectionStates = "getDevicesMatchingConnectionStates" MethodIBluetoothGattRegisterClient = "registerClient" MethodIBluetoothGattUnregisterClient = "unregisterClient" MethodIBluetoothGattClientConnect = "clientConnect" MethodIBluetoothGattClientDisconnect = "clientDisconnect" MethodIBluetoothGattClientSetPreferredPhy = "clientSetPreferredPhy" MethodIBluetoothGattClientReadPhy = "clientReadPhy" MethodIBluetoothGattRefreshDevice = "refreshDevice" MethodIBluetoothGattDiscoverServices = "discoverServices" MethodIBluetoothGattDiscoverServiceByUuid = "discoverServiceByUuid" MethodIBluetoothGattReadCharacteristic = "readCharacteristic" MethodIBluetoothGattReadUsingCharacteristicUuid = "readUsingCharacteristicUuid" MethodIBluetoothGattWriteCharacteristic = "writeCharacteristic" MethodIBluetoothGattReadDescriptor = "readDescriptor" MethodIBluetoothGattWriteDescriptor = "writeDescriptor" MethodIBluetoothGattRegisterForNotification = "registerForNotification" MethodIBluetoothGattBeginReliableWrite = "beginReliableWrite" MethodIBluetoothGattEndReliableWrite = "endReliableWrite" MethodIBluetoothGattReadRemoteRssi = "readRemoteRssi" MethodIBluetoothGattConfigureMTU = "configureMTU" MethodIBluetoothGattConnectionParameterUpdate = "connectionParameterUpdate" MethodIBluetoothGattLeConnectionUpdate = "leConnectionUpdate" MethodIBluetoothGattRegisterServer = "registerServer" MethodIBluetoothGattUnregisterServer = "unregisterServer" MethodIBluetoothGattServerConnect = "serverConnect" MethodIBluetoothGattServerDisconnect = "serverDisconnect" MethodIBluetoothGattServerSetPreferredPhy = "serverSetPreferredPhy" MethodIBluetoothGattServerReadPhy = "serverReadPhy" MethodIBluetoothGattAddService = "addService" MethodIBluetoothGattRemoveService = "removeService" MethodIBluetoothGattClearServices = "clearServices" MethodIBluetoothGattSendResponse = "sendResponse" MethodIBluetoothGattSendNotification = "sendNotification" MethodIBluetoothGattDisconnectAll = "disconnectAll" MethodIBluetoothGattSubrateModeRequest = "subrateModeRequest" )
const ( TransactionIBluetoothGattCallbackOnClientRegistered = binder.FirstCallTransaction + 0 TransactionIBluetoothGattCallbackOnClientConnectionState = binder.FirstCallTransaction + 1 TransactionIBluetoothGattCallbackOnPhyUpdate = binder.FirstCallTransaction + 2 TransactionIBluetoothGattCallbackOnPhyRead = binder.FirstCallTransaction + 3 TransactionIBluetoothGattCallbackOnSearchComplete = binder.FirstCallTransaction + 4 TransactionIBluetoothGattCallbackOnCharacteristicRead = binder.FirstCallTransaction + 5 TransactionIBluetoothGattCallbackOnCharacteristicWrite = binder.FirstCallTransaction + 6 TransactionIBluetoothGattCallbackOnExecuteWrite = binder.FirstCallTransaction + 7 TransactionIBluetoothGattCallbackOnDescriptorRead = binder.FirstCallTransaction + 8 TransactionIBluetoothGattCallbackOnDescriptorWrite = binder.FirstCallTransaction + 9 TransactionIBluetoothGattCallbackOnNotify = binder.FirstCallTransaction + 10 TransactionIBluetoothGattCallbackOnReadRemoteRssi = binder.FirstCallTransaction + 11 TransactionIBluetoothGattCallbackOnConfigureMTU = binder.FirstCallTransaction + 12 TransactionIBluetoothGattCallbackOnConnectionUpdated = binder.FirstCallTransaction + 13 TransactionIBluetoothGattCallbackOnServiceChanged = binder.FirstCallTransaction + 14 TransactionIBluetoothGattCallbackOnSubrateChange = binder.FirstCallTransaction + 15 )
const ( MethodIBluetoothGattCallbackOnClientRegistered = "onClientRegistered" MethodIBluetoothGattCallbackOnClientConnectionState = "onClientConnectionState" MethodIBluetoothGattCallbackOnPhyUpdate = "onPhyUpdate" MethodIBluetoothGattCallbackOnPhyRead = "onPhyRead" MethodIBluetoothGattCallbackOnSearchComplete = "onSearchComplete" MethodIBluetoothGattCallbackOnCharacteristicRead = "onCharacteristicRead" MethodIBluetoothGattCallbackOnCharacteristicWrite = "onCharacteristicWrite" MethodIBluetoothGattCallbackOnExecuteWrite = "onExecuteWrite" MethodIBluetoothGattCallbackOnDescriptorRead = "onDescriptorRead" MethodIBluetoothGattCallbackOnDescriptorWrite = "onDescriptorWrite" MethodIBluetoothGattCallbackOnNotify = "onNotify" MethodIBluetoothGattCallbackOnReadRemoteRssi = "onReadRemoteRssi" MethodIBluetoothGattCallbackOnConfigureMTU = "onConfigureMTU" MethodIBluetoothGattCallbackOnConnectionUpdated = "onConnectionUpdated" MethodIBluetoothGattCallbackOnServiceChanged = "onServiceChanged" MethodIBluetoothGattCallbackOnSubrateChange = "onSubrateChange" )
const ( TransactionIBluetoothGattServerCallbackOnServerRegistered = binder.FirstCallTransaction + 0 TransactionIBluetoothGattServerCallbackOnServerConnectionState = binder.FirstCallTransaction + 1 TransactionIBluetoothGattServerCallbackOnServiceAdded = binder.FirstCallTransaction + 2 TransactionIBluetoothGattServerCallbackOnCharacteristicReadRequest = binder.FirstCallTransaction + 3 TransactionIBluetoothGattServerCallbackOnDescriptorReadRequest = binder.FirstCallTransaction + 4 TransactionIBluetoothGattServerCallbackOnCharacteristicWriteRequest = binder.FirstCallTransaction + 5 TransactionIBluetoothGattServerCallbackOnDescriptorWriteRequest = binder.FirstCallTransaction + 6 TransactionIBluetoothGattServerCallbackOnExecuteWrite = binder.FirstCallTransaction + 7 TransactionIBluetoothGattServerCallbackOnNotificationSent = binder.FirstCallTransaction + 8 TransactionIBluetoothGattServerCallbackOnMtuChanged = binder.FirstCallTransaction + 9 TransactionIBluetoothGattServerCallbackOnPhyUpdate = binder.FirstCallTransaction + 10 TransactionIBluetoothGattServerCallbackOnPhyRead = binder.FirstCallTransaction + 11 TransactionIBluetoothGattServerCallbackOnConnectionUpdated = binder.FirstCallTransaction + 12 TransactionIBluetoothGattServerCallbackOnSubrateChange = binder.FirstCallTransaction + 13 )
const ( MethodIBluetoothGattServerCallbackOnServerRegistered = "onServerRegistered" MethodIBluetoothGattServerCallbackOnServerConnectionState = "onServerConnectionState" MethodIBluetoothGattServerCallbackOnServiceAdded = "onServiceAdded" MethodIBluetoothGattServerCallbackOnCharacteristicReadRequest = "onCharacteristicReadRequest" MethodIBluetoothGattServerCallbackOnDescriptorReadRequest = "onDescriptorReadRequest" MethodIBluetoothGattServerCallbackOnCharacteristicWriteRequest = "onCharacteristicWriteRequest" MethodIBluetoothGattServerCallbackOnDescriptorWriteRequest = "onDescriptorWriteRequest" MethodIBluetoothGattServerCallbackOnExecuteWrite = "onExecuteWrite" MethodIBluetoothGattServerCallbackOnNotificationSent = "onNotificationSent" MethodIBluetoothGattServerCallbackOnMtuChanged = "onMtuChanged" MethodIBluetoothGattServerCallbackOnPhyUpdate = "onPhyUpdate" MethodIBluetoothGattServerCallbackOnPhyRead = "onPhyRead" MethodIBluetoothGattServerCallbackOnConnectionUpdated = "onConnectionUpdated" MethodIBluetoothGattServerCallbackOnSubrateChange = "onSubrateChange" )
const ( TransactionIBluetoothHapClientGetConnectedDevices = binder.FirstCallTransaction + 0 TransactionIBluetoothHapClientGetDevicesMatchingConnectionStates = binder.FirstCallTransaction + 1 TransactionIBluetoothHapClientGetConnectionState = binder.FirstCallTransaction + 2 TransactionIBluetoothHapClientSetConnectionPolicy = binder.FirstCallTransaction + 3 TransactionIBluetoothHapClientGetConnectionPolicy = binder.FirstCallTransaction + 4 TransactionIBluetoothHapClientGetHapGroup = binder.FirstCallTransaction + 5 TransactionIBluetoothHapClientGetActivePresetIndex = binder.FirstCallTransaction + 6 TransactionIBluetoothHapClientGetActivePresetInfo = binder.FirstCallTransaction + 7 TransactionIBluetoothHapClientSelectPreset = binder.FirstCallTransaction + 8 TransactionIBluetoothHapClientSelectPresetForGroup = binder.FirstCallTransaction + 9 TransactionIBluetoothHapClientSwitchToNextPreset = binder.FirstCallTransaction + 10 TransactionIBluetoothHapClientSwitchToNextPresetForGroup = binder.FirstCallTransaction + 11 TransactionIBluetoothHapClientSwitchToPreviousPreset = binder.FirstCallTransaction + 12 TransactionIBluetoothHapClientSwitchToPreviousPresetForGroup = binder.FirstCallTransaction + 13 TransactionIBluetoothHapClientGetPresetInfo = binder.FirstCallTransaction + 14 TransactionIBluetoothHapClientGetAllPresetInfo = binder.FirstCallTransaction + 15 TransactionIBluetoothHapClientGetFeatures = binder.FirstCallTransaction + 16 TransactionIBluetoothHapClientSetPresetName = binder.FirstCallTransaction + 17 TransactionIBluetoothHapClientSetPresetNameForGroup = binder.FirstCallTransaction + 18 TransactionIBluetoothHapClientRegisterCallback = binder.FirstCallTransaction + 19 TransactionIBluetoothHapClientUnregisterCallback = binder.FirstCallTransaction + 20 )
const ( MethodIBluetoothHapClientGetConnectedDevices = "getConnectedDevices" MethodIBluetoothHapClientGetDevicesMatchingConnectionStates = "getDevicesMatchingConnectionStates" MethodIBluetoothHapClientGetConnectionState = "getConnectionState" MethodIBluetoothHapClientSetConnectionPolicy = "setConnectionPolicy" MethodIBluetoothHapClientGetConnectionPolicy = "getConnectionPolicy" MethodIBluetoothHapClientGetHapGroup = "getHapGroup" MethodIBluetoothHapClientGetActivePresetIndex = "getActivePresetIndex" MethodIBluetoothHapClientGetActivePresetInfo = "getActivePresetInfo" MethodIBluetoothHapClientSelectPreset = "selectPreset" MethodIBluetoothHapClientSelectPresetForGroup = "selectPresetForGroup" MethodIBluetoothHapClientSwitchToNextPreset = "switchToNextPreset" MethodIBluetoothHapClientSwitchToNextPresetForGroup = "switchToNextPresetForGroup" MethodIBluetoothHapClientSwitchToPreviousPreset = "switchToPreviousPreset" MethodIBluetoothHapClientSwitchToPreviousPresetForGroup = "switchToPreviousPresetForGroup" MethodIBluetoothHapClientGetPresetInfo = "getPresetInfo" MethodIBluetoothHapClientGetAllPresetInfo = "getAllPresetInfo" MethodIBluetoothHapClientGetFeatures = "getFeatures" MethodIBluetoothHapClientSetPresetName = "setPresetName" MethodIBluetoothHapClientSetPresetNameForGroup = "setPresetNameForGroup" MethodIBluetoothHapClientRegisterCallback = "registerCallback" MethodIBluetoothHapClientUnregisterCallback = "unregisterCallback" )
const ( IBluetoothHapClientFeatureBitNumTypeMonaural int32 = 0 IBluetoothHapClientFeatureBitNumTypeBanded int32 = 1 IBluetoothHapClientFeatureBitNumSynchronizedPresets int32 = 2 IBluetoothHapClientFeatureBitNumIndependentPresets int32 = 3 IBluetoothHapClientFeatureBitNumDynamicPresets int32 = 4 IBluetoothHapClientFeatureBitNumWritablePresets int32 = 5 )
const ( TransactionIBluetoothHapClientCallbackOnPresetSelected = binder.FirstCallTransaction + 0 TransactionIBluetoothHapClientCallbackOnPresetSelectionFailed = binder.FirstCallTransaction + 1 TransactionIBluetoothHapClientCallbackOnPresetSelectionForGroupFailed = binder.FirstCallTransaction + 2 TransactionIBluetoothHapClientCallbackOnPresetInfoChanged = binder.FirstCallTransaction + 3 TransactionIBluetoothHapClientCallbackOnSetPresetNameFailed = binder.FirstCallTransaction + 4 TransactionIBluetoothHapClientCallbackOnSetPresetNameForGroupFailed = binder.FirstCallTransaction + 5 )
const ( MethodIBluetoothHapClientCallbackOnPresetSelected = "onPresetSelected" MethodIBluetoothHapClientCallbackOnPresetSelectionFailed = "onPresetSelectionFailed" MethodIBluetoothHapClientCallbackOnPresetSelectionForGroupFailed = "onPresetSelectionForGroupFailed" MethodIBluetoothHapClientCallbackOnPresetInfoChanged = "onPresetInfoChanged" MethodIBluetoothHapClientCallbackOnSetPresetNameFailed = "onSetPresetNameFailed" MethodIBluetoothHapClientCallbackOnSetPresetNameForGroupFailed = "onSetPresetNameForGroupFailed" )
const ( TransactionIBluetoothHciVendorSpecificCallbackOnCommandStatus = binder.FirstCallTransaction + 0 TransactionIBluetoothHciVendorSpecificCallbackOnCommandComplete = binder.FirstCallTransaction + 1 TransactionIBluetoothHciVendorSpecificCallbackOnEvent = binder.FirstCallTransaction + 2 )
const ( MethodIBluetoothHciVendorSpecificCallbackOnCommandStatus = "onCommandStatus" MethodIBluetoothHciVendorSpecificCallbackOnCommandComplete = "onCommandComplete" MethodIBluetoothHciVendorSpecificCallbackOnEvent = "onEvent" )
const ( TransactionIBluetoothHeadsetGetConnectedDevices = binder.FirstCallTransaction + 0 TransactionIBluetoothHeadsetGetDevicesMatchingConnectionStates = binder.FirstCallTransaction + 1 TransactionIBluetoothHeadsetGetConnectionState = binder.FirstCallTransaction + 2 TransactionIBluetoothHeadsetStartVoiceRecognition = binder.FirstCallTransaction + 3 TransactionIBluetoothHeadsetStopVoiceRecognition = binder.FirstCallTransaction + 4 TransactionIBluetoothHeadsetIsAudioConnected = binder.FirstCallTransaction + 5 TransactionIBluetoothHeadsetSendVendorSpecificResultCode = binder.FirstCallTransaction + 6 TransactionIBluetoothHeadsetConnect = binder.FirstCallTransaction + 7 TransactionIBluetoothHeadsetDisconnect = binder.FirstCallTransaction + 8 TransactionIBluetoothHeadsetSetConnectionPolicy = binder.FirstCallTransaction + 9 TransactionIBluetoothHeadsetGetConnectionPolicy = binder.FirstCallTransaction + 10 TransactionIBluetoothHeadsetGetAudioState = binder.FirstCallTransaction + 11 TransactionIBluetoothHeadsetConnectAudio = binder.FirstCallTransaction + 12 TransactionIBluetoothHeadsetDisconnectAudio = binder.FirstCallTransaction + 13 TransactionIBluetoothHeadsetSetAudioRouteAllowed = binder.FirstCallTransaction + 14 TransactionIBluetoothHeadsetGetAudioRouteAllowed = binder.FirstCallTransaction + 15 TransactionIBluetoothHeadsetSetForceScoAudio = binder.FirstCallTransaction + 16 TransactionIBluetoothHeadsetStartScoUsingVirtualVoiceCall = binder.FirstCallTransaction + 17 TransactionIBluetoothHeadsetStopScoUsingVirtualVoiceCall = binder.FirstCallTransaction + 18 TransactionIBluetoothHeadsetSetActiveDevice = binder.FirstCallTransaction + 19 TransactionIBluetoothHeadsetGetActiveDevice = binder.FirstCallTransaction + 20 TransactionIBluetoothHeadsetIsInbandRingingEnabled = binder.FirstCallTransaction + 21 TransactionIBluetoothHeadsetIsNoiseReductionSupported = binder.FirstCallTransaction + 22 TransactionIBluetoothHeadsetIsVoiceRecognitionSupported = binder.FirstCallTransaction + 23 )
const ( MethodIBluetoothHeadsetGetConnectedDevices = "getConnectedDevices" MethodIBluetoothHeadsetGetDevicesMatchingConnectionStates = "getDevicesMatchingConnectionStates" MethodIBluetoothHeadsetGetConnectionState = "getConnectionState" MethodIBluetoothHeadsetStartVoiceRecognition = "startVoiceRecognition" MethodIBluetoothHeadsetStopVoiceRecognition = "stopVoiceRecognition" MethodIBluetoothHeadsetIsAudioConnected = "isAudioConnected" MethodIBluetoothHeadsetSendVendorSpecificResultCode = "sendVendorSpecificResultCode" MethodIBluetoothHeadsetConnect = "connect" MethodIBluetoothHeadsetDisconnect = "disconnect" MethodIBluetoothHeadsetSetConnectionPolicy = "setConnectionPolicy" MethodIBluetoothHeadsetGetConnectionPolicy = "getConnectionPolicy" MethodIBluetoothHeadsetGetAudioState = "getAudioState" MethodIBluetoothHeadsetConnectAudio = "connectAudio" MethodIBluetoothHeadsetDisconnectAudio = "disconnectAudio" MethodIBluetoothHeadsetSetAudioRouteAllowed = "setAudioRouteAllowed" MethodIBluetoothHeadsetGetAudioRouteAllowed = "getAudioRouteAllowed" MethodIBluetoothHeadsetSetForceScoAudio = "setForceScoAudio" MethodIBluetoothHeadsetStartScoUsingVirtualVoiceCall = "startScoUsingVirtualVoiceCall" MethodIBluetoothHeadsetStopScoUsingVirtualVoiceCall = "stopScoUsingVirtualVoiceCall" MethodIBluetoothHeadsetSetActiveDevice = "setActiveDevice" MethodIBluetoothHeadsetGetActiveDevice = "getActiveDevice" MethodIBluetoothHeadsetIsInbandRingingEnabled = "isInbandRingingEnabled" MethodIBluetoothHeadsetIsNoiseReductionSupported = "isNoiseReductionSupported" MethodIBluetoothHeadsetIsVoiceRecognitionSupported = "isVoiceRecognitionSupported" )
const ( TransactionIBluetoothHeadsetClientConnect = binder.FirstCallTransaction + 0 TransactionIBluetoothHeadsetClientDisconnect = binder.FirstCallTransaction + 1 TransactionIBluetoothHeadsetClientGetConnectedDevices = binder.FirstCallTransaction + 2 TransactionIBluetoothHeadsetClientGetDevicesMatchingConnectionStates = binder.FirstCallTransaction + 3 TransactionIBluetoothHeadsetClientGetConnectionState = binder.FirstCallTransaction + 4 TransactionIBluetoothHeadsetClientSetConnectionPolicy = binder.FirstCallTransaction + 5 TransactionIBluetoothHeadsetClientGetConnectionPolicy = binder.FirstCallTransaction + 6 TransactionIBluetoothHeadsetClientStartVoiceRecognition = binder.FirstCallTransaction + 7 TransactionIBluetoothHeadsetClientStopVoiceRecognition = binder.FirstCallTransaction + 8 TransactionIBluetoothHeadsetClientGetCurrentCalls = binder.FirstCallTransaction + 9 TransactionIBluetoothHeadsetClientGetCurrentAgEvents = binder.FirstCallTransaction + 10 TransactionIBluetoothHeadsetClientAcceptCall = binder.FirstCallTransaction + 11 TransactionIBluetoothHeadsetClientHoldCall = binder.FirstCallTransaction + 12 TransactionIBluetoothHeadsetClientRejectCall = binder.FirstCallTransaction + 13 TransactionIBluetoothHeadsetClientTerminateCall = binder.FirstCallTransaction + 14 TransactionIBluetoothHeadsetClientEnterPrivateMode = binder.FirstCallTransaction + 15 TransactionIBluetoothHeadsetClientExplicitCallTransfer = binder.FirstCallTransaction + 16 TransactionIBluetoothHeadsetClientDial = binder.FirstCallTransaction + 17 TransactionIBluetoothHeadsetClientSendDTMF = binder.FirstCallTransaction + 18 TransactionIBluetoothHeadsetClientGetLastVoiceTagNumber = binder.FirstCallTransaction + 19 TransactionIBluetoothHeadsetClientGetAudioState = binder.FirstCallTransaction + 20 TransactionIBluetoothHeadsetClientConnectAudio = binder.FirstCallTransaction + 21 TransactionIBluetoothHeadsetClientDisconnectAudio = binder.FirstCallTransaction + 22 TransactionIBluetoothHeadsetClientSetAudioRouteAllowed = binder.FirstCallTransaction + 23 TransactionIBluetoothHeadsetClientGetAudioRouteAllowed = binder.FirstCallTransaction + 24 TransactionIBluetoothHeadsetClientSendVendorAtCommand = binder.FirstCallTransaction + 25 TransactionIBluetoothHeadsetClientGetCurrentAgFeatures = binder.FirstCallTransaction + 26 )
const ( MethodIBluetoothHeadsetClientConnect = "connect" MethodIBluetoothHeadsetClientDisconnect = "disconnect" MethodIBluetoothHeadsetClientGetConnectedDevices = "getConnectedDevices" MethodIBluetoothHeadsetClientGetDevicesMatchingConnectionStates = "getDevicesMatchingConnectionStates" MethodIBluetoothHeadsetClientGetConnectionState = "getConnectionState" MethodIBluetoothHeadsetClientSetConnectionPolicy = "setConnectionPolicy" MethodIBluetoothHeadsetClientGetConnectionPolicy = "getConnectionPolicy" MethodIBluetoothHeadsetClientStartVoiceRecognition = "startVoiceRecognition" MethodIBluetoothHeadsetClientStopVoiceRecognition = "stopVoiceRecognition" MethodIBluetoothHeadsetClientGetCurrentCalls = "getCurrentCalls" MethodIBluetoothHeadsetClientGetCurrentAgEvents = "getCurrentAgEvents" MethodIBluetoothHeadsetClientAcceptCall = "acceptCall" MethodIBluetoothHeadsetClientHoldCall = "holdCall" MethodIBluetoothHeadsetClientRejectCall = "rejectCall" MethodIBluetoothHeadsetClientTerminateCall = "terminateCall" MethodIBluetoothHeadsetClientEnterPrivateMode = "enterPrivateMode" MethodIBluetoothHeadsetClientExplicitCallTransfer = "explicitCallTransfer" MethodIBluetoothHeadsetClientDial = "dial" MethodIBluetoothHeadsetClientSendDTMF = "sendDTMF" MethodIBluetoothHeadsetClientGetLastVoiceTagNumber = "getLastVoiceTagNumber" MethodIBluetoothHeadsetClientGetAudioState = "getAudioState" MethodIBluetoothHeadsetClientConnectAudio = "connectAudio" MethodIBluetoothHeadsetClientDisconnectAudio = "disconnectAudio" MethodIBluetoothHeadsetClientSetAudioRouteAllowed = "setAudioRouteAllowed" MethodIBluetoothHeadsetClientGetAudioRouteAllowed = "getAudioRouteAllowed" MethodIBluetoothHeadsetClientSendVendorAtCommand = "sendVendorAtCommand" MethodIBluetoothHeadsetClientGetCurrentAgFeatures = "getCurrentAgFeatures" )
const ( TransactionIBluetoothHearingAidConnect = binder.FirstCallTransaction + 0 TransactionIBluetoothHearingAidDisconnect = binder.FirstCallTransaction + 1 TransactionIBluetoothHearingAidGetConnectedDevices = binder.FirstCallTransaction + 2 TransactionIBluetoothHearingAidGetDevicesMatchingConnectionStates = binder.FirstCallTransaction + 3 TransactionIBluetoothHearingAidGetConnectionState = binder.FirstCallTransaction + 4 TransactionIBluetoothHearingAidSetActiveDevice = binder.FirstCallTransaction + 5 TransactionIBluetoothHearingAidGetActiveDevices = binder.FirstCallTransaction + 6 TransactionIBluetoothHearingAidSetConnectionPolicy = binder.FirstCallTransaction + 7 TransactionIBluetoothHearingAidGetConnectionPolicy = binder.FirstCallTransaction + 8 TransactionIBluetoothHearingAidSetVolume = binder.FirstCallTransaction + 9 TransactionIBluetoothHearingAidGetHiSyncId = binder.FirstCallTransaction + 10 TransactionIBluetoothHearingAidGetDeviceSide = binder.FirstCallTransaction + 11 TransactionIBluetoothHearingAidGetDeviceMode = binder.FirstCallTransaction + 12 TransactionIBluetoothHearingAidGetAdvertisementServiceData = binder.FirstCallTransaction + 13 )
const ( MethodIBluetoothHearingAidConnect = "connect" MethodIBluetoothHearingAidDisconnect = "disconnect" MethodIBluetoothHearingAidGetConnectedDevices = "getConnectedDevices" MethodIBluetoothHearingAidGetDevicesMatchingConnectionStates = "getDevicesMatchingConnectionStates" MethodIBluetoothHearingAidGetConnectionState = "getConnectionState" MethodIBluetoothHearingAidSetActiveDevice = "setActiveDevice" MethodIBluetoothHearingAidGetActiveDevices = "getActiveDevices" MethodIBluetoothHearingAidSetConnectionPolicy = "setConnectionPolicy" MethodIBluetoothHearingAidGetConnectionPolicy = "getConnectionPolicy" MethodIBluetoothHearingAidSetVolume = "setVolume" MethodIBluetoothHearingAidGetHiSyncId = "getHiSyncId" MethodIBluetoothHearingAidGetDeviceSide = "getDeviceSide" MethodIBluetoothHearingAidGetDeviceMode = "getDeviceMode" MethodIBluetoothHearingAidGetAdvertisementServiceData = "getAdvertisementServiceData" )
const ( IBluetoothHearingAidSideLeft int32 = 0 IBluetoothHearingAidSideRight int32 = 1 IBluetoothHearingAidModeMonaural int32 = 0 IBluetoothHearingAidModeBinaural int32 = 1 )
const ( TransactionIBluetoothHidDeviceRegisterApp = binder.FirstCallTransaction + 0 TransactionIBluetoothHidDeviceUnregisterApp = binder.FirstCallTransaction + 1 TransactionIBluetoothHidDeviceSendReport = binder.FirstCallTransaction + 2 TransactionIBluetoothHidDeviceReplyReport = binder.FirstCallTransaction + 3 TransactionIBluetoothHidDeviceReportError = binder.FirstCallTransaction + 4 TransactionIBluetoothHidDeviceUnplug = binder.FirstCallTransaction + 5 TransactionIBluetoothHidDeviceConnect = binder.FirstCallTransaction + 6 TransactionIBluetoothHidDeviceDisconnect = binder.FirstCallTransaction + 7 TransactionIBluetoothHidDeviceGetConnectedDevices = binder.FirstCallTransaction + 8 TransactionIBluetoothHidDeviceGetDevicesMatchingConnectionStates = binder.FirstCallTransaction + 9 TransactionIBluetoothHidDeviceGetConnectionState = binder.FirstCallTransaction + 10 TransactionIBluetoothHidDeviceGetUserAppName = binder.FirstCallTransaction + 11 TransactionIBluetoothHidDeviceSetConnectionPolicy = binder.FirstCallTransaction + 12 )
const ( MethodIBluetoothHidDeviceRegisterApp = "registerApp" MethodIBluetoothHidDeviceUnregisterApp = "unregisterApp" MethodIBluetoothHidDeviceSendReport = "sendReport" MethodIBluetoothHidDeviceReplyReport = "replyReport" MethodIBluetoothHidDeviceReportError = "reportError" MethodIBluetoothHidDeviceUnplug = "unplug" MethodIBluetoothHidDeviceConnect = "connect" MethodIBluetoothHidDeviceDisconnect = "disconnect" MethodIBluetoothHidDeviceGetConnectedDevices = "getConnectedDevices" MethodIBluetoothHidDeviceGetDevicesMatchingConnectionStates = "getDevicesMatchingConnectionStates" MethodIBluetoothHidDeviceGetConnectionState = "getConnectionState" MethodIBluetoothHidDeviceGetUserAppName = "getUserAppName" MethodIBluetoothHidDeviceSetConnectionPolicy = "setConnectionPolicy" )
const ( TransactionIBluetoothHidDeviceCallbackOnAppStatusChanged = binder.FirstCallTransaction + 0 TransactionIBluetoothHidDeviceCallbackOnConnectionStateChanged = binder.FirstCallTransaction + 1 TransactionIBluetoothHidDeviceCallbackOnGetReport = binder.FirstCallTransaction + 2 TransactionIBluetoothHidDeviceCallbackOnSetReport = binder.FirstCallTransaction + 3 TransactionIBluetoothHidDeviceCallbackOnSetProtocol = binder.FirstCallTransaction + 4 TransactionIBluetoothHidDeviceCallbackOnInterruptData = binder.FirstCallTransaction + 5 TransactionIBluetoothHidDeviceCallbackOnVirtualCableUnplug = binder.FirstCallTransaction + 6 )
const ( MethodIBluetoothHidDeviceCallbackOnAppStatusChanged = "onAppStatusChanged" MethodIBluetoothHidDeviceCallbackOnConnectionStateChanged = "onConnectionStateChanged" MethodIBluetoothHidDeviceCallbackOnGetReport = "onGetReport" MethodIBluetoothHidDeviceCallbackOnSetReport = "onSetReport" MethodIBluetoothHidDeviceCallbackOnSetProtocol = "onSetProtocol" MethodIBluetoothHidDeviceCallbackOnInterruptData = "onInterruptData" MethodIBluetoothHidDeviceCallbackOnVirtualCableUnplug = "onVirtualCableUnplug" )
const ( TransactionIBluetoothHidHostConnect = binder.FirstCallTransaction + 0 TransactionIBluetoothHidHostDisconnect = binder.FirstCallTransaction + 1 TransactionIBluetoothHidHostGetConnectedDevices = binder.FirstCallTransaction + 2 TransactionIBluetoothHidHostGetDevicesMatchingConnectionStates = binder.FirstCallTransaction + 3 TransactionIBluetoothHidHostGetConnectionState = binder.FirstCallTransaction + 4 TransactionIBluetoothHidHostSetConnectionPolicy = binder.FirstCallTransaction + 5 TransactionIBluetoothHidHostGetConnectionPolicy = binder.FirstCallTransaction + 6 TransactionIBluetoothHidHostSetPreferredTransport = binder.FirstCallTransaction + 7 TransactionIBluetoothHidHostGetPreferredTransport = binder.FirstCallTransaction + 8 TransactionIBluetoothHidHostGetProtocolMode = binder.FirstCallTransaction + 9 TransactionIBluetoothHidHostVirtualUnplug = binder.FirstCallTransaction + 10 TransactionIBluetoothHidHostSetProtocolMode = binder.FirstCallTransaction + 11 TransactionIBluetoothHidHostGetReport = binder.FirstCallTransaction + 12 TransactionIBluetoothHidHostSetReport = binder.FirstCallTransaction + 13 TransactionIBluetoothHidHostSendData = binder.FirstCallTransaction + 14 TransactionIBluetoothHidHostGetIdleTime = binder.FirstCallTransaction + 15 TransactionIBluetoothHidHostSetIdleTime = binder.FirstCallTransaction + 16 )
const ( MethodIBluetoothHidHostConnect = "connect" MethodIBluetoothHidHostDisconnect = "disconnect" MethodIBluetoothHidHostGetConnectedDevices = "getConnectedDevices" MethodIBluetoothHidHostGetDevicesMatchingConnectionStates = "getDevicesMatchingConnectionStates" MethodIBluetoothHidHostGetConnectionState = "getConnectionState" MethodIBluetoothHidHostSetConnectionPolicy = "setConnectionPolicy" MethodIBluetoothHidHostGetConnectionPolicy = "getConnectionPolicy" MethodIBluetoothHidHostSetPreferredTransport = "setPreferredTransport" MethodIBluetoothHidHostGetPreferredTransport = "getPreferredTransport" MethodIBluetoothHidHostGetProtocolMode = "getProtocolMode" MethodIBluetoothHidHostVirtualUnplug = "virtualUnplug" MethodIBluetoothHidHostSetProtocolMode = "setProtocolMode" MethodIBluetoothHidHostGetReport = "getReport" MethodIBluetoothHidHostSetReport = "setReport" MethodIBluetoothHidHostSendData = "sendData" MethodIBluetoothHidHostGetIdleTime = "getIdleTime" MethodIBluetoothHidHostSetIdleTime = "setIdleTime" )
const ( TransactionIBluetoothLeAudioConnect = binder.FirstCallTransaction + 0 TransactionIBluetoothLeAudioDisconnect = binder.FirstCallTransaction + 1 TransactionIBluetoothLeAudioGetConnectedDevices = binder.FirstCallTransaction + 2 TransactionIBluetoothLeAudioGetDevicesMatchingConnectionStates = binder.FirstCallTransaction + 3 TransactionIBluetoothLeAudioGetConnectionState = binder.FirstCallTransaction + 4 TransactionIBluetoothLeAudioSetActiveDevice = binder.FirstCallTransaction + 5 TransactionIBluetoothLeAudioGetActiveDevices = binder.FirstCallTransaction + 6 TransactionIBluetoothLeAudioSetConnectionPolicy = binder.FirstCallTransaction + 7 TransactionIBluetoothLeAudioGetConnectionPolicy = binder.FirstCallTransaction + 8 TransactionIBluetoothLeAudioGetConnectedGroupLeadDevice = binder.FirstCallTransaction + 9 TransactionIBluetoothLeAudioGetCodecStatus = binder.FirstCallTransaction + 10 TransactionIBluetoothLeAudioSetCodecConfigPreference = binder.FirstCallTransaction + 11 TransactionIBluetoothLeAudioSetBroadcastToUnicastFallbackGroup = binder.FirstCallTransaction + 12 TransactionIBluetoothLeAudioGetBroadcastToUnicastFallbackGroup = binder.FirstCallTransaction + 13 TransactionIBluetoothLeAudioRegisterCallback = binder.FirstCallTransaction + 14 TransactionIBluetoothLeAudioUnregisterCallback = binder.FirstCallTransaction + 15 TransactionIBluetoothLeAudioSetCcidInformation = binder.FirstCallTransaction + 16 TransactionIBluetoothLeAudioSetInCall = binder.FirstCallTransaction + 17 TransactionIBluetoothLeAudioSetInactiveForHfpHandover = binder.FirstCallTransaction + 18 TransactionIBluetoothLeAudioGetGroupId = binder.FirstCallTransaction + 19 TransactionIBluetoothLeAudioSetVolume = binder.FirstCallTransaction + 20 TransactionIBluetoothLeAudioGroupAddNode = binder.FirstCallTransaction + 21 TransactionIBluetoothLeAudioGroupRemoveNode = binder.FirstCallTransaction + 22 TransactionIBluetoothLeAudioGetAudioLocation = binder.FirstCallTransaction + 23 TransactionIBluetoothLeAudioIsInbandRingtoneEnabled = binder.FirstCallTransaction + 24 TransactionIBluetoothLeAudioRegisterLeBroadcastCallback = binder.FirstCallTransaction + 25 TransactionIBluetoothLeAudioUnregisterLeBroadcastCallback = binder.FirstCallTransaction + 26 TransactionIBluetoothLeAudioStartBroadcast = binder.FirstCallTransaction + 27 TransactionIBluetoothLeAudioStopBroadcast = binder.FirstCallTransaction + 28 TransactionIBluetoothLeAudioUpdateBroadcast = binder.FirstCallTransaction + 29 TransactionIBluetoothLeAudioIsPlaying = binder.FirstCallTransaction + 30 TransactionIBluetoothLeAudioGetAllBroadcastMetadata = binder.FirstCallTransaction + 31 TransactionIBluetoothLeAudioGetMaximumNumberOfBroadcasts = binder.FirstCallTransaction + 32 TransactionIBluetoothLeAudioGetMaximumStreamsPerBroadcast = binder.FirstCallTransaction + 33 TransactionIBluetoothLeAudioGetMaximumSubgroupsPerBroadcast = binder.FirstCallTransaction + 34 TransactionIBluetoothLeAudioIsBroadcastActive = binder.FirstCallTransaction + 35 )
const ( MethodIBluetoothLeAudioConnect = "connect" MethodIBluetoothLeAudioDisconnect = "disconnect" MethodIBluetoothLeAudioGetConnectedDevices = "getConnectedDevices" MethodIBluetoothLeAudioGetDevicesMatchingConnectionStates = "getDevicesMatchingConnectionStates" MethodIBluetoothLeAudioGetConnectionState = "getConnectionState" MethodIBluetoothLeAudioSetActiveDevice = "setActiveDevice" MethodIBluetoothLeAudioGetActiveDevices = "getActiveDevices" MethodIBluetoothLeAudioSetConnectionPolicy = "setConnectionPolicy" MethodIBluetoothLeAudioGetConnectionPolicy = "getConnectionPolicy" MethodIBluetoothLeAudioGetConnectedGroupLeadDevice = "getConnectedGroupLeadDevice" MethodIBluetoothLeAudioGetCodecStatus = "getCodecStatus" MethodIBluetoothLeAudioSetCodecConfigPreference = "setCodecConfigPreference" MethodIBluetoothLeAudioSetBroadcastToUnicastFallbackGroup = "setBroadcastToUnicastFallbackGroup" MethodIBluetoothLeAudioGetBroadcastToUnicastFallbackGroup = "getBroadcastToUnicastFallbackGroup" MethodIBluetoothLeAudioRegisterCallback = "registerCallback" MethodIBluetoothLeAudioUnregisterCallback = "unregisterCallback" MethodIBluetoothLeAudioSetCcidInformation = "setCcidInformation" MethodIBluetoothLeAudioSetInCall = "setInCall" MethodIBluetoothLeAudioSetInactiveForHfpHandover = "setInactiveForHfpHandover" MethodIBluetoothLeAudioGetGroupId = "getGroupId" MethodIBluetoothLeAudioSetVolume = "setVolume" MethodIBluetoothLeAudioGroupAddNode = "groupAddNode" MethodIBluetoothLeAudioGroupRemoveNode = "groupRemoveNode" MethodIBluetoothLeAudioGetAudioLocation = "getAudioLocation" MethodIBluetoothLeAudioIsInbandRingtoneEnabled = "isInbandRingtoneEnabled" MethodIBluetoothLeAudioRegisterLeBroadcastCallback = "registerLeBroadcastCallback" MethodIBluetoothLeAudioUnregisterLeBroadcastCallback = "unregisterLeBroadcastCallback" MethodIBluetoothLeAudioStartBroadcast = "startBroadcast" MethodIBluetoothLeAudioStopBroadcast = "stopBroadcast" MethodIBluetoothLeAudioUpdateBroadcast = "updateBroadcast" MethodIBluetoothLeAudioIsPlaying = "isPlaying" MethodIBluetoothLeAudioGetAllBroadcastMetadata = "getAllBroadcastMetadata" MethodIBluetoothLeAudioGetMaximumNumberOfBroadcasts = "getMaximumNumberOfBroadcasts" MethodIBluetoothLeAudioGetMaximumStreamsPerBroadcast = "getMaximumStreamsPerBroadcast" MethodIBluetoothLeAudioGetMaximumSubgroupsPerBroadcast = "getMaximumSubgroupsPerBroadcast" MethodIBluetoothLeAudioIsBroadcastActive = "isBroadcastActive" )
const ( IBluetoothLeAudioLeAudioGroupIdInvalid int32 = -1 IBluetoothLeAudioGroupStatusInactive int32 = 0 IBluetoothLeAudioGroupStatusActive int32 = 1 IBluetoothLeAudioGroupStatusTurnedIdleDuringCall int32 = 2 IBluetoothLeAudioGroupStatusAutonomousInactive int32 = 3 IBluetoothLeAudioGroupNodeAdded int32 = 1 IBluetoothLeAudioGroupNodeRemoved int32 = 2 IBluetoothLeAudioGroupStreamStatusIdle int32 = 0 IBluetoothLeAudioGroupStreamStatusStreaming int32 = 1 )
const ( TransactionIBluetoothLeAudioCallbackOnCodecConfigChanged = binder.FirstCallTransaction + 0 TransactionIBluetoothLeAudioCallbackOnGroupNodeAdded = binder.FirstCallTransaction + 1 TransactionIBluetoothLeAudioCallbackOnGroupNodeRemoved = binder.FirstCallTransaction + 2 TransactionIBluetoothLeAudioCallbackOnGroupStatusChanged = binder.FirstCallTransaction + 3 TransactionIBluetoothLeAudioCallbackOnGroupStreamStatusChanged = binder.FirstCallTransaction + 4 TransactionIBluetoothLeAudioCallbackOnBroadcastToUnicastFallbackGroupChanged = binder.FirstCallTransaction + 5 )
const ( MethodIBluetoothLeAudioCallbackOnCodecConfigChanged = "onCodecConfigChanged" MethodIBluetoothLeAudioCallbackOnGroupNodeAdded = "onGroupNodeAdded" MethodIBluetoothLeAudioCallbackOnGroupNodeRemoved = "onGroupNodeRemoved" MethodIBluetoothLeAudioCallbackOnGroupStatusChanged = "onGroupStatusChanged" MethodIBluetoothLeAudioCallbackOnGroupStreamStatusChanged = "onGroupStreamStatusChanged" MethodIBluetoothLeAudioCallbackOnBroadcastToUnicastFallbackGroupChanged = "onBroadcastToUnicastFallbackGroupChanged" )
const ( TransactionIBluetoothLeBroadcastAssistantGetConnectionState = binder.FirstCallTransaction + 0 TransactionIBluetoothLeBroadcastAssistantGetDevicesMatchingConnectionStates = binder.FirstCallTransaction + 1 TransactionIBluetoothLeBroadcastAssistantGetConnectedDevices = binder.FirstCallTransaction + 2 TransactionIBluetoothLeBroadcastAssistantSetConnectionPolicy = binder.FirstCallTransaction + 3 TransactionIBluetoothLeBroadcastAssistantGetConnectionPolicy = binder.FirstCallTransaction + 4 TransactionIBluetoothLeBroadcastAssistantRegisterCallback = binder.FirstCallTransaction + 5 TransactionIBluetoothLeBroadcastAssistantUnregisterCallback = binder.FirstCallTransaction + 6 TransactionIBluetoothLeBroadcastAssistantStartSearchingForSources = binder.FirstCallTransaction + 7 TransactionIBluetoothLeBroadcastAssistantStopSearchingForSources = binder.FirstCallTransaction + 8 TransactionIBluetoothLeBroadcastAssistantIsSearchInProgress = binder.FirstCallTransaction + 9 TransactionIBluetoothLeBroadcastAssistantAddSource = binder.FirstCallTransaction + 10 TransactionIBluetoothLeBroadcastAssistantModifySource = binder.FirstCallTransaction + 11 TransactionIBluetoothLeBroadcastAssistantRemoveSource = binder.FirstCallTransaction + 12 TransactionIBluetoothLeBroadcastAssistantGetAllSources = binder.FirstCallTransaction + 13 TransactionIBluetoothLeBroadcastAssistantGetMaximumSourceCapacity = binder.FirstCallTransaction + 14 TransactionIBluetoothLeBroadcastAssistantGetSourceMetadata = binder.FirstCallTransaction + 15 )
const ( MethodIBluetoothLeBroadcastAssistantGetConnectionState = "getConnectionState" MethodIBluetoothLeBroadcastAssistantGetDevicesMatchingConnectionStates = "getDevicesMatchingConnectionStates" MethodIBluetoothLeBroadcastAssistantGetConnectedDevices = "getConnectedDevices" MethodIBluetoothLeBroadcastAssistantSetConnectionPolicy = "setConnectionPolicy" MethodIBluetoothLeBroadcastAssistantGetConnectionPolicy = "getConnectionPolicy" MethodIBluetoothLeBroadcastAssistantRegisterCallback = "registerCallback" MethodIBluetoothLeBroadcastAssistantUnregisterCallback = "unregisterCallback" MethodIBluetoothLeBroadcastAssistantStartSearchingForSources = "startSearchingForSources" MethodIBluetoothLeBroadcastAssistantStopSearchingForSources = "stopSearchingForSources" MethodIBluetoothLeBroadcastAssistantIsSearchInProgress = "isSearchInProgress" MethodIBluetoothLeBroadcastAssistantAddSource = "addSource" MethodIBluetoothLeBroadcastAssistantModifySource = "modifySource" MethodIBluetoothLeBroadcastAssistantRemoveSource = "removeSource" MethodIBluetoothLeBroadcastAssistantGetAllSources = "getAllSources" MethodIBluetoothLeBroadcastAssistantGetMaximumSourceCapacity = "getMaximumSourceCapacity" MethodIBluetoothLeBroadcastAssistantGetSourceMetadata = "getSourceMetadata" )
const ( TransactionIBluetoothLeBroadcastAssistantCallbackOnSearchStarted = binder.FirstCallTransaction + 0 TransactionIBluetoothLeBroadcastAssistantCallbackOnSearchStartFailed = binder.FirstCallTransaction + 1 TransactionIBluetoothLeBroadcastAssistantCallbackOnSearchStopped = binder.FirstCallTransaction + 2 TransactionIBluetoothLeBroadcastAssistantCallbackOnSearchStopFailed = binder.FirstCallTransaction + 3 TransactionIBluetoothLeBroadcastAssistantCallbackOnSourceFound = binder.FirstCallTransaction + 4 TransactionIBluetoothLeBroadcastAssistantCallbackOnSourceAdded = binder.FirstCallTransaction + 5 TransactionIBluetoothLeBroadcastAssistantCallbackOnSourceAddFailed = binder.FirstCallTransaction + 6 TransactionIBluetoothLeBroadcastAssistantCallbackOnSourceModified = binder.FirstCallTransaction + 7 TransactionIBluetoothLeBroadcastAssistantCallbackOnSourceModifyFailed = binder.FirstCallTransaction + 8 TransactionIBluetoothLeBroadcastAssistantCallbackOnSourceRemoved = binder.FirstCallTransaction + 9 TransactionIBluetoothLeBroadcastAssistantCallbackOnSourceRemoveFailed = binder.FirstCallTransaction + 10 TransactionIBluetoothLeBroadcastAssistantCallbackOnReceiveStateChanged = binder.FirstCallTransaction + 11 TransactionIBluetoothLeBroadcastAssistantCallbackOnSourceLost = binder.FirstCallTransaction + 12 )
const ( MethodIBluetoothLeBroadcastAssistantCallbackOnSearchStarted = "onSearchStarted" MethodIBluetoothLeBroadcastAssistantCallbackOnSearchStartFailed = "onSearchStartFailed" MethodIBluetoothLeBroadcastAssistantCallbackOnSearchStopped = "onSearchStopped" MethodIBluetoothLeBroadcastAssistantCallbackOnSearchStopFailed = "onSearchStopFailed" MethodIBluetoothLeBroadcastAssistantCallbackOnSourceFound = "onSourceFound" MethodIBluetoothLeBroadcastAssistantCallbackOnSourceAdded = "onSourceAdded" MethodIBluetoothLeBroadcastAssistantCallbackOnSourceAddFailed = "onSourceAddFailed" MethodIBluetoothLeBroadcastAssistantCallbackOnSourceModified = "onSourceModified" MethodIBluetoothLeBroadcastAssistantCallbackOnSourceModifyFailed = "onSourceModifyFailed" MethodIBluetoothLeBroadcastAssistantCallbackOnSourceRemoved = "onSourceRemoved" MethodIBluetoothLeBroadcastAssistantCallbackOnSourceRemoveFailed = "onSourceRemoveFailed" MethodIBluetoothLeBroadcastAssistantCallbackOnReceiveStateChanged = "onReceiveStateChanged" MethodIBluetoothLeBroadcastAssistantCallbackOnSourceLost = "onSourceLost" )
const ( TransactionIBluetoothLeBroadcastCallbackOnBroadcastStarted = binder.FirstCallTransaction + 0 TransactionIBluetoothLeBroadcastCallbackOnBroadcastStartFailed = binder.FirstCallTransaction + 1 TransactionIBluetoothLeBroadcastCallbackOnBroadcastStopped = binder.FirstCallTransaction + 2 TransactionIBluetoothLeBroadcastCallbackOnBroadcastStopFailed = binder.FirstCallTransaction + 3 TransactionIBluetoothLeBroadcastCallbackOnPlaybackStarted = binder.FirstCallTransaction + 4 TransactionIBluetoothLeBroadcastCallbackOnPlaybackStopped = binder.FirstCallTransaction + 5 TransactionIBluetoothLeBroadcastCallbackOnBroadcastUpdated = binder.FirstCallTransaction + 6 TransactionIBluetoothLeBroadcastCallbackOnBroadcastUpdateFailed = binder.FirstCallTransaction + 7 TransactionIBluetoothLeBroadcastCallbackOnBroadcastMetadataChanged = binder.FirstCallTransaction + 8 )
const ( MethodIBluetoothLeBroadcastCallbackOnBroadcastStarted = "onBroadcastStarted" MethodIBluetoothLeBroadcastCallbackOnBroadcastStartFailed = "onBroadcastStartFailed" MethodIBluetoothLeBroadcastCallbackOnBroadcastStopped = "onBroadcastStopped" MethodIBluetoothLeBroadcastCallbackOnBroadcastStopFailed = "onBroadcastStopFailed" MethodIBluetoothLeBroadcastCallbackOnPlaybackStarted = "onPlaybackStarted" MethodIBluetoothLeBroadcastCallbackOnPlaybackStopped = "onPlaybackStopped" MethodIBluetoothLeBroadcastCallbackOnBroadcastUpdated = "onBroadcastUpdated" MethodIBluetoothLeBroadcastCallbackOnBroadcastUpdateFailed = "onBroadcastUpdateFailed" MethodIBluetoothLeBroadcastCallbackOnBroadcastMetadataChanged = "onBroadcastMetadataChanged" )
const ( TransactionIBluetoothLeCallControlRegisterBearer = binder.FirstCallTransaction + 0 TransactionIBluetoothLeCallControlUnregisterBearer = binder.FirstCallTransaction + 1 TransactionIBluetoothLeCallControlRequestResult = binder.FirstCallTransaction + 2 TransactionIBluetoothLeCallControlCallAdded = binder.FirstCallTransaction + 3 TransactionIBluetoothLeCallControlCallRemoved = binder.FirstCallTransaction + 4 TransactionIBluetoothLeCallControlCallStateChanged = binder.FirstCallTransaction + 5 TransactionIBluetoothLeCallControlCurrentCallsList = binder.FirstCallTransaction + 6 TransactionIBluetoothLeCallControlNetworkStateChanged = binder.FirstCallTransaction + 7 )
const ( MethodIBluetoothLeCallControlRegisterBearer = "registerBearer" MethodIBluetoothLeCallControlUnregisterBearer = "unregisterBearer" MethodIBluetoothLeCallControlRequestResult = "requestResult" MethodIBluetoothLeCallControlCallAdded = "callAdded" MethodIBluetoothLeCallControlCallRemoved = "callRemoved" MethodIBluetoothLeCallControlCallStateChanged = "callStateChanged" MethodIBluetoothLeCallControlCurrentCallsList = "currentCallsList" MethodIBluetoothLeCallControlNetworkStateChanged = "networkStateChanged" )
const ( TransactionIBluetoothLeCallControlCallbackOnBearerRegistered = binder.FirstCallTransaction + 0 TransactionIBluetoothLeCallControlCallbackOnAcceptCall = binder.FirstCallTransaction + 1 TransactionIBluetoothLeCallControlCallbackOnTerminateCall = binder.FirstCallTransaction + 2 TransactionIBluetoothLeCallControlCallbackOnHoldCall = binder.FirstCallTransaction + 3 TransactionIBluetoothLeCallControlCallbackOnUnholdCall = binder.FirstCallTransaction + 4 TransactionIBluetoothLeCallControlCallbackOnPlaceCall = binder.FirstCallTransaction + 5 TransactionIBluetoothLeCallControlCallbackOnJoinCalls = binder.FirstCallTransaction + 6 )
const ( MethodIBluetoothLeCallControlCallbackOnBearerRegistered = "onBearerRegistered" MethodIBluetoothLeCallControlCallbackOnAcceptCall = "onAcceptCall" MethodIBluetoothLeCallControlCallbackOnTerminateCall = "onTerminateCall" MethodIBluetoothLeCallControlCallbackOnHoldCall = "onHoldCall" MethodIBluetoothLeCallControlCallbackOnUnholdCall = "onUnholdCall" MethodIBluetoothLeCallControlCallbackOnPlaceCall = "onPlaceCall" MethodIBluetoothLeCallControlCallbackOnJoinCalls = "onJoinCalls" )
const ( TransactionIBluetoothManagerRegisterAdapter = binder.FirstCallTransaction + 0 TransactionIBluetoothManagerUnregisterAdapter = binder.FirstCallTransaction + 1 TransactionIBluetoothManagerGetState = binder.FirstCallTransaction + 2 TransactionIBluetoothManagerGetAddress = binder.FirstCallTransaction + 3 TransactionIBluetoothManagerGetName = binder.FirstCallTransaction + 4 TransactionIBluetoothManagerIsHearingAidProfileSupported = binder.FirstCallTransaction + 5 TransactionIBluetoothManagerIsBleScanAvailable = binder.FirstCallTransaction + 6 TransactionIBluetoothManagerEnable = binder.FirstCallTransaction + 7 TransactionIBluetoothManagerEnableBle = binder.FirstCallTransaction + 8 TransactionIBluetoothManagerEnableNoAutoConnect = binder.FirstCallTransaction + 9 TransactionIBluetoothManagerDisable = binder.FirstCallTransaction + 10 TransactionIBluetoothManagerDisableBle = binder.FirstCallTransaction + 11 TransactionIBluetoothManagerFactoryReset = binder.FirstCallTransaction + 12 TransactionIBluetoothManagerSetBtHciSnoopLogMode = binder.FirstCallTransaction + 13 TransactionIBluetoothManagerGetBtHciSnoopLogMode = binder.FirstCallTransaction + 14 TransactionIBluetoothManagerIsAutoOnSupported = binder.FirstCallTransaction + 15 TransactionIBluetoothManagerIsAutoOnEnabled = binder.FirstCallTransaction + 16 TransactionIBluetoothManagerSetAutoOnEnabled = binder.FirstCallTransaction + 17 TransactionIBluetoothManagerGetServiceMessenger = binder.FirstCallTransaction + 18 )
const ( MethodIBluetoothManagerRegisterAdapter = "registerAdapter" MethodIBluetoothManagerUnregisterAdapter = "unregisterAdapter" MethodIBluetoothManagerGetState = "getState" MethodIBluetoothManagerGetAddress = "getAddress" MethodIBluetoothManagerGetName = "getName" MethodIBluetoothManagerIsHearingAidProfileSupported = "isHearingAidProfileSupported" MethodIBluetoothManagerIsBleScanAvailable = "isBleScanAvailable" MethodIBluetoothManagerEnable = "enable" MethodIBluetoothManagerEnableBle = "enableBle" MethodIBluetoothManagerEnableNoAutoConnect = "enableNoAutoConnect" MethodIBluetoothManagerDisable = "disable" MethodIBluetoothManagerDisableBle = "disableBle" MethodIBluetoothManagerFactoryReset = "factoryReset" MethodIBluetoothManagerSetBtHciSnoopLogMode = "setBtHciSnoopLogMode" MethodIBluetoothManagerGetBtHciSnoopLogMode = "getBtHciSnoopLogMode" MethodIBluetoothManagerIsAutoOnSupported = "isAutoOnSupported" MethodIBluetoothManagerIsAutoOnEnabled = "isAutoOnEnabled" MethodIBluetoothManagerSetAutoOnEnabled = "setAutoOnEnabled" MethodIBluetoothManagerGetServiceMessenger = "getServiceMessenger" )
const ( IBluetoothManagerDefaultMacAddress string = "02:00:00:00:00:00" IBluetoothManagerIpcCacheModuleSystem string = "system_server" IBluetoothManagerGetSystemStateApi string = "BluetoothAdapter_getSystemState" IBluetoothManagerActionStateChanged string = "android.bluetooth.adapter.action.STATE_CHANGED" IBluetoothManagerActionBleStateChanged string = "android.bluetooth.adapter.action.BLE_STATE_CHANGED" IBluetoothManagerExtraState string = "android.bluetooth.adapter.extra.STATE" IBluetoothManagerExtraPreviousState string = "android.bluetooth.adapter.extra.PREVIOUS_STATE" IBluetoothManagerActionLocalNameChanged string = "android.bluetooth.adapter.action.LOCAL_NAME_CHANGED" IBluetoothManagerExtraLocalName string = "android.bluetooth.adapter.extra.LOCAL_NAME" IBluetoothManagerActionAutoOnStateChanged string = "android.bluetooth.action.AUTO_ON_STATE_CHANGED" IBluetoothManagerExtraAutoOnState string = "android.bluetooth.extra.AUTO_ON_STATE" IBluetoothManagerAutoOnStateDisabled int32 = 1 IBluetoothManagerAutoOnStateEnabled int32 = 2 IBluetoothManagerBtSnoopLogModeDisabled int32 = 0 IBluetoothManagerBtSnoopLogModeFiltered int32 = 1 IBluetoothManagerBtSnoopLogModeFull int32 = 2 )
const ( TransactionIBluetoothManagerCallbackOnBluetoothServiceUp = binder.FirstCallTransaction + 0 TransactionIBluetoothManagerCallbackOnBluetoothServiceDown = binder.FirstCallTransaction + 1 TransactionIBluetoothManagerCallbackOnBluetoothOn = binder.FirstCallTransaction + 2 TransactionIBluetoothManagerCallbackOnBluetoothOff = binder.FirstCallTransaction + 3 )
const ( MethodIBluetoothManagerCallbackOnBluetoothServiceUp = "onBluetoothServiceUp" MethodIBluetoothManagerCallbackOnBluetoothServiceDown = "onBluetoothServiceDown" MethodIBluetoothManagerCallbackOnBluetoothOn = "onBluetoothOn" MethodIBluetoothManagerCallbackOnBluetoothOff = "onBluetoothOff" )
const ( TransactionIBluetoothMapGetState = binder.FirstCallTransaction + 0 TransactionIBluetoothMapGetClient = binder.FirstCallTransaction + 1 TransactionIBluetoothMapDisconnect = binder.FirstCallTransaction + 2 TransactionIBluetoothMapIsConnected = binder.FirstCallTransaction + 3 TransactionIBluetoothMapGetConnectedDevices = binder.FirstCallTransaction + 4 TransactionIBluetoothMapGetDevicesMatchingConnectionStates = binder.FirstCallTransaction + 5 TransactionIBluetoothMapGetConnectionState = binder.FirstCallTransaction + 6 TransactionIBluetoothMapSetConnectionPolicy = binder.FirstCallTransaction + 7 TransactionIBluetoothMapGetConnectionPolicy = binder.FirstCallTransaction + 8 )
const ( MethodIBluetoothMapGetState = "getState" MethodIBluetoothMapGetClient = "getClient" MethodIBluetoothMapDisconnect = "disconnect" MethodIBluetoothMapIsConnected = "isConnected" MethodIBluetoothMapGetConnectedDevices = "getConnectedDevices" MethodIBluetoothMapGetDevicesMatchingConnectionStates = "getDevicesMatchingConnectionStates" MethodIBluetoothMapGetConnectionState = "getConnectionState" MethodIBluetoothMapSetConnectionPolicy = "setConnectionPolicy" MethodIBluetoothMapGetConnectionPolicy = "getConnectionPolicy" )
const ( TransactionIBluetoothMapClientConnect = binder.FirstCallTransaction + 0 TransactionIBluetoothMapClientDisconnect = binder.FirstCallTransaction + 1 TransactionIBluetoothMapClientGetConnectedDevices = binder.FirstCallTransaction + 2 TransactionIBluetoothMapClientGetDevicesMatchingConnectionStates = binder.FirstCallTransaction + 3 TransactionIBluetoothMapClientGetConnectionState = binder.FirstCallTransaction + 4 TransactionIBluetoothMapClientSetConnectionPolicy = binder.FirstCallTransaction + 5 TransactionIBluetoothMapClientGetConnectionPolicy = binder.FirstCallTransaction + 6 TransactionIBluetoothMapClientSendMessage = binder.FirstCallTransaction + 7 )
const ( MethodIBluetoothMapClientConnect = "connect" MethodIBluetoothMapClientDisconnect = "disconnect" MethodIBluetoothMapClientGetConnectedDevices = "getConnectedDevices" MethodIBluetoothMapClientGetDevicesMatchingConnectionStates = "getDevicesMatchingConnectionStates" MethodIBluetoothMapClientGetConnectionState = "getConnectionState" MethodIBluetoothMapClientSetConnectionPolicy = "setConnectionPolicy" MethodIBluetoothMapClientGetConnectionPolicy = "getConnectionPolicy" MethodIBluetoothMapClientSendMessage = "sendMessage" )
const ( TransactionIBluetoothOobDataCallbackOnOobData = binder.FirstCallTransaction + 0 TransactionIBluetoothOobDataCallbackOnError = binder.FirstCallTransaction + 1 )
const ( MethodIBluetoothOobDataCallbackOnOobData = "onOobData" MethodIBluetoothOobDataCallbackOnError = "onError" )
const ( TransactionIBluetoothPanIsTetheringOn = binder.FirstCallTransaction + 0 TransactionIBluetoothPanSetBluetoothTethering = binder.FirstCallTransaction + 1 TransactionIBluetoothPanConnect = binder.FirstCallTransaction + 2 TransactionIBluetoothPanDisconnect = binder.FirstCallTransaction + 3 TransactionIBluetoothPanGetConnectedDevices = binder.FirstCallTransaction + 4 TransactionIBluetoothPanGetDevicesMatchingConnectionStates = binder.FirstCallTransaction + 5 TransactionIBluetoothPanGetConnectionState = binder.FirstCallTransaction + 6 TransactionIBluetoothPanSetConnectionPolicy = binder.FirstCallTransaction + 7 )
const ( MethodIBluetoothPanIsTetheringOn = "isTetheringOn" MethodIBluetoothPanSetBluetoothTethering = "setBluetoothTethering" MethodIBluetoothPanConnect = "connect" MethodIBluetoothPanDisconnect = "disconnect" MethodIBluetoothPanGetConnectedDevices = "getConnectedDevices" MethodIBluetoothPanGetDevicesMatchingConnectionStates = "getDevicesMatchingConnectionStates" MethodIBluetoothPanGetConnectionState = "getConnectionState" MethodIBluetoothPanSetConnectionPolicy = "setConnectionPolicy" )
const ( TransactionIBluetoothPanCallbackOnAvailable = binder.FirstCallTransaction + 0 )
const ( MethodIBluetoothPanCallbackOnAvailable = "onAvailable" )
const ( TransactionIBluetoothPbapGetConnectedDevices = binder.FirstCallTransaction + 0 TransactionIBluetoothPbapGetDevicesMatchingConnectionStates = binder.FirstCallTransaction + 1 TransactionIBluetoothPbapGetConnectionState = binder.FirstCallTransaction + 2 TransactionIBluetoothPbapDisconnect = binder.FirstCallTransaction + 3 TransactionIBluetoothPbapSetConnectionPolicy = binder.FirstCallTransaction + 4 )
const ( MethodIBluetoothPbapGetConnectedDevices = "getConnectedDevices" MethodIBluetoothPbapGetDevicesMatchingConnectionStates = "getDevicesMatchingConnectionStates" MethodIBluetoothPbapGetConnectionState = "getConnectionState" MethodIBluetoothPbapDisconnect = "disconnect" MethodIBluetoothPbapSetConnectionPolicy = "setConnectionPolicy" )
const ( TransactionIBluetoothPbapClientConnect = binder.FirstCallTransaction + 0 TransactionIBluetoothPbapClientDisconnect = binder.FirstCallTransaction + 1 TransactionIBluetoothPbapClientGetConnectedDevices = binder.FirstCallTransaction + 2 TransactionIBluetoothPbapClientGetDevicesMatchingConnectionStates = binder.FirstCallTransaction + 3 TransactionIBluetoothPbapClientGetConnectionState = binder.FirstCallTransaction + 4 TransactionIBluetoothPbapClientSetConnectionPolicy = binder.FirstCallTransaction + 5 TransactionIBluetoothPbapClientGetConnectionPolicy = binder.FirstCallTransaction + 6 )
const ( MethodIBluetoothPbapClientConnect = "connect" MethodIBluetoothPbapClientDisconnect = "disconnect" MethodIBluetoothPbapClientGetConnectedDevices = "getConnectedDevices" MethodIBluetoothPbapClientGetDevicesMatchingConnectionStates = "getDevicesMatchingConnectionStates" MethodIBluetoothPbapClientGetConnectionState = "getConnectionState" MethodIBluetoothPbapClientSetConnectionPolicy = "setConnectionPolicy" MethodIBluetoothPbapClientGetConnectionPolicy = "getConnectionPolicy" )
const ( TransactionIBluetoothProfileServiceConnectionOnServiceConnected = binder.FirstCallTransaction + 0 TransactionIBluetoothProfileServiceConnectionOnServiceDisconnected = binder.FirstCallTransaction + 1 )
const ( MethodIBluetoothProfileServiceConnectionOnServiceConnected = "onServiceConnected" MethodIBluetoothProfileServiceConnectionOnServiceDisconnected = "onServiceDisconnected" )
const ( TransactionIBluetoothSapGetState = binder.FirstCallTransaction + 0 TransactionIBluetoothSapGetClient = binder.FirstCallTransaction + 1 TransactionIBluetoothSapDisconnect = binder.FirstCallTransaction + 2 TransactionIBluetoothSapIsConnected = binder.FirstCallTransaction + 3 TransactionIBluetoothSapGetConnectedDevices = binder.FirstCallTransaction + 4 TransactionIBluetoothSapGetDevicesMatchingConnectionStates = binder.FirstCallTransaction + 5 TransactionIBluetoothSapGetConnectionState = binder.FirstCallTransaction + 6 TransactionIBluetoothSapSetConnectionPolicy = binder.FirstCallTransaction + 7 TransactionIBluetoothSapGetConnectionPolicy = binder.FirstCallTransaction + 8 )
const ( MethodIBluetoothSapGetState = "getState" MethodIBluetoothSapGetClient = "getClient" MethodIBluetoothSapDisconnect = "disconnect" MethodIBluetoothSapIsConnected = "isConnected" MethodIBluetoothSapGetConnectedDevices = "getConnectedDevices" MethodIBluetoothSapGetDevicesMatchingConnectionStates = "getDevicesMatchingConnectionStates" MethodIBluetoothSapGetConnectionState = "getConnectionState" MethodIBluetoothSapSetConnectionPolicy = "setConnectionPolicy" MethodIBluetoothSapGetConnectionPolicy = "getConnectionPolicy" )
const ( TransactionIBluetoothScanRegisterScanner = binder.FirstCallTransaction + 0 TransactionIBluetoothScanUnregisterScanner = binder.FirstCallTransaction + 1 TransactionIBluetoothScanStartScan = binder.FirstCallTransaction + 2 TransactionIBluetoothScanRegisterPiAndStartScan = binder.FirstCallTransaction + 3 TransactionIBluetoothScanStopScan = binder.FirstCallTransaction + 4 TransactionIBluetoothScanStopScanForIntent = binder.FirstCallTransaction + 5 TransactionIBluetoothScanFlushPendingBatchResults = binder.FirstCallTransaction + 6 TransactionIBluetoothScanRegisterSync = binder.FirstCallTransaction + 7 TransactionIBluetoothScanUnregisterSync = binder.FirstCallTransaction + 8 TransactionIBluetoothScanTransferSync = binder.FirstCallTransaction + 9 TransactionIBluetoothScanTransferSetInfo = binder.FirstCallTransaction + 10 TransactionIBluetoothScanNumHwTrackFiltersAvailable = binder.FirstCallTransaction + 11 )
const ( MethodIBluetoothScanRegisterScanner = "registerScanner" MethodIBluetoothScanUnregisterScanner = "unregisterScanner" MethodIBluetoothScanStartScan = "startScan" MethodIBluetoothScanRegisterPiAndStartScan = "registerPiAndStartScan" MethodIBluetoothScanStopScan = "stopScan" MethodIBluetoothScanStopScanForIntent = "stopScanForIntent" MethodIBluetoothScanFlushPendingBatchResults = "flushPendingBatchResults" MethodIBluetoothScanRegisterSync = "registerSync" MethodIBluetoothScanUnregisterSync = "unregisterSync" MethodIBluetoothScanTransferSync = "transferSync" MethodIBluetoothScanTransferSetInfo = "transferSetInfo" MethodIBluetoothScanNumHwTrackFiltersAvailable = "numHwTrackFiltersAvailable" )
const ( TransactionIBluetoothSocketManagerConnectSocket = binder.FirstCallTransaction + 0 TransactionIBluetoothSocketManagerConnectSocketWithOffload = binder.FirstCallTransaction + 1 TransactionIBluetoothSocketManagerCreateSocketChannel = binder.FirstCallTransaction + 2 TransactionIBluetoothSocketManagerCreateSocketChannelWithOffload = binder.FirstCallTransaction + 3 TransactionIBluetoothSocketManagerRequestMaximumTxDataLength = binder.FirstCallTransaction + 4 TransactionIBluetoothSocketManagerGetL2capLocalChannelId = binder.FirstCallTransaction + 5 TransactionIBluetoothSocketManagerGetL2capRemoteChannelId = binder.FirstCallTransaction + 6 )
const ( MethodIBluetoothSocketManagerConnectSocket = "connectSocket" MethodIBluetoothSocketManagerConnectSocketWithOffload = "connectSocketWithOffload" MethodIBluetoothSocketManagerCreateSocketChannel = "createSocketChannel" MethodIBluetoothSocketManagerCreateSocketChannelWithOffload = "createSocketChannelWithOffload" MethodIBluetoothSocketManagerRequestMaximumTxDataLength = "requestMaximumTxDataLength" MethodIBluetoothSocketManagerGetL2capLocalChannelId = "getL2capLocalChannelId" MethodIBluetoothSocketManagerGetL2capRemoteChannelId = "getL2capRemoteChannelId" )
const ( TransactionIBluetoothVolumeControlGetConnectedDevices = binder.FirstCallTransaction + 0 TransactionIBluetoothVolumeControlGetDevicesMatchingConnectionStates = binder.FirstCallTransaction + 1 TransactionIBluetoothVolumeControlGetConnectionState = binder.FirstCallTransaction + 2 TransactionIBluetoothVolumeControlSetConnectionPolicy = binder.FirstCallTransaction + 3 TransactionIBluetoothVolumeControlGetConnectionPolicy = binder.FirstCallTransaction + 4 TransactionIBluetoothVolumeControlIsVolumeOffsetAvailable = binder.FirstCallTransaction + 5 TransactionIBluetoothVolumeControlGetNumberOfVolumeOffsetInstances = binder.FirstCallTransaction + 6 TransactionIBluetoothVolumeControlSetVolumeOffset = binder.FirstCallTransaction + 7 TransactionIBluetoothVolumeControlSetDeviceVolume = binder.FirstCallTransaction + 8 TransactionIBluetoothVolumeControlRegisterCallback = binder.FirstCallTransaction + 9 TransactionIBluetoothVolumeControlUnregisterCallback = binder.FirstCallTransaction + 10 TransactionIBluetoothVolumeControlNotifyNewRegisteredCallback = binder.FirstCallTransaction + 11 TransactionIBluetoothVolumeControlGetNumberOfAudioInputControlServices = binder.FirstCallTransaction + 12 TransactionIBluetoothVolumeControlRegisterAudioInputControlCallback = binder.FirstCallTransaction + 13 TransactionIBluetoothVolumeControlUnregisterAudioInputControlCallback = binder.FirstCallTransaction + 14 TransactionIBluetoothVolumeControlGetAudioInputGainSettingUnit = binder.FirstCallTransaction + 15 TransactionIBluetoothVolumeControlGetAudioInputGainSettingMin = binder.FirstCallTransaction + 16 TransactionIBluetoothVolumeControlGetAudioInputGainSettingMax = binder.FirstCallTransaction + 17 TransactionIBluetoothVolumeControlGetAudioInputDescription = binder.FirstCallTransaction + 18 TransactionIBluetoothVolumeControlIsAudioInputDescriptionWritable = binder.FirstCallTransaction + 19 TransactionIBluetoothVolumeControlSetAudioInputDescription = binder.FirstCallTransaction + 20 TransactionIBluetoothVolumeControlGetAudioInputStatus = binder.FirstCallTransaction + 21 TransactionIBluetoothVolumeControlGetAudioInputType = binder.FirstCallTransaction + 22 TransactionIBluetoothVolumeControlGetAudioInputGainSetting = binder.FirstCallTransaction + 23 TransactionIBluetoothVolumeControlSetAudioInputGainSetting = binder.FirstCallTransaction + 24 TransactionIBluetoothVolumeControlGetAudioInputGainMode = binder.FirstCallTransaction + 25 TransactionIBluetoothVolumeControlSetAudioInputGainMode = binder.FirstCallTransaction + 26 TransactionIBluetoothVolumeControlGetAudioInputMute = binder.FirstCallTransaction + 27 TransactionIBluetoothVolumeControlSetAudioInputMute = binder.FirstCallTransaction + 28 )
const ( MethodIBluetoothVolumeControlGetConnectedDevices = "getConnectedDevices" MethodIBluetoothVolumeControlGetDevicesMatchingConnectionStates = "getDevicesMatchingConnectionStates" MethodIBluetoothVolumeControlGetConnectionState = "getConnectionState" MethodIBluetoothVolumeControlSetConnectionPolicy = "setConnectionPolicy" MethodIBluetoothVolumeControlGetConnectionPolicy = "getConnectionPolicy" MethodIBluetoothVolumeControlIsVolumeOffsetAvailable = "isVolumeOffsetAvailable" MethodIBluetoothVolumeControlGetNumberOfVolumeOffsetInstances = "getNumberOfVolumeOffsetInstances" MethodIBluetoothVolumeControlSetVolumeOffset = "setVolumeOffset" MethodIBluetoothVolumeControlSetDeviceVolume = "setDeviceVolume" MethodIBluetoothVolumeControlRegisterCallback = "registerCallback" MethodIBluetoothVolumeControlUnregisterCallback = "unregisterCallback" MethodIBluetoothVolumeControlNotifyNewRegisteredCallback = "notifyNewRegisteredCallback" MethodIBluetoothVolumeControlGetNumberOfAudioInputControlServices = "getNumberOfAudioInputControlServices" MethodIBluetoothVolumeControlRegisterAudioInputControlCallback = "registerAudioInputControlCallback" MethodIBluetoothVolumeControlUnregisterAudioInputControlCallback = "unregisterAudioInputControlCallback" MethodIBluetoothVolumeControlGetAudioInputGainSettingUnit = "getAudioInputGainSettingUnit" MethodIBluetoothVolumeControlGetAudioInputGainSettingMin = "getAudioInputGainSettingMin" MethodIBluetoothVolumeControlGetAudioInputGainSettingMax = "getAudioInputGainSettingMax" MethodIBluetoothVolumeControlGetAudioInputDescription = "getAudioInputDescription" MethodIBluetoothVolumeControlIsAudioInputDescriptionWritable = "isAudioInputDescriptionWritable" MethodIBluetoothVolumeControlSetAudioInputDescription = "setAudioInputDescription" MethodIBluetoothVolumeControlGetAudioInputStatus = "getAudioInputStatus" MethodIBluetoothVolumeControlGetAudioInputType = "getAudioInputType" MethodIBluetoothVolumeControlGetAudioInputGainSetting = "getAudioInputGainSetting" MethodIBluetoothVolumeControlSetAudioInputGainSetting = "setAudioInputGainSetting" MethodIBluetoothVolumeControlGetAudioInputGainMode = "getAudioInputGainMode" MethodIBluetoothVolumeControlSetAudioInputGainMode = "setAudioInputGainMode" MethodIBluetoothVolumeControlGetAudioInputMute = "getAudioInputMute" MethodIBluetoothVolumeControlSetAudioInputMute = "setAudioInputMute" )
const ( TransactionIBluetoothVolumeControlCallbackOnVolumeOffsetChanged = binder.FirstCallTransaction + 0 TransactionIBluetoothVolumeControlCallbackOnVolumeOffsetAudioLocationChanged = binder.FirstCallTransaction + 1 TransactionIBluetoothVolumeControlCallbackOnVolumeOffsetAudioDescriptionChanged = binder.FirstCallTransaction + 2 TransactionIBluetoothVolumeControlCallbackOnDeviceVolumeChanged = binder.FirstCallTransaction + 3 )
const ( MethodIBluetoothVolumeControlCallbackOnVolumeOffsetChanged = "onVolumeOffsetChanged" MethodIBluetoothVolumeControlCallbackOnVolumeOffsetAudioLocationChanged = "onVolumeOffsetAudioLocationChanged" MethodIBluetoothVolumeControlCallbackOnVolumeOffsetAudioDescriptionChanged = "onVolumeOffsetAudioDescriptionChanged" MethodIBluetoothVolumeControlCallbackOnDeviceVolumeChanged = "onDeviceVolumeChanged" )
const ( TransactionIDistanceMeasurementGetSupportedDistanceMeasurementMethods = binder.FirstCallTransaction + 0 TransactionIDistanceMeasurementStartDistanceMeasurement = binder.FirstCallTransaction + 1 TransactionIDistanceMeasurementStopDistanceMeasurement = binder.FirstCallTransaction + 2 TransactionIDistanceMeasurementGetChannelSoundingMaxSupportedSecurityLevel = binder.FirstCallTransaction + 3 TransactionIDistanceMeasurementGetLocalChannelSoundingMaxSupportedSecurityLevel = binder.FirstCallTransaction + 4 TransactionIDistanceMeasurementGetChannelSoundingSupportedSecurityLevels = binder.FirstCallTransaction + 5 )
const ( MethodIDistanceMeasurementGetSupportedDistanceMeasurementMethods = "getSupportedDistanceMeasurementMethods" MethodIDistanceMeasurementStartDistanceMeasurement = "startDistanceMeasurement" MethodIDistanceMeasurementStopDistanceMeasurement = "stopDistanceMeasurement" MethodIDistanceMeasurementGetChannelSoundingMaxSupportedSecurityLevel = "getChannelSoundingMaxSupportedSecurityLevel" MethodIDistanceMeasurementGetLocalChannelSoundingMaxSupportedSecurityLevel = "getLocalChannelSoundingMaxSupportedSecurityLevel" MethodIDistanceMeasurementGetChannelSoundingSupportedSecurityLevels = "getChannelSoundingSupportedSecurityLevels" )
const DescriptorIAdapter = "android.bluetooth.IAdapter"
const DescriptorIAudioInputCallback = "android.bluetooth.IAudioInputCallback"
const DescriptorIBluetooth = "android.bluetooth.IBluetooth"
const DescriptorIBluetoothA2dp = "android.bluetooth.IBluetoothA2dp"
const DescriptorIBluetoothA2dpSink = "android.bluetooth.IBluetoothA2dpSink"
const DescriptorIBluetoothActivityEnergyInfoListener = "android.bluetooth.IBluetoothActivityEnergyInfoListener"
const DescriptorIBluetoothAdvertise = "android.bluetooth.IBluetoothAdvertise"
const DescriptorIBluetoothAvrcpController = "android.bluetooth.IBluetoothAvrcpController"
const DescriptorIBluetoothAvrcpTarget = "android.bluetooth.IBluetoothAvrcpTarget"
const DescriptorIBluetoothBattery = "android.bluetooth.IBluetoothBattery"
const DescriptorIBluetoothCallback = "android.bluetooth.IBluetoothCallback"
const DescriptorIBluetoothConnectionCallback = "android.bluetooth.IBluetoothConnectionCallback"
const DescriptorIBluetoothCsipSetCoordinator = "android.bluetooth.IBluetoothCsipSetCoordinator"
const DescriptorIBluetoothCsipSetCoordinatorCallback = "android.bluetooth.IBluetoothCsipSetCoordinatorCallback"
const DescriptorIBluetoothCsipSetCoordinatorLockCallback = "android.bluetooth.IBluetoothCsipSetCoordinatorLockCallback"
const DescriptorIBluetoothGatt = "android.bluetooth.IBluetoothGatt"
const DescriptorIBluetoothGattCallback = "android.bluetooth.IBluetoothGattCallback"
const DescriptorIBluetoothGattServerCallback = "android.bluetooth.IBluetoothGattServerCallback"
const DescriptorIBluetoothHapClient = "android.bluetooth.IBluetoothHapClient"
const DescriptorIBluetoothHapClientCallback = "android.bluetooth.IBluetoothHapClientCallback"
const DescriptorIBluetoothHciVendorSpecificCallback = "android.bluetooth.IBluetoothHciVendorSpecificCallback"
const DescriptorIBluetoothHeadset = "android.bluetooth.IBluetoothHeadset"
const DescriptorIBluetoothHeadsetClient = "android.bluetooth.IBluetoothHeadsetClient"
const DescriptorIBluetoothHearingAid = "android.bluetooth.IBluetoothHearingAid"
const DescriptorIBluetoothHidDevice = "android.bluetooth.IBluetoothHidDevice"
const DescriptorIBluetoothHidDeviceCallback = "android.bluetooth.IBluetoothHidDeviceCallback"
const DescriptorIBluetoothHidHost = "android.bluetooth.IBluetoothHidHost"
const DescriptorIBluetoothLeAudio = "android.bluetooth.IBluetoothLeAudio"
const DescriptorIBluetoothLeAudioCallback = "android.bluetooth.IBluetoothLeAudioCallback"
const DescriptorIBluetoothLeBroadcastAssistant = "android.bluetooth.IBluetoothLeBroadcastAssistant"
const DescriptorIBluetoothLeBroadcastAssistantCallback = "android.bluetooth.IBluetoothLeBroadcastAssistantCallback"
const DescriptorIBluetoothLeBroadcastCallback = "android.bluetooth.IBluetoothLeBroadcastCallback"
const DescriptorIBluetoothLeCallControl = "android.bluetooth.IBluetoothLeCallControl"
const DescriptorIBluetoothLeCallControlCallback = "android.bluetooth.IBluetoothLeCallControlCallback"
const DescriptorIBluetoothManager = "android.bluetooth.IBluetoothManager"
const DescriptorIBluetoothManagerCallback = "android.bluetooth.IBluetoothManagerCallback"
const DescriptorIBluetoothMap = "android.bluetooth.IBluetoothMap"
const DescriptorIBluetoothMapClient = "android.bluetooth.IBluetoothMapClient"
const DescriptorIBluetoothMcpServiceManager = "android.bluetooth.IBluetoothMcpServiceManager"
const DescriptorIBluetoothMetadataListener = "android.bluetooth.IBluetoothMetadataListener"
const DescriptorIBluetoothOobDataCallback = "android.bluetooth.IBluetoothOobDataCallback"
const DescriptorIBluetoothPan = "android.bluetooth.IBluetoothPan"
const DescriptorIBluetoothPanCallback = "android.bluetooth.IBluetoothPanCallback"
const DescriptorIBluetoothPbap = "android.bluetooth.IBluetoothPbap"
const DescriptorIBluetoothPbapClient = "android.bluetooth.IBluetoothPbapClient"
const DescriptorIBluetoothPreferredAudioProfilesCallback = "android.bluetooth.IBluetoothPreferredAudioProfilesCallback"
const DescriptorIBluetoothProfileCallback = "android.bluetooth.IBluetoothProfileCallback"
const DescriptorIBluetoothProfileServiceConnection = "android.bluetooth.IBluetoothProfileServiceConnection"
const DescriptorIBluetoothQualityReportReadyCallback = "android.bluetooth.IBluetoothQualityReportReadyCallback"
const DescriptorIBluetoothSap = "android.bluetooth.IBluetoothSap"
const DescriptorIBluetoothScan = "android.bluetooth.IBluetoothScan"
const DescriptorIBluetoothSocketManager = "android.bluetooth.IBluetoothSocketManager"
const DescriptorIBluetoothVolumeControl = "android.bluetooth.IBluetoothVolumeControl"
const DescriptorIBluetoothVolumeControlCallback = "android.bluetooth.IBluetoothVolumeControlCallback"
const DescriptorIDistanceMeasurement = "android.bluetooth.IDistanceMeasurement"
const (
IBluetoothVolumeControlVolumeControlUnknownVolume int32 = -1
)
const (
MethodIBluetoothActivityEnergyInfoListenerOnBluetoothActivityEnergyInfoAvailable = "onBluetoothActivityEnergyInfoAvailable"
)
const (
MethodIBluetoothAvrcpTargetSendVolumeChanged = "sendVolumeChanged"
)
const (
MethodIBluetoothCsipSetCoordinatorCallbackOnCsisSetMemberAvailable = "onCsisSetMemberAvailable"
)
const (
MethodIBluetoothCsipSetCoordinatorLockCallbackOnGroupLockSet = "onGroupLockSet"
)
const (
MethodIBluetoothMcpServiceManagerSetDeviceAuthorized = "setDeviceAuthorized"
)
const (
MethodIBluetoothMetadataListenerOnMetadataChanged = "onMetadataChanged"
)
const (
MethodIBluetoothPreferredAudioProfilesCallbackOnPreferredAudioProfilesChanged = "onPreferredAudioProfilesChanged"
)
const (
MethodIBluetoothProfileCallbackGetProfileReply = "getProfileReply"
)
const (
MethodIBluetoothQualityReportReadyCallbackOnBluetoothQualityReportReady = "onBluetoothQualityReportReady"
)
const (
TransactionIBluetoothActivityEnergyInfoListenerOnBluetoothActivityEnergyInfoAvailable = binder.FirstCallTransaction + 0
)
const (
TransactionIBluetoothAvrcpTargetSendVolumeChanged = binder.FirstCallTransaction + 0
)
const (
TransactionIBluetoothCsipSetCoordinatorCallbackOnCsisSetMemberAvailable = binder.FirstCallTransaction + 0
)
const (
TransactionIBluetoothCsipSetCoordinatorLockCallbackOnGroupLockSet = binder.FirstCallTransaction + 0
)
const (
TransactionIBluetoothMcpServiceManagerSetDeviceAuthorized = binder.FirstCallTransaction + 0
)
const (
TransactionIBluetoothMetadataListenerOnMetadataChanged = binder.FirstCallTransaction + 0
)
const (
TransactionIBluetoothPreferredAudioProfilesCallbackOnPreferredAudioProfilesChanged = binder.FirstCallTransaction + 0
)
const (
TransactionIBluetoothProfileCallbackGetProfileReply = binder.FirstCallTransaction + 0
)
const (
TransactionIBluetoothQualityReportReadyCallbackOnBluetoothQualityReportReady = binder.FirstCallTransaction + 0
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AdapterProxy ¶ added in v0.0.7
func NewAdapterProxy ¶ added in v0.0.7
func NewAdapterProxy( remote binder.IBinder, ) *AdapterProxy
func (*AdapterProxy) AsBinder ¶ added in v0.0.7
func (p *AdapterProxy) AsBinder() binder.IBinder
func (*AdapterProxy) BleOnToOff ¶ added in v0.0.7
func (p *AdapterProxy) BleOnToOff( ctx context.Context, ) error
func (*AdapterProxy) BleOnToOn ¶ added in v0.0.7
func (p *AdapterProxy) BleOnToOn( ctx context.Context, ) error
func (*AdapterProxy) KillBluetoothProcess ¶ added in v0.0.7
func (p *AdapterProxy) KillBluetoothProcess( ctx context.Context, ) error
func (*AdapterProxy) OffToBleOn ¶ added in v0.0.7
func (*AdapterProxy) OnToBleOn ¶ added in v0.0.7
func (p *AdapterProxy) OnToBleOn( ctx context.Context, ) error
func (*AdapterProxy) RegisterCallback ¶ added in v0.0.7
func (p *AdapterProxy) RegisterCallback( ctx context.Context, callback IBluetoothCallback, ) error
func (*AdapterProxy) UnregAllGattClient ¶ added in v0.0.7
func (p *AdapterProxy) UnregAllGattClient( ctx context.Context, ) error
func (*AdapterProxy) UnregisterCallback ¶ added in v0.0.7
func (p *AdapterProxy) UnregisterCallback( ctx context.Context, callback IBluetoothCallback, ) error
type AdapterStub ¶ added in v0.0.7
type AdapterStub struct {
Impl IAdapter
Transport binder.VersionAwareTransport
}
AdapterStub dispatches incoming binder transactions to a typed IAdapter implementation.
func (*AdapterStub) Descriptor ¶ added in v0.0.7
func (s *AdapterStub) Descriptor() string
func (*AdapterStub) OnTransaction ¶ added in v0.0.7
func (s *AdapterStub) OnTransaction( ctx context.Context, code binder.TransactionCode, _data *parcel.Parcel, ) (*parcel.Parcel, error)
type AudioInputCallbackProxy ¶ added in v0.0.7
func NewAudioInputCallbackProxy ¶ added in v0.0.7
func NewAudioInputCallbackProxy( remote binder.IBinder, ) *AudioInputCallbackProxy
func (*AudioInputCallbackProxy) AsBinder ¶ added in v0.0.7
func (p *AudioInputCallbackProxy) AsBinder() binder.IBinder
func (*AudioInputCallbackProxy) OnDescriptionChanged ¶ added in v0.0.7
func (p *AudioInputCallbackProxy) OnDescriptionChanged( ctx context.Context, description string, ) error
func (*AudioInputCallbackProxy) OnSetGainModeFailed ¶ added in v0.0.7
func (p *AudioInputCallbackProxy) OnSetGainModeFailed( ctx context.Context, ) error
func (*AudioInputCallbackProxy) OnSetGainSettingFailed ¶ added in v0.0.7
func (p *AudioInputCallbackProxy) OnSetGainSettingFailed( ctx context.Context, ) error
func (*AudioInputCallbackProxy) OnSetMuteFailed ¶ added in v0.0.7
func (p *AudioInputCallbackProxy) OnSetMuteFailed( ctx context.Context, ) error
func (*AudioInputCallbackProxy) OnStateChanged ¶ added in v0.0.7
func (*AudioInputCallbackProxy) OnStatusChanged ¶ added in v0.0.7
func (p *AudioInputCallbackProxy) OnStatusChanged( ctx context.Context, status int32, ) error
type AudioInputCallbackStub ¶ added in v0.0.7
type AudioInputCallbackStub struct {
Impl IAudioInputCallback
Transport binder.VersionAwareTransport
}
AudioInputCallbackStub dispatches incoming binder transactions to a typed IAudioInputCallback implementation.
func (*AudioInputCallbackStub) Descriptor ¶ added in v0.0.7
func (s *AudioInputCallbackStub) Descriptor() string
func (*AudioInputCallbackStub) OnTransaction ¶ added in v0.0.7
func (s *AudioInputCallbackStub) OnTransaction( ctx context.Context, code binder.TransactionCode, _data *parcel.Parcel, ) (*parcel.Parcel, error)
type BluetoothA2dpProxy ¶
func NewBluetoothA2dpProxy ¶
func NewBluetoothA2dpProxy( remote binder.IBinder, ) *BluetoothA2dpProxy
func (*BluetoothA2dpProxy) AsBinder ¶
func (p *BluetoothA2dpProxy) AsBinder() binder.IBinder
func (*BluetoothA2dpProxy) Connect ¶
func (p *BluetoothA2dpProxy) Connect( ctx context.Context, device BluetoothDevice, attributionSource content.AttributionSource, ) (bool, error)
func (*BluetoothA2dpProxy) DisableOptionalCodecs ¶
func (p *BluetoothA2dpProxy) DisableOptionalCodecs( ctx context.Context, device BluetoothDevice, attributionSource content.AttributionSource, ) error
func (*BluetoothA2dpProxy) Disconnect ¶
func (p *BluetoothA2dpProxy) Disconnect( ctx context.Context, device BluetoothDevice, attributionSource content.AttributionSource, ) (bool, error)
func (*BluetoothA2dpProxy) EnableOptionalCodecs ¶
func (p *BluetoothA2dpProxy) EnableOptionalCodecs( ctx context.Context, device BluetoothDevice, attributionSource content.AttributionSource, ) error
func (*BluetoothA2dpProxy) GetActiveDevice ¶
func (p *BluetoothA2dpProxy) GetActiveDevice( ctx context.Context, attributionSource content.AttributionSource, ) (BluetoothDevice, error)
func (*BluetoothA2dpProxy) GetBufferConstraints ¶
func (p *BluetoothA2dpProxy) GetBufferConstraints( ctx context.Context, attributionSource content.AttributionSource, ) (BufferConstraints, error)
func (*BluetoothA2dpProxy) GetCodecStatus ¶
func (p *BluetoothA2dpProxy) GetCodecStatus( ctx context.Context, device BluetoothDevice, attributionSource content.AttributionSource, ) (BluetoothCodecStatus, error)
func (*BluetoothA2dpProxy) GetConnectedDevices ¶
func (p *BluetoothA2dpProxy) GetConnectedDevices( ctx context.Context, attributionSource content.AttributionSource, ) ([]BluetoothDevice, error)
func (*BluetoothA2dpProxy) GetConnectionPolicy ¶
func (p *BluetoothA2dpProxy) GetConnectionPolicy( ctx context.Context, device BluetoothDevice, attributionSource content.AttributionSource, ) (int32, error)
func (*BluetoothA2dpProxy) GetConnectionState ¶
func (p *BluetoothA2dpProxy) GetConnectionState( ctx context.Context, device BluetoothDevice, attributionSource content.AttributionSource, ) (int32, error)
func (*BluetoothA2dpProxy) GetDevicesMatchingConnectionStates ¶
func (p *BluetoothA2dpProxy) GetDevicesMatchingConnectionStates( ctx context.Context, states []int32, attributionSource content.AttributionSource, ) ([]BluetoothDevice, error)
func (*BluetoothA2dpProxy) GetDynamicBufferSupport ¶
func (p *BluetoothA2dpProxy) GetDynamicBufferSupport( ctx context.Context, attributionSource content.AttributionSource, ) (int32, error)
func (*BluetoothA2dpProxy) GetSupportedCodecTypes ¶
func (p *BluetoothA2dpProxy) GetSupportedCodecTypes( ctx context.Context, ) ([]BluetoothCodecType, error)
func (*BluetoothA2dpProxy) IsA2dpPlaying ¶
func (p *BluetoothA2dpProxy) IsA2dpPlaying( ctx context.Context, device BluetoothDevice, attributionSource content.AttributionSource, ) (bool, error)
func (*BluetoothA2dpProxy) IsOptionalCodecsEnabled ¶
func (p *BluetoothA2dpProxy) IsOptionalCodecsEnabled( ctx context.Context, device BluetoothDevice, attributionSource content.AttributionSource, ) (int32, error)
func (*BluetoothA2dpProxy) IsOptionalCodecsSupported ¶
func (p *BluetoothA2dpProxy) IsOptionalCodecsSupported( ctx context.Context, device BluetoothDevice, attributionSource content.AttributionSource, ) (int32, error)
func (*BluetoothA2dpProxy) SetActiveDevice ¶
func (p *BluetoothA2dpProxy) SetActiveDevice( ctx context.Context, device BluetoothDevice, attributionSource content.AttributionSource, ) (bool, error)
func (*BluetoothA2dpProxy) SetAvrcpAbsoluteVolume ¶
func (p *BluetoothA2dpProxy) SetAvrcpAbsoluteVolume( ctx context.Context, volume int32, attributionSource content.AttributionSource, ) error
func (*BluetoothA2dpProxy) SetBufferLengthMillis ¶
func (p *BluetoothA2dpProxy) SetBufferLengthMillis( ctx context.Context, codec int32, size int32, attributionSource content.AttributionSource, ) (bool, error)
func (*BluetoothA2dpProxy) SetCodecConfigPreference ¶
func (p *BluetoothA2dpProxy) SetCodecConfigPreference( ctx context.Context, device BluetoothDevice, codecConfig BluetoothCodecConfig, attributionSource content.AttributionSource, ) error
func (*BluetoothA2dpProxy) SetConnectionPolicy ¶
func (p *BluetoothA2dpProxy) SetConnectionPolicy( ctx context.Context, device BluetoothDevice, connectionPolicy int32, attributionSource content.AttributionSource, ) (bool, error)
func (*BluetoothA2dpProxy) SetOptionalCodecsEnabled ¶
func (p *BluetoothA2dpProxy) SetOptionalCodecsEnabled( ctx context.Context, device BluetoothDevice, value int32, attributionSource content.AttributionSource, ) error
type BluetoothA2dpSinkProxy ¶
func NewBluetoothA2dpSinkProxy ¶
func NewBluetoothA2dpSinkProxy( remote binder.IBinder, ) *BluetoothA2dpSinkProxy
func (*BluetoothA2dpSinkProxy) AsBinder ¶
func (p *BluetoothA2dpSinkProxy) AsBinder() binder.IBinder
func (*BluetoothA2dpSinkProxy) Connect ¶
func (p *BluetoothA2dpSinkProxy) Connect( ctx context.Context, device BluetoothDevice, attributionSource content.AttributionSource, ) (bool, error)
func (*BluetoothA2dpSinkProxy) Disconnect ¶
func (p *BluetoothA2dpSinkProxy) Disconnect( ctx context.Context, device BluetoothDevice, attributionSource content.AttributionSource, ) (bool, error)
func (*BluetoothA2dpSinkProxy) GetAudioConfig ¶
func (p *BluetoothA2dpSinkProxy) GetAudioConfig( ctx context.Context, device BluetoothDevice, attributionSource content.AttributionSource, ) (BluetoothAudioConfig, error)
func (*BluetoothA2dpSinkProxy) GetConnectedDevices ¶
func (p *BluetoothA2dpSinkProxy) GetConnectedDevices( ctx context.Context, attributionSource content.AttributionSource, ) ([]BluetoothDevice, error)
func (*BluetoothA2dpSinkProxy) GetConnectionPolicy ¶
func (p *BluetoothA2dpSinkProxy) GetConnectionPolicy( ctx context.Context, device BluetoothDevice, attributionSource content.AttributionSource, ) (int32, error)
func (*BluetoothA2dpSinkProxy) GetConnectionState ¶
func (p *BluetoothA2dpSinkProxy) GetConnectionState( ctx context.Context, device BluetoothDevice, attributionSource content.AttributionSource, ) (int32, error)
func (*BluetoothA2dpSinkProxy) GetDevicesMatchingConnectionStates ¶
func (p *BluetoothA2dpSinkProxy) GetDevicesMatchingConnectionStates( ctx context.Context, states []int32, attributionSource content.AttributionSource, ) ([]BluetoothDevice, error)
func (*BluetoothA2dpSinkProxy) IsA2dpPlaying ¶
func (p *BluetoothA2dpSinkProxy) IsA2dpPlaying( ctx context.Context, device BluetoothDevice, attributionSource content.AttributionSource, ) (bool, error)
func (*BluetoothA2dpSinkProxy) SetConnectionPolicy ¶
func (p *BluetoothA2dpSinkProxy) SetConnectionPolicy( ctx context.Context, device BluetoothDevice, connectionPolicy int32, attributionSource content.AttributionSource, ) (bool, error)
type BluetoothA2dpSinkStub ¶
type BluetoothA2dpSinkStub struct {
Impl IBluetoothA2dpSink
Transport binder.VersionAwareTransport
}
BluetoothA2dpSinkStub dispatches incoming binder transactions to a typed IBluetoothA2dpSink implementation.
func (*BluetoothA2dpSinkStub) Descriptor ¶
func (s *BluetoothA2dpSinkStub) Descriptor() string
func (*BluetoothA2dpSinkStub) OnTransaction ¶
func (s *BluetoothA2dpSinkStub) OnTransaction( ctx context.Context, code binder.TransactionCode, _data *parcel.Parcel, ) (*parcel.Parcel, error)
type BluetoothA2dpStub ¶
type BluetoothA2dpStub struct {
Impl IBluetoothA2dp
Transport binder.VersionAwareTransport
}
BluetoothA2dpStub dispatches incoming binder transactions to a typed IBluetoothA2dp implementation.
func (*BluetoothA2dpStub) Descriptor ¶
func (s *BluetoothA2dpStub) Descriptor() string
func (*BluetoothA2dpStub) OnTransaction ¶
func (s *BluetoothA2dpStub) OnTransaction( ctx context.Context, code binder.TransactionCode, _data *parcel.Parcel, ) (*parcel.Parcel, error)
type BluetoothActivityEnergyInfo ¶
type BluetoothActivityEnergyInfo struct {
Timestamp int64
BluetoothStackState int32
ControllerTxTimeMs int64
ControllerRxTimeMs int64
ControllerIdleTimeMs int64
ControllerEnergyUsed int64
}
func (*BluetoothActivityEnergyInfo) MarshalParcel ¶
func (s *BluetoothActivityEnergyInfo) MarshalParcel( p *parcel.Parcel, ) error
func (*BluetoothActivityEnergyInfo) UnmarshalParcel ¶
func (s *BluetoothActivityEnergyInfo) UnmarshalParcel( p *parcel.Parcel, ) error
type BluetoothActivityEnergyInfoListenerProxy ¶
func NewBluetoothActivityEnergyInfoListenerProxy ¶
func NewBluetoothActivityEnergyInfoListenerProxy( remote binder.IBinder, ) *BluetoothActivityEnergyInfoListenerProxy
func (*BluetoothActivityEnergyInfoListenerProxy) AsBinder ¶
func (p *BluetoothActivityEnergyInfoListenerProxy) AsBinder() binder.IBinder
func (*BluetoothActivityEnergyInfoListenerProxy) OnBluetoothActivityEnergyInfoAvailable ¶
func (p *BluetoothActivityEnergyInfoListenerProxy) OnBluetoothActivityEnergyInfoAvailable( ctx context.Context, info BluetoothActivityEnergyInfo, ) error
type BluetoothActivityEnergyInfoListenerStub ¶
type BluetoothActivityEnergyInfoListenerStub struct {
Impl IBluetoothActivityEnergyInfoListener
Transport binder.VersionAwareTransport
}
BluetoothActivityEnergyInfoListenerStub dispatches incoming binder transactions to a typed IBluetoothActivityEnergyInfoListener implementation.
func (*BluetoothActivityEnergyInfoListenerStub) Descriptor ¶
func (s *BluetoothActivityEnergyInfoListenerStub) Descriptor() string
func (*BluetoothActivityEnergyInfoListenerStub) OnTransaction ¶
func (s *BluetoothActivityEnergyInfoListenerStub) OnTransaction( ctx context.Context, code binder.TransactionCode, _data *parcel.Parcel, ) (*parcel.Parcel, error)
type BluetoothAdvertiseProxy ¶ added in v0.0.7
func NewBluetoothAdvertiseProxy ¶ added in v0.0.7
func NewBluetoothAdvertiseProxy( remote binder.IBinder, ) *BluetoothAdvertiseProxy
func (*BluetoothAdvertiseProxy) AsBinder ¶ added in v0.0.7
func (p *BluetoothAdvertiseProxy) AsBinder() binder.IBinder
func (*BluetoothAdvertiseProxy) EnableAdvertisingSet ¶ added in v0.0.7
func (p *BluetoothAdvertiseProxy) EnableAdvertisingSet( ctx context.Context, advertiserId int32, enable bool, duration int32, maxExtAdvEvents int32, attributionSource content.AttributionSource, ) error
func (*BluetoothAdvertiseProxy) GetOwnAddress ¶ added in v0.0.7
func (p *BluetoothAdvertiseProxy) GetOwnAddress( ctx context.Context, advertiserId int32, attributionSource content.AttributionSource, ) error
func (*BluetoothAdvertiseProxy) SetAdvertisingData ¶ added in v0.0.7
func (p *BluetoothAdvertiseProxy) SetAdvertisingData( ctx context.Context, advertiserId int32, data le.AdvertiseData, attributionSource content.AttributionSource, ) error
func (*BluetoothAdvertiseProxy) SetAdvertisingParameters ¶ added in v0.0.7
func (p *BluetoothAdvertiseProxy) SetAdvertisingParameters( ctx context.Context, advertiserId int32, parameters le.AdvertisingSetParameters, attributionSource content.AttributionSource, ) error
func (*BluetoothAdvertiseProxy) SetPeriodicAdvertisingData ¶ added in v0.0.7
func (p *BluetoothAdvertiseProxy) SetPeriodicAdvertisingData( ctx context.Context, advertiserId int32, data le.AdvertiseData, attributionSource content.AttributionSource, ) error
func (*BluetoothAdvertiseProxy) SetPeriodicAdvertisingEnable ¶ added in v0.0.7
func (p *BluetoothAdvertiseProxy) SetPeriodicAdvertisingEnable( ctx context.Context, advertiserId int32, enable bool, attributionSource content.AttributionSource, ) error
func (*BluetoothAdvertiseProxy) SetPeriodicAdvertisingParameters ¶ added in v0.0.7
func (p *BluetoothAdvertiseProxy) SetPeriodicAdvertisingParameters( ctx context.Context, advertiserId int32, parameters le.PeriodicAdvertisingParameters, attributionSource content.AttributionSource, ) error
func (*BluetoothAdvertiseProxy) SetScanResponseData ¶ added in v0.0.7
func (p *BluetoothAdvertiseProxy) SetScanResponseData( ctx context.Context, advertiserId int32, data le.AdvertiseData, attributionSource content.AttributionSource, ) error
func (*BluetoothAdvertiseProxy) StartAdvertisingSet ¶ added in v0.0.7
func (p *BluetoothAdvertiseProxy) StartAdvertisingSet( ctx context.Context, parameters le.AdvertisingSetParameters, advertiseData le.AdvertiseData, scanResponse le.AdvertiseData, periodicParameters le.PeriodicAdvertisingParameters, periodicData le.AdvertiseData, duration int32, maxExtAdvEvents int32, gattServerCallback IBluetoothGattServerCallback, callback le.IAdvertisingSetCallback, attributionSource content.AttributionSource, ) error
func (*BluetoothAdvertiseProxy) StopAdvertisingSet ¶ added in v0.0.7
func (p *BluetoothAdvertiseProxy) StopAdvertisingSet( ctx context.Context, callback le.IAdvertisingSetCallback, attributionSource content.AttributionSource, ) error
type BluetoothAdvertiseStub ¶ added in v0.0.7
type BluetoothAdvertiseStub struct {
Impl IBluetoothAdvertise
Transport binder.VersionAwareTransport
}
BluetoothAdvertiseStub dispatches incoming binder transactions to a typed IBluetoothAdvertise implementation.
func (*BluetoothAdvertiseStub) Descriptor ¶ added in v0.0.7
func (s *BluetoothAdvertiseStub) Descriptor() string
func (*BluetoothAdvertiseStub) OnTransaction ¶ added in v0.0.7
func (s *BluetoothAdvertiseStub) OnTransaction( ctx context.Context, code binder.TransactionCode, _data *parcel.Parcel, ) (*parcel.Parcel, error)
type BluetoothAudioConfig ¶
func (*BluetoothAudioConfig) MarshalParcel ¶
func (s *BluetoothAudioConfig) MarshalParcel( p *parcel.Parcel, ) error
func (*BluetoothAudioConfig) UnmarshalParcel ¶
func (s *BluetoothAudioConfig) UnmarshalParcel( p *parcel.Parcel, ) error
type BluetoothAvrcpControllerProxy ¶
func NewBluetoothAvrcpControllerProxy ¶
func NewBluetoothAvrcpControllerProxy( remote binder.IBinder, ) *BluetoothAvrcpControllerProxy
func (*BluetoothAvrcpControllerProxy) AsBinder ¶
func (p *BluetoothAvrcpControllerProxy) AsBinder() binder.IBinder
func (*BluetoothAvrcpControllerProxy) GetConnectedDevices ¶
func (p *BluetoothAvrcpControllerProxy) GetConnectedDevices( ctx context.Context, attributionSource content.AttributionSource, ) ([]BluetoothDevice, error)
func (*BluetoothAvrcpControllerProxy) GetConnectionState ¶
func (p *BluetoothAvrcpControllerProxy) GetConnectionState( ctx context.Context, device BluetoothDevice, attributionSource content.AttributionSource, ) (int32, error)
func (*BluetoothAvrcpControllerProxy) GetDevicesMatchingConnectionStates ¶
func (p *BluetoothAvrcpControllerProxy) GetDevicesMatchingConnectionStates( ctx context.Context, states []int32, attributionSource content.AttributionSource, ) ([]BluetoothDevice, error)
type BluetoothAvrcpControllerStub ¶
type BluetoothAvrcpControllerStub struct {
Impl IBluetoothAvrcpController
Transport binder.VersionAwareTransport
}
BluetoothAvrcpControllerStub dispatches incoming binder transactions to a typed IBluetoothAvrcpController implementation.
func (*BluetoothAvrcpControllerStub) Descriptor ¶
func (s *BluetoothAvrcpControllerStub) Descriptor() string
func (*BluetoothAvrcpControllerStub) OnTransaction ¶
func (s *BluetoothAvrcpControllerStub) OnTransaction( ctx context.Context, code binder.TransactionCode, _data *parcel.Parcel, ) (*parcel.Parcel, error)
type BluetoothAvrcpPlayerSettings ¶
type BluetoothAvrcpPlayerSettings struct {
Settings int32
}
func (*BluetoothAvrcpPlayerSettings) MarshalParcel ¶
func (s *BluetoothAvrcpPlayerSettings) MarshalParcel( p *parcel.Parcel, ) error
func (*BluetoothAvrcpPlayerSettings) UnmarshalParcel ¶
func (s *BluetoothAvrcpPlayerSettings) UnmarshalParcel( p *parcel.Parcel, ) error
type BluetoothAvrcpTargetProxy ¶
func NewBluetoothAvrcpTargetProxy ¶
func NewBluetoothAvrcpTargetProxy( remote binder.IBinder, ) *BluetoothAvrcpTargetProxy
func (*BluetoothAvrcpTargetProxy) AsBinder ¶
func (p *BluetoothAvrcpTargetProxy) AsBinder() binder.IBinder
func (*BluetoothAvrcpTargetProxy) SendVolumeChanged ¶
func (p *BluetoothAvrcpTargetProxy) SendVolumeChanged( ctx context.Context, volume int32, ) error
type BluetoothAvrcpTargetStub ¶
type BluetoothAvrcpTargetStub struct {
Impl IBluetoothAvrcpTarget
Transport binder.VersionAwareTransport
}
BluetoothAvrcpTargetStub dispatches incoming binder transactions to a typed IBluetoothAvrcpTarget implementation.
func (*BluetoothAvrcpTargetStub) Descriptor ¶
func (s *BluetoothAvrcpTargetStub) Descriptor() string
func (*BluetoothAvrcpTargetStub) OnTransaction ¶
func (s *BluetoothAvrcpTargetStub) OnTransaction( ctx context.Context, code binder.TransactionCode, _data *parcel.Parcel, ) (*parcel.Parcel, error)
type BluetoothBatteryProxy ¶
func NewBluetoothBatteryProxy ¶
func NewBluetoothBatteryProxy( remote binder.IBinder, ) *BluetoothBatteryProxy
func (*BluetoothBatteryProxy) AsBinder ¶
func (p *BluetoothBatteryProxy) AsBinder() binder.IBinder
func (*BluetoothBatteryProxy) Connect ¶
func (p *BluetoothBatteryProxy) Connect( ctx context.Context, device BluetoothDevice, attributionSource content.AttributionSource, receiver any, ) error
func (*BluetoothBatteryProxy) Disconnect ¶
func (p *BluetoothBatteryProxy) Disconnect( ctx context.Context, device BluetoothDevice, attributionSource content.AttributionSource, receiver any, ) error
func (*BluetoothBatteryProxy) GetConnectedDevices ¶
func (p *BluetoothBatteryProxy) GetConnectedDevices( ctx context.Context, attributionSource content.AttributionSource, receiver any, ) error
func (*BluetoothBatteryProxy) GetConnectionPolicy ¶
func (p *BluetoothBatteryProxy) GetConnectionPolicy( ctx context.Context, device BluetoothDevice, attributionSource content.AttributionSource, receiver any, ) error
func (*BluetoothBatteryProxy) GetConnectionState ¶
func (p *BluetoothBatteryProxy) GetConnectionState( ctx context.Context, device BluetoothDevice, attributionSource content.AttributionSource, receiver any, ) error
func (*BluetoothBatteryProxy) GetDevicesMatchingConnectionStates ¶
func (p *BluetoothBatteryProxy) GetDevicesMatchingConnectionStates( ctx context.Context, states []int32, attributionSource content.AttributionSource, receiver any, ) error
func (*BluetoothBatteryProxy) SetConnectionPolicy ¶
func (p *BluetoothBatteryProxy) SetConnectionPolicy( ctx context.Context, device BluetoothDevice, connectionPolicy int32, attributionSource content.AttributionSource, receiver any, ) error
type BluetoothBatteryStub ¶
type BluetoothBatteryStub struct {
Impl IBluetoothBattery
Transport binder.VersionAwareTransport
}
BluetoothBatteryStub dispatches incoming binder transactions to a typed IBluetoothBattery implementation.
func (*BluetoothBatteryStub) Descriptor ¶
func (s *BluetoothBatteryStub) Descriptor() string
func (*BluetoothBatteryStub) OnTransaction ¶
func (s *BluetoothBatteryStub) OnTransaction( ctx context.Context, code binder.TransactionCode, _data *parcel.Parcel, ) (*parcel.Parcel, error)
type BluetoothBroadcastAudioScanBaseConfig ¶
type BluetoothBroadcastAudioScanBaseConfig struct {
}
func (*BluetoothBroadcastAudioScanBaseConfig) MarshalParcel ¶
func (s *BluetoothBroadcastAudioScanBaseConfig) MarshalParcel( p *parcel.Parcel, ) error
func (*BluetoothBroadcastAudioScanBaseConfig) UnmarshalParcel ¶
func (s *BluetoothBroadcastAudioScanBaseConfig) UnmarshalParcel( p *parcel.Parcel, ) error
type BluetoothCallbackProxy ¶
func NewBluetoothCallbackProxy ¶
func NewBluetoothCallbackProxy( remote binder.IBinder, ) *BluetoothCallbackProxy
func (*BluetoothCallbackProxy) AsBinder ¶
func (p *BluetoothCallbackProxy) AsBinder() binder.IBinder
func (*BluetoothCallbackProxy) OnAdapterAddressChange ¶ added in v0.0.7
func (p *BluetoothCallbackProxy) OnAdapterAddressChange( ctx context.Context, address string, ) error
func (*BluetoothCallbackProxy) OnAdapterNameChange ¶ added in v0.0.7
func (p *BluetoothCallbackProxy) OnAdapterNameChange( ctx context.Context, name string, ) error
func (*BluetoothCallbackProxy) OnBluetoothStateChange ¶
func (*BluetoothCallbackProxy) OnMediaProfileConnectionChange ¶ added in v0.0.7
func (p *BluetoothCallbackProxy) OnMediaProfileConnectionChange( ctx context.Context, connected bool, ) error
func (*BluetoothCallbackProxy) OnWatchConnectionChange ¶ added in v0.0.7
func (p *BluetoothCallbackProxy) OnWatchConnectionChange( ctx context.Context, connected bool, ) error
func (*BluetoothCallbackProxy) SetAdapterServiceBinder ¶ added in v0.0.7
type BluetoothCallbackStub ¶
type BluetoothCallbackStub struct {
Impl IBluetoothCallback
Transport binder.VersionAwareTransport
}
BluetoothCallbackStub dispatches incoming binder transactions to a typed IBluetoothCallback implementation.
func (*BluetoothCallbackStub) Descriptor ¶
func (s *BluetoothCallbackStub) Descriptor() string
func (*BluetoothCallbackStub) OnTransaction ¶
func (s *BluetoothCallbackStub) OnTransaction( ctx context.Context, code binder.TransactionCode, _data *parcel.Parcel, ) (*parcel.Parcel, error)
type BluetoothClass ¶
type BluetoothClass struct {
Class int32
}
func (*BluetoothClass) MarshalParcel ¶
func (s *BluetoothClass) MarshalParcel( p *parcel.Parcel, ) error
func (*BluetoothClass) UnmarshalParcel ¶
func (s *BluetoothClass) UnmarshalParcel( p *parcel.Parcel, ) error
type BluetoothCodecConfig ¶
type BluetoothCodecConfig struct {
CodecPriority int32
SampleRate int32
BitsPerSample int32
ChannelMode int32
CodecSpecific1 int64
CodecSpecific2 int64
CodecSpecific3 int64
CodecSpecific4 int64
}
func (*BluetoothCodecConfig) MarshalParcel ¶
func (s *BluetoothCodecConfig) MarshalParcel( p *parcel.Parcel, ) error
func (*BluetoothCodecConfig) UnmarshalParcel ¶
func (s *BluetoothCodecConfig) UnmarshalParcel( p *parcel.Parcel, ) error
type BluetoothCodecStatus ¶
type BluetoothCodecStatus struct {
}
func (*BluetoothCodecStatus) MarshalParcel ¶
func (s *BluetoothCodecStatus) MarshalParcel( p *parcel.Parcel, ) error
func (*BluetoothCodecStatus) UnmarshalParcel ¶
func (s *BluetoothCodecStatus) UnmarshalParcel( p *parcel.Parcel, ) error
type BluetoothCodecType ¶ added in v0.0.7
func (*BluetoothCodecType) MarshalParcel ¶ added in v0.0.7
func (s *BluetoothCodecType) MarshalParcel( p *parcel.Parcel, ) error
func (*BluetoothCodecType) UnmarshalParcel ¶ added in v0.0.7
func (s *BluetoothCodecType) UnmarshalParcel( p *parcel.Parcel, ) error
type BluetoothConnectionCallbackProxy ¶
func NewBluetoothConnectionCallbackProxy ¶
func NewBluetoothConnectionCallbackProxy( remote binder.IBinder, ) *BluetoothConnectionCallbackProxy
func (*BluetoothConnectionCallbackProxy) AsBinder ¶
func (p *BluetoothConnectionCallbackProxy) AsBinder() binder.IBinder
func (*BluetoothConnectionCallbackProxy) OnDeviceConnected ¶
func (p *BluetoothConnectionCallbackProxy) OnDeviceConnected( ctx context.Context, device BluetoothDevice, ) error
func (*BluetoothConnectionCallbackProxy) OnDeviceDisconnected ¶
func (p *BluetoothConnectionCallbackProxy) OnDeviceDisconnected( ctx context.Context, device BluetoothDevice, hciReason int32, ) error
type BluetoothConnectionCallbackStub ¶
type BluetoothConnectionCallbackStub struct {
Impl IBluetoothConnectionCallback
Transport binder.VersionAwareTransport
}
BluetoothConnectionCallbackStub dispatches incoming binder transactions to a typed IBluetoothConnectionCallback implementation.
func (*BluetoothConnectionCallbackStub) Descriptor ¶
func (s *BluetoothConnectionCallbackStub) Descriptor() string
func (*BluetoothConnectionCallbackStub) OnTransaction ¶
func (s *BluetoothConnectionCallbackStub) OnTransaction( ctx context.Context, code binder.TransactionCode, _data *parcel.Parcel, ) (*parcel.Parcel, error)
type BluetoothCsipSetCoordinatorCallbackProxy ¶
func NewBluetoothCsipSetCoordinatorCallbackProxy ¶
func NewBluetoothCsipSetCoordinatorCallbackProxy( remote binder.IBinder, ) *BluetoothCsipSetCoordinatorCallbackProxy
func (*BluetoothCsipSetCoordinatorCallbackProxy) AsBinder ¶
func (p *BluetoothCsipSetCoordinatorCallbackProxy) AsBinder() binder.IBinder
func (*BluetoothCsipSetCoordinatorCallbackProxy) OnCsisSetMemberAvailable ¶
func (p *BluetoothCsipSetCoordinatorCallbackProxy) OnCsisSetMemberAvailable( ctx context.Context, device BluetoothDevice, groupId int32, ) error
type BluetoothCsipSetCoordinatorCallbackStub ¶
type BluetoothCsipSetCoordinatorCallbackStub struct {
Impl IBluetoothCsipSetCoordinatorCallback
Transport binder.VersionAwareTransport
}
BluetoothCsipSetCoordinatorCallbackStub dispatches incoming binder transactions to a typed IBluetoothCsipSetCoordinatorCallback implementation.
func (*BluetoothCsipSetCoordinatorCallbackStub) Descriptor ¶
func (s *BluetoothCsipSetCoordinatorCallbackStub) Descriptor() string
func (*BluetoothCsipSetCoordinatorCallbackStub) OnTransaction ¶
func (s *BluetoothCsipSetCoordinatorCallbackStub) OnTransaction( ctx context.Context, code binder.TransactionCode, _data *parcel.Parcel, ) (*parcel.Parcel, error)
type BluetoothCsipSetCoordinatorLockCallbackProxy ¶
func NewBluetoothCsipSetCoordinatorLockCallbackProxy ¶
func NewBluetoothCsipSetCoordinatorLockCallbackProxy( remote binder.IBinder, ) *BluetoothCsipSetCoordinatorLockCallbackProxy
func (*BluetoothCsipSetCoordinatorLockCallbackProxy) AsBinder ¶
func (p *BluetoothCsipSetCoordinatorLockCallbackProxy) AsBinder() binder.IBinder
func (*BluetoothCsipSetCoordinatorLockCallbackProxy) OnGroupLockSet ¶
type BluetoothCsipSetCoordinatorLockCallbackStub ¶
type BluetoothCsipSetCoordinatorLockCallbackStub struct {
Impl IBluetoothCsipSetCoordinatorLockCallback
Transport binder.VersionAwareTransport
}
BluetoothCsipSetCoordinatorLockCallbackStub dispatches incoming binder transactions to a typed IBluetoothCsipSetCoordinatorLockCallback implementation.
func (*BluetoothCsipSetCoordinatorLockCallbackStub) Descriptor ¶
func (s *BluetoothCsipSetCoordinatorLockCallbackStub) Descriptor() string
func (*BluetoothCsipSetCoordinatorLockCallbackStub) OnTransaction ¶
func (s *BluetoothCsipSetCoordinatorLockCallbackStub) OnTransaction( ctx context.Context, code binder.TransactionCode, _data *parcel.Parcel, ) (*parcel.Parcel, error)
type BluetoothCsipSetCoordinatorProxy ¶
func NewBluetoothCsipSetCoordinatorProxy ¶
func NewBluetoothCsipSetCoordinatorProxy( remote binder.IBinder, ) *BluetoothCsipSetCoordinatorProxy
func (*BluetoothCsipSetCoordinatorProxy) AsBinder ¶
func (p *BluetoothCsipSetCoordinatorProxy) AsBinder() binder.IBinder
func (*BluetoothCsipSetCoordinatorProxy) GetAllGroupIds ¶
func (p *BluetoothCsipSetCoordinatorProxy) GetAllGroupIds( ctx context.Context, uuid os.ParcelUuid, attributionSource content.AttributionSource, ) ([]any, error)
func (*BluetoothCsipSetCoordinatorProxy) GetConnectedDevices ¶
func (p *BluetoothCsipSetCoordinatorProxy) GetConnectedDevices( ctx context.Context, attributionSource content.AttributionSource, ) ([]BluetoothDevice, error)
func (*BluetoothCsipSetCoordinatorProxy) GetConnectionPolicy ¶
func (p *BluetoothCsipSetCoordinatorProxy) GetConnectionPolicy( ctx context.Context, device BluetoothDevice, attributionSource content.AttributionSource, ) (int32, error)
func (*BluetoothCsipSetCoordinatorProxy) GetConnectionState ¶
func (p *BluetoothCsipSetCoordinatorProxy) GetConnectionState( ctx context.Context, device BluetoothDevice, attributionSource content.AttributionSource, ) (int32, error)
func (*BluetoothCsipSetCoordinatorProxy) GetDesiredGroupSize ¶
func (p *BluetoothCsipSetCoordinatorProxy) GetDesiredGroupSize( ctx context.Context, group_id int32, attributionSource content.AttributionSource, ) (int32, error)
func (*BluetoothCsipSetCoordinatorProxy) GetDevicesMatchingConnectionStates ¶
func (p *BluetoothCsipSetCoordinatorProxy) GetDevicesMatchingConnectionStates( ctx context.Context, states []int32, attributionSource content.AttributionSource, ) ([]BluetoothDevice, error)
func (*BluetoothCsipSetCoordinatorProxy) GetGroupUuidMapByDevice ¶
func (p *BluetoothCsipSetCoordinatorProxy) GetGroupUuidMapByDevice( ctx context.Context, device BluetoothDevice, attributionSource content.AttributionSource, ) (map[any]any, error)
func (*BluetoothCsipSetCoordinatorProxy) LockGroup ¶
func (p *BluetoothCsipSetCoordinatorProxy) LockGroup( ctx context.Context, groupId int32, callback IBluetoothCsipSetCoordinatorLockCallback, attributionSource content.AttributionSource, ) (os.ParcelUuid, error)
func (*BluetoothCsipSetCoordinatorProxy) SetConnectionPolicy ¶
func (p *BluetoothCsipSetCoordinatorProxy) SetConnectionPolicy( ctx context.Context, device BluetoothDevice, connectionPolicy int32, attributionSource content.AttributionSource, ) (bool, error)
func (*BluetoothCsipSetCoordinatorProxy) UnlockGroup ¶
func (p *BluetoothCsipSetCoordinatorProxy) UnlockGroup( ctx context.Context, lockUuid os.ParcelUuid, attributionSource content.AttributionSource, ) error
type BluetoothCsipSetCoordinatorStub ¶
type BluetoothCsipSetCoordinatorStub struct {
Impl IBluetoothCsipSetCoordinator
Transport binder.VersionAwareTransport
}
BluetoothCsipSetCoordinatorStub dispatches incoming binder transactions to a typed IBluetoothCsipSetCoordinator implementation.
func (*BluetoothCsipSetCoordinatorStub) Descriptor ¶
func (s *BluetoothCsipSetCoordinatorStub) Descriptor() string
func (*BluetoothCsipSetCoordinatorStub) OnTransaction ¶
func (s *BluetoothCsipSetCoordinatorStub) OnTransaction( ctx context.Context, code binder.TransactionCode, _data *parcel.Parcel, ) (*parcel.Parcel, error)
type BluetoothDevice ¶
type BluetoothDevice struct {
AddressType int32
}
func (*BluetoothDevice) MarshalParcel ¶
func (s *BluetoothDevice) MarshalParcel( p *parcel.Parcel, ) error
func (*BluetoothDevice) UnmarshalParcel ¶
func (s *BluetoothDevice) UnmarshalParcel( p *parcel.Parcel, ) error
type BluetoothDeviceBluetoothAddress ¶ added in v0.0.7
type BluetoothDeviceBluetoothAddress struct {
}
func (*BluetoothDeviceBluetoothAddress) MarshalParcel ¶ added in v0.0.7
func (s *BluetoothDeviceBluetoothAddress) MarshalParcel( p *parcel.Parcel, ) error
func (*BluetoothDeviceBluetoothAddress) UnmarshalParcel ¶ added in v0.0.7
func (s *BluetoothDeviceBluetoothAddress) UnmarshalParcel( p *parcel.Parcel, ) error
type BluetoothGattCallbackProxy ¶
func NewBluetoothGattCallbackProxy ¶
func NewBluetoothGattCallbackProxy( remote binder.IBinder, ) *BluetoothGattCallbackProxy
func (*BluetoothGattCallbackProxy) AsBinder ¶
func (p *BluetoothGattCallbackProxy) AsBinder() binder.IBinder
func (*BluetoothGattCallbackProxy) OnCharacteristicRead ¶
func (p *BluetoothGattCallbackProxy) OnCharacteristicRead( ctx context.Context, device BluetoothDevice, status int32, handle int32, value []byte, ) error
func (*BluetoothGattCallbackProxy) OnCharacteristicWrite ¶
func (p *BluetoothGattCallbackProxy) OnCharacteristicWrite( ctx context.Context, device BluetoothDevice, status int32, handle int32, value []byte, ) error
func (*BluetoothGattCallbackProxy) OnClientConnectionState ¶
func (p *BluetoothGattCallbackProxy) OnClientConnectionState( ctx context.Context, status int32, connected bool, device BluetoothDevice, ) error
func (*BluetoothGattCallbackProxy) OnClientRegistered ¶
func (p *BluetoothGattCallbackProxy) OnClientRegistered( ctx context.Context, status int32, ) error
func (*BluetoothGattCallbackProxy) OnConfigureMTU ¶
func (p *BluetoothGattCallbackProxy) OnConfigureMTU( ctx context.Context, device BluetoothDevice, mtu int32, status int32, ) error
func (*BluetoothGattCallbackProxy) OnConnectionUpdated ¶
func (p *BluetoothGattCallbackProxy) OnConnectionUpdated( ctx context.Context, device BluetoothDevice, interval int32, latency int32, timeout int32, status int32, ) error
func (*BluetoothGattCallbackProxy) OnDescriptorRead ¶
func (p *BluetoothGattCallbackProxy) OnDescriptorRead( ctx context.Context, device BluetoothDevice, status int32, handle int32, value []byte, ) error
func (*BluetoothGattCallbackProxy) OnDescriptorWrite ¶
func (p *BluetoothGattCallbackProxy) OnDescriptorWrite( ctx context.Context, device BluetoothDevice, status int32, handle int32, value []byte, ) error
func (*BluetoothGattCallbackProxy) OnExecuteWrite ¶
func (p *BluetoothGattCallbackProxy) OnExecuteWrite( ctx context.Context, device BluetoothDevice, status int32, ) error
func (*BluetoothGattCallbackProxy) OnNotify ¶
func (p *BluetoothGattCallbackProxy) OnNotify( ctx context.Context, device BluetoothDevice, handle int32, value []byte, ) error
func (*BluetoothGattCallbackProxy) OnPhyRead ¶
func (p *BluetoothGattCallbackProxy) OnPhyRead( ctx context.Context, device BluetoothDevice, txPhy int32, rxPhy int32, status int32, ) error
func (*BluetoothGattCallbackProxy) OnPhyUpdate ¶
func (p *BluetoothGattCallbackProxy) OnPhyUpdate( ctx context.Context, device BluetoothDevice, txPhy int32, rxPhy int32, status int32, ) error
func (*BluetoothGattCallbackProxy) OnReadRemoteRssi ¶
func (p *BluetoothGattCallbackProxy) OnReadRemoteRssi( ctx context.Context, device BluetoothDevice, rssi int32, status int32, ) error
func (*BluetoothGattCallbackProxy) OnSearchComplete ¶
func (p *BluetoothGattCallbackProxy) OnSearchComplete( ctx context.Context, device BluetoothDevice, services []BluetoothGattService, status int32, ) error
func (*BluetoothGattCallbackProxy) OnServiceChanged ¶
func (p *BluetoothGattCallbackProxy) OnServiceChanged( ctx context.Context, device BluetoothDevice, ) error
func (*BluetoothGattCallbackProxy) OnSubrateChange ¶
func (p *BluetoothGattCallbackProxy) OnSubrateChange( ctx context.Context, device BluetoothDevice, subrateMode int32, status int32, ) error
type BluetoothGattCallbackStub ¶
type BluetoothGattCallbackStub struct {
Impl IBluetoothGattCallback
Transport binder.VersionAwareTransport
}
BluetoothGattCallbackStub dispatches incoming binder transactions to a typed IBluetoothGattCallback implementation.
func (*BluetoothGattCallbackStub) Descriptor ¶
func (s *BluetoothGattCallbackStub) Descriptor() string
func (*BluetoothGattCallbackStub) OnTransaction ¶
func (s *BluetoothGattCallbackStub) OnTransaction( ctx context.Context, code binder.TransactionCode, _data *parcel.Parcel, ) (*parcel.Parcel, error)
type BluetoothGattCharacteristic ¶
type BluetoothGattCharacteristic struct {
Instance int32
Properties int32
Permissions int32
KeySize int32
WriteType int32
}
func (*BluetoothGattCharacteristic) MarshalParcel ¶
func (s *BluetoothGattCharacteristic) MarshalParcel( p *parcel.Parcel, ) error
func (*BluetoothGattCharacteristic) UnmarshalParcel ¶
func (s *BluetoothGattCharacteristic) UnmarshalParcel( p *parcel.Parcel, ) error
type BluetoothGattDescriptor ¶
func (*BluetoothGattDescriptor) MarshalParcel ¶
func (s *BluetoothGattDescriptor) MarshalParcel( p *parcel.Parcel, ) error
func (*BluetoothGattDescriptor) UnmarshalParcel ¶
func (s *BluetoothGattDescriptor) UnmarshalParcel( p *parcel.Parcel, ) error
type BluetoothGattIncludedService ¶
func (*BluetoothGattIncludedService) MarshalParcel ¶
func (s *BluetoothGattIncludedService) MarshalParcel( p *parcel.Parcel, ) error
func (*BluetoothGattIncludedService) UnmarshalParcel ¶
func (s *BluetoothGattIncludedService) UnmarshalParcel( p *parcel.Parcel, ) error
type BluetoothGattProxy ¶
func NewBluetoothGattProxy ¶
func NewBluetoothGattProxy( remote binder.IBinder, ) *BluetoothGattProxy
func (*BluetoothGattProxy) AddService ¶
func (p *BluetoothGattProxy) AddService( ctx context.Context, callback IBluetoothGattServerCallback, service BluetoothGattService, attributionSource content.AttributionSource, ) error
func (*BluetoothGattProxy) AsBinder ¶
func (p *BluetoothGattProxy) AsBinder() binder.IBinder
func (*BluetoothGattProxy) BeginReliableWrite ¶
func (p *BluetoothGattProxy) BeginReliableWrite( ctx context.Context, device BluetoothDevice, attributionSource content.AttributionSource, ) error
func (*BluetoothGattProxy) ClearServices ¶
func (p *BluetoothGattProxy) ClearServices( ctx context.Context, callback IBluetoothGattServerCallback, attributionSource content.AttributionSource, ) error
func (*BluetoothGattProxy) ClientConnect ¶
func (p *BluetoothGattProxy) ClientConnect( ctx context.Context, callback IBluetoothGattCallback, device BluetoothDevice, addressType int32, isDirect bool, transport int32, opportunistic bool, phy int32, attributionSource content.AttributionSource, ) error
func (*BluetoothGattProxy) ClientDisconnect ¶
func (p *BluetoothGattProxy) ClientDisconnect( ctx context.Context, callback IBluetoothGattCallback, device BluetoothDevice, attributionSource content.AttributionSource, ) error
func (*BluetoothGattProxy) ClientReadPhy ¶
func (p *BluetoothGattProxy) ClientReadPhy( ctx context.Context, callback IBluetoothGattCallback, device BluetoothDevice, attributionSources content.AttributionSource, ) error
func (*BluetoothGattProxy) ClientSetPreferredPhy ¶
func (p *BluetoothGattProxy) ClientSetPreferredPhy( ctx context.Context, callback IBluetoothGattCallback, device BluetoothDevice, txPhy int32, rxPhy int32, phyOptions int32, attributionSource content.AttributionSource, ) error
func (*BluetoothGattProxy) ConfigureMTU ¶
func (p *BluetoothGattProxy) ConfigureMTU( ctx context.Context, callback IBluetoothGattCallback, device BluetoothDevice, mtu int32, attributionSource content.AttributionSource, ) error
func (*BluetoothGattProxy) ConnectionParameterUpdate ¶
func (p *BluetoothGattProxy) ConnectionParameterUpdate( ctx context.Context, callback IBluetoothGattCallback, device BluetoothDevice, connectionPriority int32, attributionSource content.AttributionSource, ) error
func (*BluetoothGattProxy) DisconnectAll ¶
func (p *BluetoothGattProxy) DisconnectAll( ctx context.Context, attributionSource content.AttributionSource, ) error
func (*BluetoothGattProxy) DiscoverServiceByUuid ¶
func (p *BluetoothGattProxy) DiscoverServiceByUuid( ctx context.Context, callback IBluetoothGattCallback, device BluetoothDevice, uuid os.ParcelUuid, attributionSource content.AttributionSource, ) error
func (*BluetoothGattProxy) DiscoverServices ¶
func (p *BluetoothGattProxy) DiscoverServices( ctx context.Context, callback IBluetoothGattCallback, device BluetoothDevice, attributionSource content.AttributionSource, ) error
func (*BluetoothGattProxy) EndReliableWrite ¶
func (p *BluetoothGattProxy) EndReliableWrite( ctx context.Context, callback IBluetoothGattCallback, device BluetoothDevice, execute bool, attributionSource content.AttributionSource, ) error
func (*BluetoothGattProxy) GetDevicesMatchingConnectionStates ¶
func (p *BluetoothGattProxy) GetDevicesMatchingConnectionStates( ctx context.Context, states []int32, attributionSource content.AttributionSource, ) ([]BluetoothDevice, error)
func (*BluetoothGattProxy) LeConnectionUpdate ¶
func (p *BluetoothGattProxy) LeConnectionUpdate( ctx context.Context, callback IBluetoothGattCallback, device BluetoothDevice, minInterval int32, maxInterval int32, peripheralLatency int32, supervisionTimeout int32, minConnectionEventLen int32, maxConnectionEventLen int32, attributionSource content.AttributionSource, ) error
func (*BluetoothGattProxy) ReadCharacteristic ¶
func (p *BluetoothGattProxy) ReadCharacteristic( ctx context.Context, callback IBluetoothGattCallback, device BluetoothDevice, handle int32, authReq int32, attributionSource content.AttributionSource, ) error
func (*BluetoothGattProxy) ReadDescriptor ¶
func (p *BluetoothGattProxy) ReadDescriptor( ctx context.Context, callback IBluetoothGattCallback, device BluetoothDevice, handle int32, authReq int32, attributionSource content.AttributionSource, ) error
func (*BluetoothGattProxy) ReadRemoteRssi ¶
func (p *BluetoothGattProxy) ReadRemoteRssi( ctx context.Context, callback IBluetoothGattCallback, device BluetoothDevice, attributionSource content.AttributionSource, ) error
func (*BluetoothGattProxy) ReadUsingCharacteristicUuid ¶
func (p *BluetoothGattProxy) ReadUsingCharacteristicUuid( ctx context.Context, callback IBluetoothGattCallback, device BluetoothDevice, uuid os.ParcelUuid, startHandle int32, endHandle int32, authReq int32, attributionSource content.AttributionSource, ) error
func (*BluetoothGattProxy) RefreshDevice ¶
func (p *BluetoothGattProxy) RefreshDevice( ctx context.Context, callback IBluetoothGattCallback, device BluetoothDevice, attributionSource content.AttributionSource, ) error
func (*BluetoothGattProxy) RegisterClient ¶
func (p *BluetoothGattProxy) RegisterClient( ctx context.Context, appId os.ParcelUuid, callback IBluetoothGattCallback, eatt_support bool, transport int32, attributionSource content.AttributionSource, ) error
func (*BluetoothGattProxy) RegisterForNotification ¶
func (p *BluetoothGattProxy) RegisterForNotification( ctx context.Context, callback IBluetoothGattCallback, device BluetoothDevice, handle int32, enable bool, attributionSource content.AttributionSource, ) error
func (*BluetoothGattProxy) RegisterServer ¶
func (p *BluetoothGattProxy) RegisterServer( ctx context.Context, appId os.ParcelUuid, callback IBluetoothGattServerCallback, eatt_support bool, transport int32, attributionSource content.AttributionSource, ) error
func (*BluetoothGattProxy) RemoveService ¶
func (p *BluetoothGattProxy) RemoveService( ctx context.Context, callback IBluetoothGattServerCallback, handle int32, attributionSource content.AttributionSource, ) error
func (*BluetoothGattProxy) SendNotification ¶
func (p *BluetoothGattProxy) SendNotification( ctx context.Context, callback IBluetoothGattServerCallback, device BluetoothDevice, handle int32, confirm bool, value []byte, attributionSource content.AttributionSource, ) (int32, error)
func (*BluetoothGattProxy) SendResponse ¶
func (p *BluetoothGattProxy) SendResponse( ctx context.Context, callback IBluetoothGattServerCallback, device BluetoothDevice, requestId int32, status int32, offset int32, value []byte, attributionSource content.AttributionSource, ) error
func (*BluetoothGattProxy) ServerConnect ¶
func (p *BluetoothGattProxy) ServerConnect( ctx context.Context, callback IBluetoothGattServerCallback, device BluetoothDevice, addressType int32, isDirect bool, transport int32, attributionSource content.AttributionSource, ) error
func (*BluetoothGattProxy) ServerDisconnect ¶
func (p *BluetoothGattProxy) ServerDisconnect( ctx context.Context, callback IBluetoothGattServerCallback, device BluetoothDevice, attributionSource content.AttributionSource, ) error
func (*BluetoothGattProxy) ServerReadPhy ¶
func (p *BluetoothGattProxy) ServerReadPhy( ctx context.Context, callback IBluetoothGattServerCallback, device BluetoothDevice, attributionSource content.AttributionSource, ) error
func (*BluetoothGattProxy) ServerSetPreferredPhy ¶
func (p *BluetoothGattProxy) ServerSetPreferredPhy( ctx context.Context, callback IBluetoothGattServerCallback, device BluetoothDevice, txPhy int32, rxPhy int32, phyOptions int32, attributionSource content.AttributionSource, ) error
func (*BluetoothGattProxy) SubrateModeRequest ¶
func (p *BluetoothGattProxy) SubrateModeRequest( ctx context.Context, callback IBluetoothGattCallback, device BluetoothDevice, subrateMode int32, attributionSource content.AttributionSource, ) (int32, error)
func (*BluetoothGattProxy) UnregisterClient ¶
func (p *BluetoothGattProxy) UnregisterClient( ctx context.Context, callback IBluetoothGattCallback, attributionSource content.AttributionSource, ) error
func (*BluetoothGattProxy) UnregisterServer ¶
func (p *BluetoothGattProxy) UnregisterServer( ctx context.Context, callback IBluetoothGattServerCallback, attributionSource content.AttributionSource, ) error
func (*BluetoothGattProxy) WriteCharacteristic ¶
func (p *BluetoothGattProxy) WriteCharacteristic( ctx context.Context, callback IBluetoothGattCallback, device BluetoothDevice, handle int32, writeType int32, authReq int32, value []byte, attributionSource content.AttributionSource, ) (int32, error)
func (*BluetoothGattProxy) WriteDescriptor ¶
func (p *BluetoothGattProxy) WriteDescriptor( ctx context.Context, callback IBluetoothGattCallback, device BluetoothDevice, handle int32, authReq int32, value []byte, attributionSource content.AttributionSource, ) (int32, error)
type BluetoothGattServerCallbackProxy ¶
func NewBluetoothGattServerCallbackProxy ¶
func NewBluetoothGattServerCallbackProxy( remote binder.IBinder, ) *BluetoothGattServerCallbackProxy
func (*BluetoothGattServerCallbackProxy) AsBinder ¶
func (p *BluetoothGattServerCallbackProxy) AsBinder() binder.IBinder
func (*BluetoothGattServerCallbackProxy) OnCharacteristicReadRequest ¶
func (p *BluetoothGattServerCallbackProxy) OnCharacteristicReadRequest( ctx context.Context, device BluetoothDevice, transId int32, offset int32, isLong bool, handle int32, ) error
func (*BluetoothGattServerCallbackProxy) OnCharacteristicWriteRequest ¶
func (*BluetoothGattServerCallbackProxy) OnConnectionUpdated ¶
func (p *BluetoothGattServerCallbackProxy) OnConnectionUpdated( ctx context.Context, device BluetoothDevice, interval int32, latency int32, timeout int32, status int32, ) error
func (*BluetoothGattServerCallbackProxy) OnDescriptorReadRequest ¶
func (p *BluetoothGattServerCallbackProxy) OnDescriptorReadRequest( ctx context.Context, device BluetoothDevice, transId int32, offset int32, isLong bool, handle int32, ) error
func (*BluetoothGattServerCallbackProxy) OnDescriptorWriteRequest ¶
func (*BluetoothGattServerCallbackProxy) OnExecuteWrite ¶
func (p *BluetoothGattServerCallbackProxy) OnExecuteWrite( ctx context.Context, device BluetoothDevice, transId int32, execWrite bool, ) error
func (*BluetoothGattServerCallbackProxy) OnMtuChanged ¶
func (p *BluetoothGattServerCallbackProxy) OnMtuChanged( ctx context.Context, device BluetoothDevice, mtu int32, ) error
func (*BluetoothGattServerCallbackProxy) OnNotificationSent ¶
func (p *BluetoothGattServerCallbackProxy) OnNotificationSent( ctx context.Context, device BluetoothDevice, status int32, ) error
func (*BluetoothGattServerCallbackProxy) OnPhyRead ¶
func (p *BluetoothGattServerCallbackProxy) OnPhyRead( ctx context.Context, device BluetoothDevice, txPhy int32, rxPhy int32, status int32, ) error
func (*BluetoothGattServerCallbackProxy) OnPhyUpdate ¶
func (p *BluetoothGattServerCallbackProxy) OnPhyUpdate( ctx context.Context, device BluetoothDevice, txPhy int32, rxPhy int32, status int32, ) error
func (*BluetoothGattServerCallbackProxy) OnServerConnectionState ¶
func (p *BluetoothGattServerCallbackProxy) OnServerConnectionState( ctx context.Context, status int32, connected bool, device BluetoothDevice, ) error
func (*BluetoothGattServerCallbackProxy) OnServerRegistered ¶
func (p *BluetoothGattServerCallbackProxy) OnServerRegistered( ctx context.Context, status int32, ) error
func (*BluetoothGattServerCallbackProxy) OnServiceAdded ¶
func (p *BluetoothGattServerCallbackProxy) OnServiceAdded( ctx context.Context, status int32, service BluetoothGattService, ) error
func (*BluetoothGattServerCallbackProxy) OnSubrateChange ¶
func (p *BluetoothGattServerCallbackProxy) OnSubrateChange( ctx context.Context, device BluetoothDevice, subrateMode int32, status int32, ) error
type BluetoothGattServerCallbackStub ¶
type BluetoothGattServerCallbackStub struct {
Impl IBluetoothGattServerCallback
Transport binder.VersionAwareTransport
}
BluetoothGattServerCallbackStub dispatches incoming binder transactions to a typed IBluetoothGattServerCallback implementation.
func (*BluetoothGattServerCallbackStub) Descriptor ¶
func (s *BluetoothGattServerCallbackStub) Descriptor() string
func (*BluetoothGattServerCallbackStub) OnTransaction ¶
func (s *BluetoothGattServerCallbackStub) OnTransaction( ctx context.Context, code binder.TransactionCode, _data *parcel.Parcel, ) (*parcel.Parcel, error)
type BluetoothGattService ¶
func (*BluetoothGattService) MarshalParcel ¶
func (s *BluetoothGattService) MarshalParcel( p *parcel.Parcel, ) error
func (*BluetoothGattService) UnmarshalParcel ¶
func (s *BluetoothGattService) UnmarshalParcel( p *parcel.Parcel, ) error
type BluetoothGattStub ¶
type BluetoothGattStub struct {
Impl IBluetoothGatt
Transport binder.VersionAwareTransport
}
BluetoothGattStub dispatches incoming binder transactions to a typed IBluetoothGatt implementation.
func (*BluetoothGattStub) Descriptor ¶
func (s *BluetoothGattStub) Descriptor() string
func (*BluetoothGattStub) OnTransaction ¶
func (s *BluetoothGattStub) OnTransaction( ctx context.Context, code binder.TransactionCode, _data *parcel.Parcel, ) (*parcel.Parcel, error)
type BluetoothHapClientCallbackProxy ¶
func NewBluetoothHapClientCallbackProxy ¶
func NewBluetoothHapClientCallbackProxy( remote binder.IBinder, ) *BluetoothHapClientCallbackProxy
func (*BluetoothHapClientCallbackProxy) AsBinder ¶
func (p *BluetoothHapClientCallbackProxy) AsBinder() binder.IBinder
func (*BluetoothHapClientCallbackProxy) OnPresetInfoChanged ¶
func (p *BluetoothHapClientCallbackProxy) OnPresetInfoChanged( ctx context.Context, device BluetoothDevice, presetInfoList []BluetoothHapPresetInfo, statusCode int32, ) error
func (*BluetoothHapClientCallbackProxy) OnPresetSelected ¶
func (p *BluetoothHapClientCallbackProxy) OnPresetSelected( ctx context.Context, device BluetoothDevice, presetIndex int32, reasonCode int32, ) error
func (*BluetoothHapClientCallbackProxy) OnPresetSelectionFailed ¶
func (p *BluetoothHapClientCallbackProxy) OnPresetSelectionFailed( ctx context.Context, device BluetoothDevice, statusCode int32, ) error
func (*BluetoothHapClientCallbackProxy) OnPresetSelectionForGroupFailed ¶
func (*BluetoothHapClientCallbackProxy) OnSetPresetNameFailed ¶
func (p *BluetoothHapClientCallbackProxy) OnSetPresetNameFailed( ctx context.Context, device BluetoothDevice, status int32, ) error
func (*BluetoothHapClientCallbackProxy) OnSetPresetNameForGroupFailed ¶
type BluetoothHapClientCallbackStub ¶
type BluetoothHapClientCallbackStub struct {
Impl IBluetoothHapClientCallback
Transport binder.VersionAwareTransport
}
BluetoothHapClientCallbackStub dispatches incoming binder transactions to a typed IBluetoothHapClientCallback implementation.
func (*BluetoothHapClientCallbackStub) Descriptor ¶
func (s *BluetoothHapClientCallbackStub) Descriptor() string
func (*BluetoothHapClientCallbackStub) OnTransaction ¶
func (s *BluetoothHapClientCallbackStub) OnTransaction( ctx context.Context, code binder.TransactionCode, _data *parcel.Parcel, ) (*parcel.Parcel, error)
type BluetoothHapClientProxy ¶
func NewBluetoothHapClientProxy ¶
func NewBluetoothHapClientProxy( remote binder.IBinder, ) *BluetoothHapClientProxy
func (*BluetoothHapClientProxy) AsBinder ¶
func (p *BluetoothHapClientProxy) AsBinder() binder.IBinder
func (*BluetoothHapClientProxy) GetActivePresetIndex ¶
func (p *BluetoothHapClientProxy) GetActivePresetIndex( ctx context.Context, device BluetoothDevice, attributionSource content.AttributionSource, ) (int32, error)
func (*BluetoothHapClientProxy) GetActivePresetInfo ¶
func (p *BluetoothHapClientProxy) GetActivePresetInfo( ctx context.Context, device BluetoothDevice, attributionSource content.AttributionSource, ) (BluetoothHapPresetInfo, error)
func (*BluetoothHapClientProxy) GetAllPresetInfo ¶
func (p *BluetoothHapClientProxy) GetAllPresetInfo( ctx context.Context, device BluetoothDevice, attributionSource content.AttributionSource, ) ([]BluetoothHapPresetInfo, error)
func (*BluetoothHapClientProxy) GetConnectedDevices ¶
func (p *BluetoothHapClientProxy) GetConnectedDevices( ctx context.Context, attributionSource content.AttributionSource, ) ([]BluetoothDevice, error)
func (*BluetoothHapClientProxy) GetConnectionPolicy ¶
func (p *BluetoothHapClientProxy) GetConnectionPolicy( ctx context.Context, device BluetoothDevice, attributionSource content.AttributionSource, ) (int32, error)
func (*BluetoothHapClientProxy) GetConnectionState ¶
func (p *BluetoothHapClientProxy) GetConnectionState( ctx context.Context, device BluetoothDevice, attributionSource content.AttributionSource, ) (int32, error)
func (*BluetoothHapClientProxy) GetDevicesMatchingConnectionStates ¶
func (p *BluetoothHapClientProxy) GetDevicesMatchingConnectionStates( ctx context.Context, states []int32, attributionSource content.AttributionSource, ) ([]BluetoothDevice, error)
func (*BluetoothHapClientProxy) GetFeatures ¶
func (p *BluetoothHapClientProxy) GetFeatures( ctx context.Context, device BluetoothDevice, attributionSource content.AttributionSource, ) (int32, error)
func (*BluetoothHapClientProxy) GetHapGroup ¶
func (p *BluetoothHapClientProxy) GetHapGroup( ctx context.Context, device BluetoothDevice, attributionSource content.AttributionSource, ) (int32, error)
func (*BluetoothHapClientProxy) GetPresetInfo ¶
func (p *BluetoothHapClientProxy) GetPresetInfo( ctx context.Context, device BluetoothDevice, presetIndex int32, attributionSource content.AttributionSource, ) (BluetoothHapPresetInfo, error)
func (*BluetoothHapClientProxy) RegisterCallback ¶
func (p *BluetoothHapClientProxy) RegisterCallback( ctx context.Context, callback IBluetoothHapClientCallback, attributionSource content.AttributionSource, ) error
func (*BluetoothHapClientProxy) SelectPreset ¶
func (p *BluetoothHapClientProxy) SelectPreset( ctx context.Context, device BluetoothDevice, presetIndex int32, attributionSource content.AttributionSource, ) error
func (*BluetoothHapClientProxy) SelectPresetForGroup ¶
func (p *BluetoothHapClientProxy) SelectPresetForGroup( ctx context.Context, groupId int32, presetIndex int32, attributionSource content.AttributionSource, ) error
func (*BluetoothHapClientProxy) SetConnectionPolicy ¶
func (p *BluetoothHapClientProxy) SetConnectionPolicy( ctx context.Context, device BluetoothDevice, connectionPolicy int32, attributionSource content.AttributionSource, ) (bool, error)
func (*BluetoothHapClientProxy) SetPresetName ¶
func (p *BluetoothHapClientProxy) SetPresetName( ctx context.Context, device BluetoothDevice, presetIndex int32, name string, attributionSource content.AttributionSource, ) error
func (*BluetoothHapClientProxy) SetPresetNameForGroup ¶
func (p *BluetoothHapClientProxy) SetPresetNameForGroup( ctx context.Context, groupId int32, presetIndex int32, name string, attributionSource content.AttributionSource, ) error
func (*BluetoothHapClientProxy) SwitchToNextPreset ¶
func (p *BluetoothHapClientProxy) SwitchToNextPreset( ctx context.Context, device BluetoothDevice, attributionSource content.AttributionSource, ) error
func (*BluetoothHapClientProxy) SwitchToNextPresetForGroup ¶
func (p *BluetoothHapClientProxy) SwitchToNextPresetForGroup( ctx context.Context, groupId int32, attributionSource content.AttributionSource, ) error
func (*BluetoothHapClientProxy) SwitchToPreviousPreset ¶
func (p *BluetoothHapClientProxy) SwitchToPreviousPreset( ctx context.Context, device BluetoothDevice, attributionSource content.AttributionSource, ) error
func (*BluetoothHapClientProxy) SwitchToPreviousPresetForGroup ¶
func (p *BluetoothHapClientProxy) SwitchToPreviousPresetForGroup( ctx context.Context, groupId int32, attributionSource content.AttributionSource, ) error
func (*BluetoothHapClientProxy) UnregisterCallback ¶
func (p *BluetoothHapClientProxy) UnregisterCallback( ctx context.Context, callback IBluetoothHapClientCallback, attributionSource content.AttributionSource, ) error
type BluetoothHapClientStub ¶
type BluetoothHapClientStub struct {
Impl IBluetoothHapClient
Transport binder.VersionAwareTransport
}
BluetoothHapClientStub dispatches incoming binder transactions to a typed IBluetoothHapClient implementation.
func (*BluetoothHapClientStub) Descriptor ¶
func (s *BluetoothHapClientStub) Descriptor() string
func (*BluetoothHapClientStub) OnTransaction ¶
func (s *BluetoothHapClientStub) OnTransaction( ctx context.Context, code binder.TransactionCode, _data *parcel.Parcel, ) (*parcel.Parcel, error)
type BluetoothHapPresetInfo ¶
func (*BluetoothHapPresetInfo) MarshalParcel ¶
func (s *BluetoothHapPresetInfo) MarshalParcel( p *parcel.Parcel, ) error
func (*BluetoothHapPresetInfo) UnmarshalParcel ¶
func (s *BluetoothHapPresetInfo) UnmarshalParcel( p *parcel.Parcel, ) error
type BluetoothHciVendorSpecificCallbackProxy ¶ added in v0.0.7
func NewBluetoothHciVendorSpecificCallbackProxy ¶ added in v0.0.7
func NewBluetoothHciVendorSpecificCallbackProxy( remote binder.IBinder, ) *BluetoothHciVendorSpecificCallbackProxy
func (*BluetoothHciVendorSpecificCallbackProxy) AsBinder ¶ added in v0.0.7
func (p *BluetoothHciVendorSpecificCallbackProxy) AsBinder() binder.IBinder
func (*BluetoothHciVendorSpecificCallbackProxy) OnCommandComplete ¶ added in v0.0.7
func (*BluetoothHciVendorSpecificCallbackProxy) OnCommandStatus ¶ added in v0.0.7
type BluetoothHciVendorSpecificCallbackStub ¶ added in v0.0.7
type BluetoothHciVendorSpecificCallbackStub struct {
Impl IBluetoothHciVendorSpecificCallback
Transport binder.VersionAwareTransport
}
BluetoothHciVendorSpecificCallbackStub dispatches incoming binder transactions to a typed IBluetoothHciVendorSpecificCallback implementation.
func (*BluetoothHciVendorSpecificCallbackStub) Descriptor ¶ added in v0.0.7
func (s *BluetoothHciVendorSpecificCallbackStub) Descriptor() string
func (*BluetoothHciVendorSpecificCallbackStub) OnTransaction ¶ added in v0.0.7
func (s *BluetoothHciVendorSpecificCallbackStub) OnTransaction( ctx context.Context, code binder.TransactionCode, _data *parcel.Parcel, ) (*parcel.Parcel, error)
type BluetoothHeadsetClientCall ¶
type BluetoothHeadsetClientCall struct {
Id int32
State int32
MultiParty bool
Outgoing bool
InBandRing bool
}
func (*BluetoothHeadsetClientCall) MarshalParcel ¶
func (s *BluetoothHeadsetClientCall) MarshalParcel( p *parcel.Parcel, ) error
func (*BluetoothHeadsetClientCall) UnmarshalParcel ¶
func (s *BluetoothHeadsetClientCall) UnmarshalParcel( p *parcel.Parcel, ) error
type BluetoothHeadsetClientProxy ¶
func NewBluetoothHeadsetClientProxy ¶
func NewBluetoothHeadsetClientProxy( remote binder.IBinder, ) *BluetoothHeadsetClientProxy
func (*BluetoothHeadsetClientProxy) AcceptCall ¶
func (p *BluetoothHeadsetClientProxy) AcceptCall( ctx context.Context, device BluetoothDevice, flag int32, attributionSource content.AttributionSource, ) (bool, error)
func (*BluetoothHeadsetClientProxy) AsBinder ¶
func (p *BluetoothHeadsetClientProxy) AsBinder() binder.IBinder
func (*BluetoothHeadsetClientProxy) Connect ¶
func (p *BluetoothHeadsetClientProxy) Connect( ctx context.Context, device BluetoothDevice, attributionSource content.AttributionSource, ) (bool, error)
func (*BluetoothHeadsetClientProxy) ConnectAudio ¶
func (p *BluetoothHeadsetClientProxy) ConnectAudio( ctx context.Context, device BluetoothDevice, attributionSource content.AttributionSource, ) (bool, error)
func (*BluetoothHeadsetClientProxy) Dial ¶
func (p *BluetoothHeadsetClientProxy) Dial( ctx context.Context, device BluetoothDevice, number string, attributionSource content.AttributionSource, ) (BluetoothHeadsetClientCall, error)
func (*BluetoothHeadsetClientProxy) Disconnect ¶
func (p *BluetoothHeadsetClientProxy) Disconnect( ctx context.Context, device BluetoothDevice, attributionSource content.AttributionSource, ) (bool, error)
func (*BluetoothHeadsetClientProxy) DisconnectAudio ¶
func (p *BluetoothHeadsetClientProxy) DisconnectAudio( ctx context.Context, device BluetoothDevice, attributionSource content.AttributionSource, ) (bool, error)
func (*BluetoothHeadsetClientProxy) EnterPrivateMode ¶
func (p *BluetoothHeadsetClientProxy) EnterPrivateMode( ctx context.Context, device BluetoothDevice, index int32, attributionSource content.AttributionSource, ) (bool, error)
func (*BluetoothHeadsetClientProxy) ExplicitCallTransfer ¶
func (p *BluetoothHeadsetClientProxy) ExplicitCallTransfer( ctx context.Context, device BluetoothDevice, attributionSource content.AttributionSource, ) (bool, error)
func (*BluetoothHeadsetClientProxy) GetAudioRouteAllowed ¶
func (p *BluetoothHeadsetClientProxy) GetAudioRouteAllowed( ctx context.Context, device BluetoothDevice, attributionSource content.AttributionSource, ) (bool, error)
func (*BluetoothHeadsetClientProxy) GetAudioState ¶
func (p *BluetoothHeadsetClientProxy) GetAudioState( ctx context.Context, device BluetoothDevice, attributionSource content.AttributionSource, ) (int32, error)
func (*BluetoothHeadsetClientProxy) GetConnectedDevices ¶
func (p *BluetoothHeadsetClientProxy) GetConnectedDevices( ctx context.Context, attributionSource content.AttributionSource, ) ([]BluetoothDevice, error)
func (*BluetoothHeadsetClientProxy) GetConnectionPolicy ¶
func (p *BluetoothHeadsetClientProxy) GetConnectionPolicy( ctx context.Context, device BluetoothDevice, attributionSource content.AttributionSource, ) (int32, error)
func (*BluetoothHeadsetClientProxy) GetConnectionState ¶
func (p *BluetoothHeadsetClientProxy) GetConnectionState( ctx context.Context, device BluetoothDevice, attributionSource content.AttributionSource, ) (int32, error)
func (*BluetoothHeadsetClientProxy) GetCurrentAgEvents ¶
func (p *BluetoothHeadsetClientProxy) GetCurrentAgEvents( ctx context.Context, device BluetoothDevice, attributionSource content.AttributionSource, ) (os.Bundle, error)
func (*BluetoothHeadsetClientProxy) GetCurrentAgFeatures ¶
func (p *BluetoothHeadsetClientProxy) GetCurrentAgFeatures( ctx context.Context, device BluetoothDevice, attributionSource content.AttributionSource, ) (os.Bundle, error)
func (*BluetoothHeadsetClientProxy) GetCurrentCalls ¶
func (p *BluetoothHeadsetClientProxy) GetCurrentCalls( ctx context.Context, device BluetoothDevice, attributionSource content.AttributionSource, ) ([]BluetoothHeadsetClientCall, error)
func (*BluetoothHeadsetClientProxy) GetDevicesMatchingConnectionStates ¶
func (p *BluetoothHeadsetClientProxy) GetDevicesMatchingConnectionStates( ctx context.Context, states []int32, attributionSource content.AttributionSource, ) ([]BluetoothDevice, error)
func (*BluetoothHeadsetClientProxy) GetLastVoiceTagNumber ¶
func (p *BluetoothHeadsetClientProxy) GetLastVoiceTagNumber( ctx context.Context, device BluetoothDevice, attributionSource content.AttributionSource, ) (bool, error)
func (*BluetoothHeadsetClientProxy) HoldCall ¶
func (p *BluetoothHeadsetClientProxy) HoldCall( ctx context.Context, device BluetoothDevice, attributionSource content.AttributionSource, ) (bool, error)
func (*BluetoothHeadsetClientProxy) RejectCall ¶
func (p *BluetoothHeadsetClientProxy) RejectCall( ctx context.Context, device BluetoothDevice, attributionSource content.AttributionSource, ) (bool, error)
func (*BluetoothHeadsetClientProxy) SendDTMF ¶
func (p *BluetoothHeadsetClientProxy) SendDTMF( ctx context.Context, device BluetoothDevice, code byte, attributionSource content.AttributionSource, ) (bool, error)
func (*BluetoothHeadsetClientProxy) SendVendorAtCommand ¶
func (p *BluetoothHeadsetClientProxy) SendVendorAtCommand( ctx context.Context, device BluetoothDevice, vendorId int32, atCommand string, attributionSource content.AttributionSource, ) (bool, error)
func (*BluetoothHeadsetClientProxy) SetAudioRouteAllowed ¶
func (p *BluetoothHeadsetClientProxy) SetAudioRouteAllowed( ctx context.Context, device BluetoothDevice, allowed bool, attributionSource content.AttributionSource, ) error
func (*BluetoothHeadsetClientProxy) SetConnectionPolicy ¶
func (p *BluetoothHeadsetClientProxy) SetConnectionPolicy( ctx context.Context, device BluetoothDevice, connectionPolicy int32, attributionSource content.AttributionSource, ) (bool, error)
func (*BluetoothHeadsetClientProxy) StartVoiceRecognition ¶
func (p *BluetoothHeadsetClientProxy) StartVoiceRecognition( ctx context.Context, device BluetoothDevice, attributionSource content.AttributionSource, ) (bool, error)
func (*BluetoothHeadsetClientProxy) StopVoiceRecognition ¶
func (p *BluetoothHeadsetClientProxy) StopVoiceRecognition( ctx context.Context, device BluetoothDevice, attributionSource content.AttributionSource, ) (bool, error)
func (*BluetoothHeadsetClientProxy) TerminateCall ¶
func (p *BluetoothHeadsetClientProxy) TerminateCall( ctx context.Context, device BluetoothDevice, call BluetoothHeadsetClientCall, attributionSource content.AttributionSource, ) (bool, error)
type BluetoothHeadsetClientStub ¶
type BluetoothHeadsetClientStub struct {
Impl IBluetoothHeadsetClient
Transport binder.VersionAwareTransport
}
BluetoothHeadsetClientStub dispatches incoming binder transactions to a typed IBluetoothHeadsetClient implementation.
func (*BluetoothHeadsetClientStub) Descriptor ¶
func (s *BluetoothHeadsetClientStub) Descriptor() string
func (*BluetoothHeadsetClientStub) OnTransaction ¶
func (s *BluetoothHeadsetClientStub) OnTransaction( ctx context.Context, code binder.TransactionCode, _data *parcel.Parcel, ) (*parcel.Parcel, error)
type BluetoothHeadsetProxy ¶
func NewBluetoothHeadsetProxy ¶
func NewBluetoothHeadsetProxy( remote binder.IBinder, ) *BluetoothHeadsetProxy
func (*BluetoothHeadsetProxy) AsBinder ¶
func (p *BluetoothHeadsetProxy) AsBinder() binder.IBinder
func (*BluetoothHeadsetProxy) Connect ¶
func (p *BluetoothHeadsetProxy) Connect( ctx context.Context, device BluetoothDevice, attributionSource content.AttributionSource, ) (bool, error)
func (*BluetoothHeadsetProxy) ConnectAudio ¶
func (p *BluetoothHeadsetProxy) ConnectAudio( ctx context.Context, attributionSource content.AttributionSource, ) (int32, error)
func (*BluetoothHeadsetProxy) Disconnect ¶
func (p *BluetoothHeadsetProxy) Disconnect( ctx context.Context, device BluetoothDevice, attributionSource content.AttributionSource, ) (bool, error)
func (*BluetoothHeadsetProxy) DisconnectAudio ¶
func (p *BluetoothHeadsetProxy) DisconnectAudio( ctx context.Context, attributionSource content.AttributionSource, ) (int32, error)
func (*BluetoothHeadsetProxy) GetActiveDevice ¶
func (p *BluetoothHeadsetProxy) GetActiveDevice( ctx context.Context, attributionSource content.AttributionSource, ) (BluetoothDevice, error)
func (*BluetoothHeadsetProxy) GetAudioRouteAllowed ¶
func (p *BluetoothHeadsetProxy) GetAudioRouteAllowed( ctx context.Context, attributionSource content.AttributionSource, ) (bool, error)
func (*BluetoothHeadsetProxy) GetAudioState ¶
func (p *BluetoothHeadsetProxy) GetAudioState( ctx context.Context, device BluetoothDevice, attributionSource content.AttributionSource, ) (int32, error)
func (*BluetoothHeadsetProxy) GetConnectedDevices ¶
func (p *BluetoothHeadsetProxy) GetConnectedDevices( ctx context.Context, attributionSource content.AttributionSource, ) ([]BluetoothDevice, error)
func (*BluetoothHeadsetProxy) GetConnectionPolicy ¶
func (p *BluetoothHeadsetProxy) GetConnectionPolicy( ctx context.Context, device BluetoothDevice, attributionSource content.AttributionSource, ) (int32, error)
func (*BluetoothHeadsetProxy) GetConnectionState ¶
func (p *BluetoothHeadsetProxy) GetConnectionState( ctx context.Context, device BluetoothDevice, attributionSource content.AttributionSource, ) (int32, error)
func (*BluetoothHeadsetProxy) GetDevicesMatchingConnectionStates ¶
func (p *BluetoothHeadsetProxy) GetDevicesMatchingConnectionStates( ctx context.Context, states []int32, attributionSource content.AttributionSource, ) ([]BluetoothDevice, error)
func (*BluetoothHeadsetProxy) IsAudioConnected ¶
func (p *BluetoothHeadsetProxy) IsAudioConnected( ctx context.Context, device BluetoothDevice, attributionSource content.AttributionSource, ) (bool, error)
func (*BluetoothHeadsetProxy) IsInbandRingingEnabled ¶
func (p *BluetoothHeadsetProxy) IsInbandRingingEnabled( ctx context.Context, attributionSource content.AttributionSource, ) (bool, error)
func (*BluetoothHeadsetProxy) IsNoiseReductionSupported ¶
func (p *BluetoothHeadsetProxy) IsNoiseReductionSupported( ctx context.Context, device BluetoothDevice, attributionSource content.AttributionSource, ) (bool, error)
func (*BluetoothHeadsetProxy) IsVoiceRecognitionSupported ¶
func (p *BluetoothHeadsetProxy) IsVoiceRecognitionSupported( ctx context.Context, device BluetoothDevice, attributionSource content.AttributionSource, ) (bool, error)
func (*BluetoothHeadsetProxy) SendVendorSpecificResultCode ¶
func (p *BluetoothHeadsetProxy) SendVendorSpecificResultCode( ctx context.Context, device BluetoothDevice, command string, arg string, attributionSource content.AttributionSource, ) (bool, error)
func (*BluetoothHeadsetProxy) SetActiveDevice ¶
func (p *BluetoothHeadsetProxy) SetActiveDevice( ctx context.Context, device BluetoothDevice, attributionSource content.AttributionSource, ) (bool, error)
func (*BluetoothHeadsetProxy) SetAudioRouteAllowed ¶
func (p *BluetoothHeadsetProxy) SetAudioRouteAllowed( ctx context.Context, allowed bool, attributionSource content.AttributionSource, ) error
func (*BluetoothHeadsetProxy) SetConnectionPolicy ¶
func (p *BluetoothHeadsetProxy) SetConnectionPolicy( ctx context.Context, device BluetoothDevice, connectionPolicy int32, attributionSource content.AttributionSource, ) (bool, error)
func (*BluetoothHeadsetProxy) SetForceScoAudio ¶
func (p *BluetoothHeadsetProxy) SetForceScoAudio( ctx context.Context, forced bool, attributionSource content.AttributionSource, ) error
func (*BluetoothHeadsetProxy) StartScoUsingVirtualVoiceCall ¶
func (p *BluetoothHeadsetProxy) StartScoUsingVirtualVoiceCall( ctx context.Context, attributionSource content.AttributionSource, ) (bool, error)
func (*BluetoothHeadsetProxy) StartVoiceRecognition ¶
func (p *BluetoothHeadsetProxy) StartVoiceRecognition( ctx context.Context, device BluetoothDevice, attributionSource content.AttributionSource, ) (bool, error)
func (*BluetoothHeadsetProxy) StopScoUsingVirtualVoiceCall ¶
func (p *BluetoothHeadsetProxy) StopScoUsingVirtualVoiceCall( ctx context.Context, attributionSource content.AttributionSource, ) (bool, error)
func (*BluetoothHeadsetProxy) StopVoiceRecognition ¶
func (p *BluetoothHeadsetProxy) StopVoiceRecognition( ctx context.Context, device BluetoothDevice, attributionSource content.AttributionSource, ) (bool, error)
type BluetoothHeadsetStub ¶
type BluetoothHeadsetStub struct {
Impl IBluetoothHeadset
Transport binder.VersionAwareTransport
}
BluetoothHeadsetStub dispatches incoming binder transactions to a typed IBluetoothHeadset implementation.
func (*BluetoothHeadsetStub) Descriptor ¶
func (s *BluetoothHeadsetStub) Descriptor() string
func (*BluetoothHeadsetStub) OnTransaction ¶
func (s *BluetoothHeadsetStub) OnTransaction( ctx context.Context, code binder.TransactionCode, _data *parcel.Parcel, ) (*parcel.Parcel, error)
type BluetoothHearingAidAdvertisementServiceData ¶ added in v0.0.7
type BluetoothHearingAidAdvertisementServiceData struct {
}
func (*BluetoothHearingAidAdvertisementServiceData) MarshalParcel ¶ added in v0.0.7
func (s *BluetoothHearingAidAdvertisementServiceData) MarshalParcel( p *parcel.Parcel, ) error
func (*BluetoothHearingAidAdvertisementServiceData) UnmarshalParcel ¶ added in v0.0.7
func (s *BluetoothHearingAidAdvertisementServiceData) UnmarshalParcel( p *parcel.Parcel, ) error
type BluetoothHearingAidProxy ¶
func NewBluetoothHearingAidProxy ¶
func NewBluetoothHearingAidProxy( remote binder.IBinder, ) *BluetoothHearingAidProxy
func (*BluetoothHearingAidProxy) AsBinder ¶
func (p *BluetoothHearingAidProxy) AsBinder() binder.IBinder
func (*BluetoothHearingAidProxy) Connect ¶
func (p *BluetoothHearingAidProxy) Connect( ctx context.Context, device BluetoothDevice, attributionSource content.AttributionSource, ) (bool, error)
func (*BluetoothHearingAidProxy) Disconnect ¶
func (p *BluetoothHearingAidProxy) Disconnect( ctx context.Context, device BluetoothDevice, attributionSource content.AttributionSource, ) (bool, error)
func (*BluetoothHearingAidProxy) GetActiveDevices ¶
func (p *BluetoothHearingAidProxy) GetActiveDevices( ctx context.Context, attributionSource content.AttributionSource, ) ([]BluetoothDevice, error)
func (*BluetoothHearingAidProxy) GetAdvertisementServiceData ¶
func (p *BluetoothHearingAidProxy) GetAdvertisementServiceData( ctx context.Context, device BluetoothDevice, attributionSource content.AttributionSource, ) (BluetoothHearingAidAdvertisementServiceData, error)
func (*BluetoothHearingAidProxy) GetConnectedDevices ¶
func (p *BluetoothHearingAidProxy) GetConnectedDevices( ctx context.Context, attributionSource content.AttributionSource, ) ([]BluetoothDevice, error)
func (*BluetoothHearingAidProxy) GetConnectionPolicy ¶
func (p *BluetoothHearingAidProxy) GetConnectionPolicy( ctx context.Context, device BluetoothDevice, attributionSource content.AttributionSource, ) (int32, error)
func (*BluetoothHearingAidProxy) GetConnectionState ¶
func (p *BluetoothHearingAidProxy) GetConnectionState( ctx context.Context, device BluetoothDevice, attributionSource content.AttributionSource, ) (int32, error)
func (*BluetoothHearingAidProxy) GetDeviceMode ¶
func (p *BluetoothHearingAidProxy) GetDeviceMode( ctx context.Context, device BluetoothDevice, attributionSource content.AttributionSource, ) (int32, error)
func (*BluetoothHearingAidProxy) GetDeviceSide ¶
func (p *BluetoothHearingAidProxy) GetDeviceSide( ctx context.Context, device BluetoothDevice, attributionSource content.AttributionSource, ) (int32, error)
func (*BluetoothHearingAidProxy) GetDevicesMatchingConnectionStates ¶
func (p *BluetoothHearingAidProxy) GetDevicesMatchingConnectionStates( ctx context.Context, states []int32, attributionSource content.AttributionSource, ) ([]BluetoothDevice, error)
func (*BluetoothHearingAidProxy) GetHiSyncId ¶
func (p *BluetoothHearingAidProxy) GetHiSyncId( ctx context.Context, device BluetoothDevice, attributionSource content.AttributionSource, ) (int64, error)
func (*BluetoothHearingAidProxy) SetActiveDevice ¶
func (p *BluetoothHearingAidProxy) SetActiveDevice( ctx context.Context, device BluetoothDevice, attributionSource content.AttributionSource, ) (bool, error)
func (*BluetoothHearingAidProxy) SetConnectionPolicy ¶
func (p *BluetoothHearingAidProxy) SetConnectionPolicy( ctx context.Context, device BluetoothDevice, connectionPolicy int32, attributionSource content.AttributionSource, ) (bool, error)
func (*BluetoothHearingAidProxy) SetVolume ¶
func (p *BluetoothHearingAidProxy) SetVolume( ctx context.Context, volume int32, attributionSource content.AttributionSource, ) error
type BluetoothHearingAidStub ¶
type BluetoothHearingAidStub struct {
Impl IBluetoothHearingAid
Transport binder.VersionAwareTransport
}
BluetoothHearingAidStub dispatches incoming binder transactions to a typed IBluetoothHearingAid implementation.
func (*BluetoothHearingAidStub) Descriptor ¶
func (s *BluetoothHearingAidStub) Descriptor() string
func (*BluetoothHearingAidStub) OnTransaction ¶
func (s *BluetoothHearingAidStub) OnTransaction( ctx context.Context, code binder.TransactionCode, _data *parcel.Parcel, ) (*parcel.Parcel, error)
type BluetoothHidDeviceAppQosSettings ¶
type BluetoothHidDeviceAppQosSettings struct {
ServiceType int32
TokenRate int32
TokenBucketSize int32
PeakBandwidth int32
Latency int32
DelayVariation int32
}
func (*BluetoothHidDeviceAppQosSettings) MarshalParcel ¶
func (s *BluetoothHidDeviceAppQosSettings) MarshalParcel( p *parcel.Parcel, ) error
func (*BluetoothHidDeviceAppQosSettings) UnmarshalParcel ¶
func (s *BluetoothHidDeviceAppQosSettings) UnmarshalParcel( p *parcel.Parcel, ) error
type BluetoothHidDeviceAppSdpSettings ¶
type BluetoothHidDeviceAppSdpSettings struct {
Subclass int32
}
func (*BluetoothHidDeviceAppSdpSettings) MarshalParcel ¶
func (s *BluetoothHidDeviceAppSdpSettings) MarshalParcel( p *parcel.Parcel, ) error
func (*BluetoothHidDeviceAppSdpSettings) UnmarshalParcel ¶
func (s *BluetoothHidDeviceAppSdpSettings) UnmarshalParcel( p *parcel.Parcel, ) error
type BluetoothHidDeviceCallbackProxy ¶
func NewBluetoothHidDeviceCallbackProxy ¶
func NewBluetoothHidDeviceCallbackProxy( remote binder.IBinder, ) *BluetoothHidDeviceCallbackProxy
func (*BluetoothHidDeviceCallbackProxy) AsBinder ¶
func (p *BluetoothHidDeviceCallbackProxy) AsBinder() binder.IBinder
func (*BluetoothHidDeviceCallbackProxy) OnAppStatusChanged ¶
func (p *BluetoothHidDeviceCallbackProxy) OnAppStatusChanged( ctx context.Context, device BluetoothDevice, registered bool, ) error
func (*BluetoothHidDeviceCallbackProxy) OnConnectionStateChanged ¶
func (p *BluetoothHidDeviceCallbackProxy) OnConnectionStateChanged( ctx context.Context, device BluetoothDevice, state int32, ) error
func (*BluetoothHidDeviceCallbackProxy) OnGetReport ¶
func (p *BluetoothHidDeviceCallbackProxy) OnGetReport( ctx context.Context, device BluetoothDevice, type_ byte, id byte, bufferSize int32, ) error
func (*BluetoothHidDeviceCallbackProxy) OnInterruptData ¶
func (p *BluetoothHidDeviceCallbackProxy) OnInterruptData( ctx context.Context, device BluetoothDevice, reportId byte, data []byte, ) error
func (*BluetoothHidDeviceCallbackProxy) OnSetProtocol ¶
func (p *BluetoothHidDeviceCallbackProxy) OnSetProtocol( ctx context.Context, device BluetoothDevice, protocol byte, ) error
func (*BluetoothHidDeviceCallbackProxy) OnSetReport ¶
func (p *BluetoothHidDeviceCallbackProxy) OnSetReport( ctx context.Context, device BluetoothDevice, type_ byte, id byte, data []byte, ) error
func (*BluetoothHidDeviceCallbackProxy) OnVirtualCableUnplug ¶
func (p *BluetoothHidDeviceCallbackProxy) OnVirtualCableUnplug( ctx context.Context, device BluetoothDevice, ) error
type BluetoothHidDeviceCallbackStub ¶
type BluetoothHidDeviceCallbackStub struct {
Impl IBluetoothHidDeviceCallback
Transport binder.VersionAwareTransport
}
BluetoothHidDeviceCallbackStub dispatches incoming binder transactions to a typed IBluetoothHidDeviceCallback implementation.
func (*BluetoothHidDeviceCallbackStub) Descriptor ¶
func (s *BluetoothHidDeviceCallbackStub) Descriptor() string
func (*BluetoothHidDeviceCallbackStub) OnTransaction ¶
func (s *BluetoothHidDeviceCallbackStub) OnTransaction( ctx context.Context, code binder.TransactionCode, _data *parcel.Parcel, ) (*parcel.Parcel, error)
type BluetoothHidDeviceProxy ¶
func NewBluetoothHidDeviceProxy ¶
func NewBluetoothHidDeviceProxy( remote binder.IBinder, ) *BluetoothHidDeviceProxy
func (*BluetoothHidDeviceProxy) AsBinder ¶
func (p *BluetoothHidDeviceProxy) AsBinder() binder.IBinder
func (*BluetoothHidDeviceProxy) Connect ¶
func (p *BluetoothHidDeviceProxy) Connect( ctx context.Context, device BluetoothDevice, attributionSource content.AttributionSource, ) (bool, error)
func (*BluetoothHidDeviceProxy) Disconnect ¶
func (p *BluetoothHidDeviceProxy) Disconnect( ctx context.Context, device BluetoothDevice, attributionSource content.AttributionSource, ) (bool, error)
func (*BluetoothHidDeviceProxy) GetConnectedDevices ¶
func (p *BluetoothHidDeviceProxy) GetConnectedDevices( ctx context.Context, attributionSource content.AttributionSource, ) ([]BluetoothDevice, error)
func (*BluetoothHidDeviceProxy) GetConnectionState ¶
func (p *BluetoothHidDeviceProxy) GetConnectionState( ctx context.Context, device BluetoothDevice, attributionSource content.AttributionSource, ) (int32, error)
func (*BluetoothHidDeviceProxy) GetDevicesMatchingConnectionStates ¶
func (p *BluetoothHidDeviceProxy) GetDevicesMatchingConnectionStates( ctx context.Context, states []int32, attributionSource content.AttributionSource, ) ([]BluetoothDevice, error)
func (*BluetoothHidDeviceProxy) GetUserAppName ¶
func (p *BluetoothHidDeviceProxy) GetUserAppName( ctx context.Context, attributionSource content.AttributionSource, ) (string, error)
func (*BluetoothHidDeviceProxy) RegisterApp ¶
func (p *BluetoothHidDeviceProxy) RegisterApp( ctx context.Context, sdp BluetoothHidDeviceAppSdpSettings, inQos BluetoothHidDeviceAppQosSettings, outQos BluetoothHidDeviceAppQosSettings, callback IBluetoothHidDeviceCallback, attributionSource content.AttributionSource, ) (bool, error)
func (*BluetoothHidDeviceProxy) ReplyReport ¶
func (p *BluetoothHidDeviceProxy) ReplyReport( ctx context.Context, device BluetoothDevice, type_ byte, id byte, data []byte, attributionSource content.AttributionSource, ) (bool, error)
func (*BluetoothHidDeviceProxy) ReportError ¶
func (p *BluetoothHidDeviceProxy) ReportError( ctx context.Context, device BluetoothDevice, error_ byte, attributionSource content.AttributionSource, ) (bool, error)
func (*BluetoothHidDeviceProxy) SendReport ¶
func (p *BluetoothHidDeviceProxy) SendReport( ctx context.Context, device BluetoothDevice, id int32, data []byte, attributionSource content.AttributionSource, ) (bool, error)
func (*BluetoothHidDeviceProxy) SetConnectionPolicy ¶
func (p *BluetoothHidDeviceProxy) SetConnectionPolicy( ctx context.Context, device BluetoothDevice, connectionPolicy int32, attributionSource content.AttributionSource, ) (bool, error)
func (*BluetoothHidDeviceProxy) Unplug ¶
func (p *BluetoothHidDeviceProxy) Unplug( ctx context.Context, device BluetoothDevice, attributionSource content.AttributionSource, ) (bool, error)
func (*BluetoothHidDeviceProxy) UnregisterApp ¶
func (p *BluetoothHidDeviceProxy) UnregisterApp( ctx context.Context, attributionSource content.AttributionSource, ) (bool, error)
type BluetoothHidDeviceStub ¶
type BluetoothHidDeviceStub struct {
Impl IBluetoothHidDevice
Transport binder.VersionAwareTransport
}
BluetoothHidDeviceStub dispatches incoming binder transactions to a typed IBluetoothHidDevice implementation.
func (*BluetoothHidDeviceStub) Descriptor ¶
func (s *BluetoothHidDeviceStub) Descriptor() string
func (*BluetoothHidDeviceStub) OnTransaction ¶
func (s *BluetoothHidDeviceStub) OnTransaction( ctx context.Context, code binder.TransactionCode, _data *parcel.Parcel, ) (*parcel.Parcel, error)
type BluetoothHidHostProxy ¶
func NewBluetoothHidHostProxy ¶
func NewBluetoothHidHostProxy( remote binder.IBinder, ) *BluetoothHidHostProxy
func (*BluetoothHidHostProxy) AsBinder ¶
func (p *BluetoothHidHostProxy) AsBinder() binder.IBinder
func (*BluetoothHidHostProxy) Connect ¶
func (p *BluetoothHidHostProxy) Connect( ctx context.Context, device BluetoothDevice, attributionSource content.AttributionSource, ) (bool, error)
func (*BluetoothHidHostProxy) Disconnect ¶
func (p *BluetoothHidHostProxy) Disconnect( ctx context.Context, device BluetoothDevice, attributionSource content.AttributionSource, ) (bool, error)
func (*BluetoothHidHostProxy) GetConnectedDevices ¶
func (p *BluetoothHidHostProxy) GetConnectedDevices( ctx context.Context, attributionSource content.AttributionSource, ) ([]BluetoothDevice, error)
func (*BluetoothHidHostProxy) GetConnectionPolicy ¶
func (p *BluetoothHidHostProxy) GetConnectionPolicy( ctx context.Context, device BluetoothDevice, attributionSource content.AttributionSource, ) (int32, error)
func (*BluetoothHidHostProxy) GetConnectionState ¶
func (p *BluetoothHidHostProxy) GetConnectionState( ctx context.Context, device BluetoothDevice, attributionSource content.AttributionSource, ) (int32, error)
func (*BluetoothHidHostProxy) GetDevicesMatchingConnectionStates ¶
func (p *BluetoothHidHostProxy) GetDevicesMatchingConnectionStates( ctx context.Context, states []int32, attributionSource content.AttributionSource, ) ([]BluetoothDevice, error)
func (*BluetoothHidHostProxy) GetIdleTime ¶
func (p *BluetoothHidHostProxy) GetIdleTime( ctx context.Context, device BluetoothDevice, attributionSource content.AttributionSource, ) (bool, error)
func (*BluetoothHidHostProxy) GetPreferredTransport ¶
func (p *BluetoothHidHostProxy) GetPreferredTransport( ctx context.Context, device BluetoothDevice, attributionSource content.AttributionSource, ) (int32, error)
func (*BluetoothHidHostProxy) GetProtocolMode ¶
func (p *BluetoothHidHostProxy) GetProtocolMode( ctx context.Context, device BluetoothDevice, attributionSource content.AttributionSource, ) (bool, error)
func (*BluetoothHidHostProxy) GetReport ¶
func (p *BluetoothHidHostProxy) GetReport( ctx context.Context, device BluetoothDevice, reportType byte, reportId byte, bufferSize int32, attributionSource content.AttributionSource, ) (bool, error)
func (*BluetoothHidHostProxy) SendData ¶
func (p *BluetoothHidHostProxy) SendData( ctx context.Context, device BluetoothDevice, report string, attributionSource content.AttributionSource, ) (bool, error)
func (*BluetoothHidHostProxy) SetConnectionPolicy ¶
func (p *BluetoothHidHostProxy) SetConnectionPolicy( ctx context.Context, device BluetoothDevice, connectionPolicy int32, attributionSource content.AttributionSource, ) (bool, error)
func (*BluetoothHidHostProxy) SetIdleTime ¶
func (p *BluetoothHidHostProxy) SetIdleTime( ctx context.Context, device BluetoothDevice, idleTime byte, attributionSource content.AttributionSource, ) (bool, error)
func (*BluetoothHidHostProxy) SetPreferredTransport ¶
func (p *BluetoothHidHostProxy) SetPreferredTransport( ctx context.Context, device BluetoothDevice, transport int32, attributionSource content.AttributionSource, ) (bool, error)
func (*BluetoothHidHostProxy) SetProtocolMode ¶
func (p *BluetoothHidHostProxy) SetProtocolMode( ctx context.Context, device BluetoothDevice, protocolMode int32, attributionSource content.AttributionSource, ) (bool, error)
func (*BluetoothHidHostProxy) SetReport ¶
func (p *BluetoothHidHostProxy) SetReport( ctx context.Context, device BluetoothDevice, reportType byte, report string, attributionSource content.AttributionSource, ) (bool, error)
func (*BluetoothHidHostProxy) VirtualUnplug ¶
func (p *BluetoothHidHostProxy) VirtualUnplug( ctx context.Context, device BluetoothDevice, attributionSource content.AttributionSource, ) (bool, error)
type BluetoothHidHostStub ¶
type BluetoothHidHostStub struct {
Impl IBluetoothHidHost
Transport binder.VersionAwareTransport
}
BluetoothHidHostStub dispatches incoming binder transactions to a typed IBluetoothHidHost implementation.
func (*BluetoothHidHostStub) Descriptor ¶
func (s *BluetoothHidHostStub) Descriptor() string
func (*BluetoothHidHostStub) OnTransaction ¶
func (s *BluetoothHidHostStub) OnTransaction( ctx context.Context, code binder.TransactionCode, _data *parcel.Parcel, ) (*parcel.Parcel, error)
type BluetoothLeAudioCallbackProxy ¶
func NewBluetoothLeAudioCallbackProxy ¶
func NewBluetoothLeAudioCallbackProxy( remote binder.IBinder, ) *BluetoothLeAudioCallbackProxy
func (*BluetoothLeAudioCallbackProxy) AsBinder ¶
func (p *BluetoothLeAudioCallbackProxy) AsBinder() binder.IBinder
func (*BluetoothLeAudioCallbackProxy) OnBroadcastToUnicastFallbackGroupChanged ¶ added in v0.0.7
func (p *BluetoothLeAudioCallbackProxy) OnBroadcastToUnicastFallbackGroupChanged( ctx context.Context, groupId int32, ) error
func (*BluetoothLeAudioCallbackProxy) OnCodecConfigChanged ¶
func (p *BluetoothLeAudioCallbackProxy) OnCodecConfigChanged( ctx context.Context, groupId int32, status BluetoothLeAudioCodecStatus, ) error
func (*BluetoothLeAudioCallbackProxy) OnGroupNodeAdded ¶
func (p *BluetoothLeAudioCallbackProxy) OnGroupNodeAdded( ctx context.Context, device BluetoothDevice, groupId int32, ) error
func (*BluetoothLeAudioCallbackProxy) OnGroupNodeRemoved ¶
func (p *BluetoothLeAudioCallbackProxy) OnGroupNodeRemoved( ctx context.Context, device BluetoothDevice, groupId int32, ) error
func (*BluetoothLeAudioCallbackProxy) OnGroupStatusChanged ¶
func (*BluetoothLeAudioCallbackProxy) OnGroupStreamStatusChanged ¶
type BluetoothLeAudioCallbackStub ¶
type BluetoothLeAudioCallbackStub struct {
Impl IBluetoothLeAudioCallback
Transport binder.VersionAwareTransport
}
BluetoothLeAudioCallbackStub dispatches incoming binder transactions to a typed IBluetoothLeAudioCallback implementation.
func (*BluetoothLeAudioCallbackStub) Descriptor ¶
func (s *BluetoothLeAudioCallbackStub) Descriptor() string
func (*BluetoothLeAudioCallbackStub) OnTransaction ¶
func (s *BluetoothLeAudioCallbackStub) OnTransaction( ctx context.Context, code binder.TransactionCode, _data *parcel.Parcel, ) (*parcel.Parcel, error)
type BluetoothLeAudioCodecConfig ¶
type BluetoothLeAudioCodecConfig struct {
CodecType int32
CodecPriority int32
SampleRate int32
BitsPerSample int32
ChannelCount int32
FrameDuration int32
OctetsPerFrame int32
MinOctetsPerFrame int32
MaxOctetsPerFrame int32
}
func (*BluetoothLeAudioCodecConfig) MarshalParcel ¶
func (s *BluetoothLeAudioCodecConfig) MarshalParcel( p *parcel.Parcel, ) error
func (*BluetoothLeAudioCodecConfig) UnmarshalParcel ¶
func (s *BluetoothLeAudioCodecConfig) UnmarshalParcel( p *parcel.Parcel, ) error
type BluetoothLeAudioCodecStatus ¶
type BluetoothLeAudioCodecStatus struct {
}
func (*BluetoothLeAudioCodecStatus) MarshalParcel ¶
func (s *BluetoothLeAudioCodecStatus) MarshalParcel( p *parcel.Parcel, ) error
func (*BluetoothLeAudioCodecStatus) UnmarshalParcel ¶
func (s *BluetoothLeAudioCodecStatus) UnmarshalParcel( p *parcel.Parcel, ) error
type BluetoothLeAudioContentMetadata ¶
type BluetoothLeAudioContentMetadata struct {
}
func (*BluetoothLeAudioContentMetadata) MarshalParcel ¶
func (s *BluetoothLeAudioContentMetadata) MarshalParcel( p *parcel.Parcel, ) error
func (*BluetoothLeAudioContentMetadata) UnmarshalParcel ¶
func (s *BluetoothLeAudioContentMetadata) UnmarshalParcel( p *parcel.Parcel, ) error
type BluetoothLeAudioProxy ¶
func NewBluetoothLeAudioProxy ¶
func NewBluetoothLeAudioProxy( remote binder.IBinder, ) *BluetoothLeAudioProxy
func (*BluetoothLeAudioProxy) AsBinder ¶
func (p *BluetoothLeAudioProxy) AsBinder() binder.IBinder
func (*BluetoothLeAudioProxy) Connect ¶
func (p *BluetoothLeAudioProxy) Connect( ctx context.Context, device BluetoothDevice, attributionSource content.AttributionSource, ) (bool, error)
func (*BluetoothLeAudioProxy) Disconnect ¶
func (p *BluetoothLeAudioProxy) Disconnect( ctx context.Context, device BluetoothDevice, attributionSource content.AttributionSource, ) (bool, error)
func (*BluetoothLeAudioProxy) GetActiveDevices ¶
func (p *BluetoothLeAudioProxy) GetActiveDevices( ctx context.Context, attributionSource content.AttributionSource, ) ([]BluetoothDevice, error)
func (*BluetoothLeAudioProxy) GetAllBroadcastMetadata ¶
func (p *BluetoothLeAudioProxy) GetAllBroadcastMetadata( ctx context.Context, attributionSource content.AttributionSource, ) ([]BluetoothLeBroadcastMetadata, error)
func (*BluetoothLeAudioProxy) GetAudioLocation ¶
func (p *BluetoothLeAudioProxy) GetAudioLocation( ctx context.Context, device BluetoothDevice, attributionSource content.AttributionSource, ) (int32, error)
func (*BluetoothLeAudioProxy) GetBroadcastToUnicastFallbackGroup ¶ added in v0.0.7
func (p *BluetoothLeAudioProxy) GetBroadcastToUnicastFallbackGroup( ctx context.Context, attributionSource content.AttributionSource, ) (int32, error)
func (*BluetoothLeAudioProxy) GetCodecStatus ¶
func (p *BluetoothLeAudioProxy) GetCodecStatus( ctx context.Context, groupId int32, source content.AttributionSource, ) (BluetoothLeAudioCodecStatus, error)
func (*BluetoothLeAudioProxy) GetConnectedDevices ¶
func (p *BluetoothLeAudioProxy) GetConnectedDevices( ctx context.Context, attributionSource content.AttributionSource, ) ([]BluetoothDevice, error)
func (*BluetoothLeAudioProxy) GetConnectedGroupLeadDevice ¶
func (p *BluetoothLeAudioProxy) GetConnectedGroupLeadDevice( ctx context.Context, groupId int32, attributionSource content.AttributionSource, ) (BluetoothDevice, error)
func (*BluetoothLeAudioProxy) GetConnectionPolicy ¶
func (p *BluetoothLeAudioProxy) GetConnectionPolicy( ctx context.Context, device BluetoothDevice, attributionSource content.AttributionSource, ) (int32, error)
func (*BluetoothLeAudioProxy) GetConnectionState ¶
func (p *BluetoothLeAudioProxy) GetConnectionState( ctx context.Context, device BluetoothDevice, attributionSource content.AttributionSource, ) (int32, error)
func (*BluetoothLeAudioProxy) GetDevicesMatchingConnectionStates ¶
func (p *BluetoothLeAudioProxy) GetDevicesMatchingConnectionStates( ctx context.Context, states []int32, attributionSource content.AttributionSource, ) ([]BluetoothDevice, error)
func (*BluetoothLeAudioProxy) GetGroupId ¶
func (p *BluetoothLeAudioProxy) GetGroupId( ctx context.Context, device BluetoothDevice, attributionSource content.AttributionSource, ) (int32, error)
func (*BluetoothLeAudioProxy) GetMaximumNumberOfBroadcasts ¶
func (p *BluetoothLeAudioProxy) GetMaximumNumberOfBroadcasts( ctx context.Context, ) (int32, error)
func (*BluetoothLeAudioProxy) GetMaximumStreamsPerBroadcast ¶
func (p *BluetoothLeAudioProxy) GetMaximumStreamsPerBroadcast( ctx context.Context, ) (int32, error)
func (*BluetoothLeAudioProxy) GetMaximumSubgroupsPerBroadcast ¶
func (p *BluetoothLeAudioProxy) GetMaximumSubgroupsPerBroadcast( ctx context.Context, ) (int32, error)
func (*BluetoothLeAudioProxy) GroupAddNode ¶
func (p *BluetoothLeAudioProxy) GroupAddNode( ctx context.Context, group_id int32, device BluetoothDevice, attributionSource content.AttributionSource, ) (bool, error)
func (*BluetoothLeAudioProxy) GroupRemoveNode ¶
func (p *BluetoothLeAudioProxy) GroupRemoveNode( ctx context.Context, group_id int32, device BluetoothDevice, attributionSource content.AttributionSource, ) (bool, error)
func (*BluetoothLeAudioProxy) IsBroadcastActive ¶
func (p *BluetoothLeAudioProxy) IsBroadcastActive( ctx context.Context, attributionSource content.AttributionSource, ) (bool, error)
func (*BluetoothLeAudioProxy) IsInbandRingtoneEnabled ¶
func (p *BluetoothLeAudioProxy) IsInbandRingtoneEnabled( ctx context.Context, attributionSource content.AttributionSource, groupId int32, ) (bool, error)
func (*BluetoothLeAudioProxy) IsPlaying ¶
func (p *BluetoothLeAudioProxy) IsPlaying( ctx context.Context, broadcastId int32, attributionSource content.AttributionSource, ) (bool, error)
func (*BluetoothLeAudioProxy) RegisterCallback ¶
func (p *BluetoothLeAudioProxy) RegisterCallback( ctx context.Context, callback IBluetoothLeAudioCallback, attributionSource content.AttributionSource, ) error
func (*BluetoothLeAudioProxy) RegisterLeBroadcastCallback ¶
func (p *BluetoothLeAudioProxy) RegisterLeBroadcastCallback( ctx context.Context, callback IBluetoothLeBroadcastCallback, attributionSource content.AttributionSource, ) error
func (*BluetoothLeAudioProxy) SetActiveDevice ¶
func (p *BluetoothLeAudioProxy) SetActiveDevice( ctx context.Context, device BluetoothDevice, attributionSource content.AttributionSource, ) (bool, error)
func (*BluetoothLeAudioProxy) SetBroadcastToUnicastFallbackGroup ¶ added in v0.0.7
func (p *BluetoothLeAudioProxy) SetBroadcastToUnicastFallbackGroup( ctx context.Context, groupId int32, attributionSource content.AttributionSource, ) error
func (*BluetoothLeAudioProxy) SetCcidInformation ¶
func (p *BluetoothLeAudioProxy) SetCcidInformation( ctx context.Context, userUuid os.ParcelUuid, ccid int32, contextType int32, attributionSource content.AttributionSource, ) error
func (*BluetoothLeAudioProxy) SetCodecConfigPreference ¶
func (p *BluetoothLeAudioProxy) SetCodecConfigPreference( ctx context.Context, groupId int32, inputCodecConfig BluetoothLeAudioCodecConfig, outputCodecConfig BluetoothLeAudioCodecConfig, source content.AttributionSource, ) error
func (*BluetoothLeAudioProxy) SetConnectionPolicy ¶
func (p *BluetoothLeAudioProxy) SetConnectionPolicy( ctx context.Context, device BluetoothDevice, connectionPolicy int32, attributionSource content.AttributionSource, ) (bool, error)
func (*BluetoothLeAudioProxy) SetInCall ¶
func (p *BluetoothLeAudioProxy) SetInCall( ctx context.Context, inCall bool, attributionSource content.AttributionSource, ) error
func (*BluetoothLeAudioProxy) SetInactiveForHfpHandover ¶
func (p *BluetoothLeAudioProxy) SetInactiveForHfpHandover( ctx context.Context, device BluetoothDevice, attributionSource content.AttributionSource, ) error
func (*BluetoothLeAudioProxy) SetVolume ¶
func (p *BluetoothLeAudioProxy) SetVolume( ctx context.Context, volume int32, attributionSource content.AttributionSource, ) error
func (*BluetoothLeAudioProxy) StartBroadcast ¶
func (p *BluetoothLeAudioProxy) StartBroadcast( ctx context.Context, broadcastSettings BluetoothLeBroadcastSettings, attributionSource content.AttributionSource, ) error
func (*BluetoothLeAudioProxy) StopBroadcast ¶
func (p *BluetoothLeAudioProxy) StopBroadcast( ctx context.Context, broadcastId int32, attributionSource content.AttributionSource, ) error
func (*BluetoothLeAudioProxy) UnregisterCallback ¶
func (p *BluetoothLeAudioProxy) UnregisterCallback( ctx context.Context, callback IBluetoothLeAudioCallback, attributionSource content.AttributionSource, ) error
func (*BluetoothLeAudioProxy) UnregisterLeBroadcastCallback ¶
func (p *BluetoothLeAudioProxy) UnregisterLeBroadcastCallback( ctx context.Context, callback IBluetoothLeBroadcastCallback, attributionSource content.AttributionSource, ) error
func (*BluetoothLeAudioProxy) UpdateBroadcast ¶
func (p *BluetoothLeAudioProxy) UpdateBroadcast( ctx context.Context, broadcastId int32, broadcastSettings BluetoothLeBroadcastSettings, attributionSource content.AttributionSource, ) error
type BluetoothLeAudioStub ¶
type BluetoothLeAudioStub struct {
Impl IBluetoothLeAudio
Transport binder.VersionAwareTransport
}
BluetoothLeAudioStub dispatches incoming binder transactions to a typed IBluetoothLeAudio implementation.
func (*BluetoothLeAudioStub) Descriptor ¶
func (s *BluetoothLeAudioStub) Descriptor() string
func (*BluetoothLeAudioStub) OnTransaction ¶
func (s *BluetoothLeAudioStub) OnTransaction( ctx context.Context, code binder.TransactionCode, _data *parcel.Parcel, ) (*parcel.Parcel, error)
type BluetoothLeBroadcastAssistantCallbackProxy ¶
func NewBluetoothLeBroadcastAssistantCallbackProxy ¶
func NewBluetoothLeBroadcastAssistantCallbackProxy( remote binder.IBinder, ) *BluetoothLeBroadcastAssistantCallbackProxy
func (*BluetoothLeBroadcastAssistantCallbackProxy) AsBinder ¶
func (p *BluetoothLeBroadcastAssistantCallbackProxy) AsBinder() binder.IBinder
func (*BluetoothLeBroadcastAssistantCallbackProxy) OnReceiveStateChanged ¶
func (p *BluetoothLeBroadcastAssistantCallbackProxy) OnReceiveStateChanged( ctx context.Context, sink BluetoothDevice, sourceId int32, state BluetoothLeBroadcastReceiveState, ) error
func (*BluetoothLeBroadcastAssistantCallbackProxy) OnSearchStartFailed ¶
func (p *BluetoothLeBroadcastAssistantCallbackProxy) OnSearchStartFailed( ctx context.Context, reason int32, ) error
func (*BluetoothLeBroadcastAssistantCallbackProxy) OnSearchStarted ¶
func (p *BluetoothLeBroadcastAssistantCallbackProxy) OnSearchStarted( ctx context.Context, reason int32, ) error
func (*BluetoothLeBroadcastAssistantCallbackProxy) OnSearchStopFailed ¶
func (p *BluetoothLeBroadcastAssistantCallbackProxy) OnSearchStopFailed( ctx context.Context, reason int32, ) error
func (*BluetoothLeBroadcastAssistantCallbackProxy) OnSearchStopped ¶
func (p *BluetoothLeBroadcastAssistantCallbackProxy) OnSearchStopped( ctx context.Context, reason int32, ) error
func (*BluetoothLeBroadcastAssistantCallbackProxy) OnSourceAddFailed ¶
func (p *BluetoothLeBroadcastAssistantCallbackProxy) OnSourceAddFailed( ctx context.Context, sink BluetoothDevice, source BluetoothLeBroadcastMetadata, reason int32, ) error
func (*BluetoothLeBroadcastAssistantCallbackProxy) OnSourceAdded ¶
func (p *BluetoothLeBroadcastAssistantCallbackProxy) OnSourceAdded( ctx context.Context, sink BluetoothDevice, sourceId int32, reason int32, ) error
func (*BluetoothLeBroadcastAssistantCallbackProxy) OnSourceFound ¶
func (p *BluetoothLeBroadcastAssistantCallbackProxy) OnSourceFound( ctx context.Context, source BluetoothLeBroadcastMetadata, ) error
func (*BluetoothLeBroadcastAssistantCallbackProxy) OnSourceLost ¶
func (p *BluetoothLeBroadcastAssistantCallbackProxy) OnSourceLost( ctx context.Context, broadcastId int32, ) error
func (*BluetoothLeBroadcastAssistantCallbackProxy) OnSourceModified ¶
func (p *BluetoothLeBroadcastAssistantCallbackProxy) OnSourceModified( ctx context.Context, sink BluetoothDevice, sourceId int32, reason int32, ) error
func (*BluetoothLeBroadcastAssistantCallbackProxy) OnSourceModifyFailed ¶
func (p *BluetoothLeBroadcastAssistantCallbackProxy) OnSourceModifyFailed( ctx context.Context, sink BluetoothDevice, sourceId int32, reason int32, ) error
func (*BluetoothLeBroadcastAssistantCallbackProxy) OnSourceRemoveFailed ¶
func (p *BluetoothLeBroadcastAssistantCallbackProxy) OnSourceRemoveFailed( ctx context.Context, sink BluetoothDevice, sourceId int32, reason int32, ) error
func (*BluetoothLeBroadcastAssistantCallbackProxy) OnSourceRemoved ¶
func (p *BluetoothLeBroadcastAssistantCallbackProxy) OnSourceRemoved( ctx context.Context, sink BluetoothDevice, sourceId int32, reason int32, ) error
type BluetoothLeBroadcastAssistantCallbackStub ¶
type BluetoothLeBroadcastAssistantCallbackStub struct {
Impl IBluetoothLeBroadcastAssistantCallback
Transport binder.VersionAwareTransport
}
BluetoothLeBroadcastAssistantCallbackStub dispatches incoming binder transactions to a typed IBluetoothLeBroadcastAssistantCallback implementation.
func (*BluetoothLeBroadcastAssistantCallbackStub) Descriptor ¶
func (s *BluetoothLeBroadcastAssistantCallbackStub) Descriptor() string
func (*BluetoothLeBroadcastAssistantCallbackStub) OnTransaction ¶
func (s *BluetoothLeBroadcastAssistantCallbackStub) OnTransaction( ctx context.Context, code binder.TransactionCode, _data *parcel.Parcel, ) (*parcel.Parcel, error)
type BluetoothLeBroadcastAssistantProxy ¶
func NewBluetoothLeBroadcastAssistantProxy ¶
func NewBluetoothLeBroadcastAssistantProxy( remote binder.IBinder, ) *BluetoothLeBroadcastAssistantProxy
func (*BluetoothLeBroadcastAssistantProxy) AddSource ¶
func (p *BluetoothLeBroadcastAssistantProxy) AddSource( ctx context.Context, sink BluetoothDevice, sourceMetadata BluetoothLeBroadcastMetadata, isGroupOp bool, source content.AttributionSource, ) error
func (*BluetoothLeBroadcastAssistantProxy) AsBinder ¶
func (p *BluetoothLeBroadcastAssistantProxy) AsBinder() binder.IBinder
func (*BluetoothLeBroadcastAssistantProxy) GetAllSources ¶
func (p *BluetoothLeBroadcastAssistantProxy) GetAllSources( ctx context.Context, sink BluetoothDevice, source content.AttributionSource, ) ([]BluetoothLeBroadcastReceiveState, error)
func (*BluetoothLeBroadcastAssistantProxy) GetConnectedDevices ¶
func (p *BluetoothLeBroadcastAssistantProxy) GetConnectedDevices( ctx context.Context, source content.AttributionSource, ) ([]BluetoothDevice, error)
func (*BluetoothLeBroadcastAssistantProxy) GetConnectionPolicy ¶
func (p *BluetoothLeBroadcastAssistantProxy) GetConnectionPolicy( ctx context.Context, device BluetoothDevice, source content.AttributionSource, ) (int32, error)
func (*BluetoothLeBroadcastAssistantProxy) GetConnectionState ¶
func (p *BluetoothLeBroadcastAssistantProxy) GetConnectionState( ctx context.Context, sink BluetoothDevice, source content.AttributionSource, ) (int32, error)
func (*BluetoothLeBroadcastAssistantProxy) GetDevicesMatchingConnectionStates ¶
func (p *BluetoothLeBroadcastAssistantProxy) GetDevicesMatchingConnectionStates( ctx context.Context, states []int32, source content.AttributionSource, ) ([]BluetoothDevice, error)
func (*BluetoothLeBroadcastAssistantProxy) GetMaximumSourceCapacity ¶
func (p *BluetoothLeBroadcastAssistantProxy) GetMaximumSourceCapacity( ctx context.Context, sink BluetoothDevice, source content.AttributionSource, ) (int32, error)
func (*BluetoothLeBroadcastAssistantProxy) GetSourceMetadata ¶ added in v0.0.7
func (p *BluetoothLeBroadcastAssistantProxy) GetSourceMetadata( ctx context.Context, sink BluetoothDevice, sourceId int32, source content.AttributionSource, ) (BluetoothLeBroadcastMetadata, error)
func (*BluetoothLeBroadcastAssistantProxy) IsSearchInProgress ¶
func (p *BluetoothLeBroadcastAssistantProxy) IsSearchInProgress( ctx context.Context, source content.AttributionSource, ) (bool, error)
func (*BluetoothLeBroadcastAssistantProxy) ModifySource ¶
func (p *BluetoothLeBroadcastAssistantProxy) ModifySource( ctx context.Context, sink BluetoothDevice, sourceId int32, updatedMetadata BluetoothLeBroadcastMetadata, source content.AttributionSource, ) error
func (*BluetoothLeBroadcastAssistantProxy) RegisterCallback ¶
func (p *BluetoothLeBroadcastAssistantProxy) RegisterCallback( ctx context.Context, cb IBluetoothLeBroadcastAssistantCallback, source content.AttributionSource, ) error
func (*BluetoothLeBroadcastAssistantProxy) RemoveSource ¶
func (p *BluetoothLeBroadcastAssistantProxy) RemoveSource( ctx context.Context, sink BluetoothDevice, sourceId int32, source content.AttributionSource, ) error
func (*BluetoothLeBroadcastAssistantProxy) SetConnectionPolicy ¶
func (p *BluetoothLeBroadcastAssistantProxy) SetConnectionPolicy( ctx context.Context, device BluetoothDevice, connectionPolicy int32, source content.AttributionSource, ) (bool, error)
func (*BluetoothLeBroadcastAssistantProxy) StartSearchingForSources ¶
func (p *BluetoothLeBroadcastAssistantProxy) StartSearchingForSources( ctx context.Context, filters []le.ScanFilter, source content.AttributionSource, ) error
func (*BluetoothLeBroadcastAssistantProxy) StopSearchingForSources ¶
func (p *BluetoothLeBroadcastAssistantProxy) StopSearchingForSources( ctx context.Context, source content.AttributionSource, ) error
func (*BluetoothLeBroadcastAssistantProxy) UnregisterCallback ¶
func (p *BluetoothLeBroadcastAssistantProxy) UnregisterCallback( ctx context.Context, cb IBluetoothLeBroadcastAssistantCallback, source content.AttributionSource, ) error
type BluetoothLeBroadcastAssistantStub ¶
type BluetoothLeBroadcastAssistantStub struct {
Impl IBluetoothLeBroadcastAssistant
Transport binder.VersionAwareTransport
}
BluetoothLeBroadcastAssistantStub dispatches incoming binder transactions to a typed IBluetoothLeBroadcastAssistant implementation.
func (*BluetoothLeBroadcastAssistantStub) Descriptor ¶
func (s *BluetoothLeBroadcastAssistantStub) Descriptor() string
func (*BluetoothLeBroadcastAssistantStub) OnTransaction ¶
func (s *BluetoothLeBroadcastAssistantStub) OnTransaction( ctx context.Context, code binder.TransactionCode, _data *parcel.Parcel, ) (*parcel.Parcel, error)
type BluetoothLeBroadcastCallbackProxy ¶
func NewBluetoothLeBroadcastCallbackProxy ¶
func NewBluetoothLeBroadcastCallbackProxy( remote binder.IBinder, ) *BluetoothLeBroadcastCallbackProxy
func (*BluetoothLeBroadcastCallbackProxy) AsBinder ¶
func (p *BluetoothLeBroadcastCallbackProxy) AsBinder() binder.IBinder
func (*BluetoothLeBroadcastCallbackProxy) OnBroadcastMetadataChanged ¶
func (p *BluetoothLeBroadcastCallbackProxy) OnBroadcastMetadataChanged( ctx context.Context, broadcastId int32, metadata BluetoothLeBroadcastMetadata, ) error
func (*BluetoothLeBroadcastCallbackProxy) OnBroadcastStartFailed ¶
func (p *BluetoothLeBroadcastCallbackProxy) OnBroadcastStartFailed( ctx context.Context, reason int32, ) error
func (*BluetoothLeBroadcastCallbackProxy) OnBroadcastStarted ¶
func (*BluetoothLeBroadcastCallbackProxy) OnBroadcastStopFailed ¶
func (p *BluetoothLeBroadcastCallbackProxy) OnBroadcastStopFailed( ctx context.Context, reason int32, ) error
func (*BluetoothLeBroadcastCallbackProxy) OnBroadcastStopped ¶
func (*BluetoothLeBroadcastCallbackProxy) OnBroadcastUpdateFailed ¶
func (*BluetoothLeBroadcastCallbackProxy) OnBroadcastUpdated ¶
func (*BluetoothLeBroadcastCallbackProxy) OnPlaybackStarted ¶
func (*BluetoothLeBroadcastCallbackProxy) OnPlaybackStopped ¶
type BluetoothLeBroadcastCallbackStub ¶
type BluetoothLeBroadcastCallbackStub struct {
Impl IBluetoothLeBroadcastCallback
Transport binder.VersionAwareTransport
}
BluetoothLeBroadcastCallbackStub dispatches incoming binder transactions to a typed IBluetoothLeBroadcastCallback implementation.
func (*BluetoothLeBroadcastCallbackStub) Descriptor ¶
func (s *BluetoothLeBroadcastCallbackStub) Descriptor() string
func (*BluetoothLeBroadcastCallbackStub) OnTransaction ¶
func (s *BluetoothLeBroadcastCallbackStub) OnTransaction( ctx context.Context, code binder.TransactionCode, _data *parcel.Parcel, ) (*parcel.Parcel, error)
type BluetoothLeBroadcastMetadata ¶
type BluetoothLeBroadcastMetadata struct {
SourceAddressType int32
SourceAdvertisingSid int32
BroadcastId int32
PaSyncInterval int32
IsEncrypted bool
PresentationDelayMicros int32
IsPublicBroadcast bool
AudioConfigQuality int32
Rssi int32
}
func (*BluetoothLeBroadcastMetadata) MarshalParcel ¶
func (s *BluetoothLeBroadcastMetadata) MarshalParcel( p *parcel.Parcel, ) error
func (*BluetoothLeBroadcastMetadata) UnmarshalParcel ¶
func (s *BluetoothLeBroadcastMetadata) UnmarshalParcel( p *parcel.Parcel, ) error
type BluetoothLeBroadcastReceiveState ¶
type BluetoothLeBroadcastReceiveState struct {
SourceId int32
SourceAddressType int32
SourceAdvertisingSid int32
BroadcastId int32
PaSyncState int32
BigEncryptionState int32
NumSubgroups int32
}
func (*BluetoothLeBroadcastReceiveState) MarshalParcel ¶
func (s *BluetoothLeBroadcastReceiveState) MarshalParcel( p *parcel.Parcel, ) error
func (*BluetoothLeBroadcastReceiveState) UnmarshalParcel ¶
func (s *BluetoothLeBroadcastReceiveState) UnmarshalParcel( p *parcel.Parcel, ) error
type BluetoothLeBroadcastSettings ¶
type BluetoothLeBroadcastSettings struct {
IsPublicBroadcast bool
}
func (*BluetoothLeBroadcastSettings) MarshalParcel ¶
func (s *BluetoothLeBroadcastSettings) MarshalParcel( p *parcel.Parcel, ) error
func (*BluetoothLeBroadcastSettings) UnmarshalParcel ¶
func (s *BluetoothLeBroadcastSettings) UnmarshalParcel( p *parcel.Parcel, ) error
type BluetoothLeCall ¶
func (*BluetoothLeCall) MarshalParcel ¶
func (s *BluetoothLeCall) MarshalParcel( p *parcel.Parcel, ) error
func (*BluetoothLeCall) UnmarshalParcel ¶
func (s *BluetoothLeCall) UnmarshalParcel( p *parcel.Parcel, ) error
type BluetoothLeCallControlCallbackProxy ¶
func NewBluetoothLeCallControlCallbackProxy ¶
func NewBluetoothLeCallControlCallbackProxy( remote binder.IBinder, ) *BluetoothLeCallControlCallbackProxy
func (*BluetoothLeCallControlCallbackProxy) AsBinder ¶
func (p *BluetoothLeCallControlCallbackProxy) AsBinder() binder.IBinder
func (*BluetoothLeCallControlCallbackProxy) OnAcceptCall ¶
func (p *BluetoothLeCallControlCallbackProxy) OnAcceptCall( ctx context.Context, requestId int32, uuid os.ParcelUuid, ) error
func (*BluetoothLeCallControlCallbackProxy) OnBearerRegistered ¶
func (p *BluetoothLeCallControlCallbackProxy) OnBearerRegistered( ctx context.Context, ccid int32, ) error
func (*BluetoothLeCallControlCallbackProxy) OnHoldCall ¶
func (p *BluetoothLeCallControlCallbackProxy) OnHoldCall( ctx context.Context, requestId int32, uuid os.ParcelUuid, ) error
func (*BluetoothLeCallControlCallbackProxy) OnJoinCalls ¶
func (p *BluetoothLeCallControlCallbackProxy) OnJoinCalls( ctx context.Context, requestId int32, uuids []os.ParcelUuid, ) error
func (*BluetoothLeCallControlCallbackProxy) OnPlaceCall ¶
func (p *BluetoothLeCallControlCallbackProxy) OnPlaceCall( ctx context.Context, requestId int32, uuid os.ParcelUuid, uri string, ) error
func (*BluetoothLeCallControlCallbackProxy) OnTerminateCall ¶
func (p *BluetoothLeCallControlCallbackProxy) OnTerminateCall( ctx context.Context, requestId int32, uuid os.ParcelUuid, ) error
func (*BluetoothLeCallControlCallbackProxy) OnUnholdCall ¶
func (p *BluetoothLeCallControlCallbackProxy) OnUnholdCall( ctx context.Context, requestId int32, uuid os.ParcelUuid, ) error
type BluetoothLeCallControlCallbackStub ¶
type BluetoothLeCallControlCallbackStub struct {
Impl IBluetoothLeCallControlCallback
Transport binder.VersionAwareTransport
}
BluetoothLeCallControlCallbackStub dispatches incoming binder transactions to a typed IBluetoothLeCallControlCallback implementation.
func (*BluetoothLeCallControlCallbackStub) Descriptor ¶
func (s *BluetoothLeCallControlCallbackStub) Descriptor() string
func (*BluetoothLeCallControlCallbackStub) OnTransaction ¶
func (s *BluetoothLeCallControlCallbackStub) OnTransaction( ctx context.Context, code binder.TransactionCode, _data *parcel.Parcel, ) (*parcel.Parcel, error)
type BluetoothLeCallControlProxy ¶
func NewBluetoothLeCallControlProxy ¶
func NewBluetoothLeCallControlProxy( remote binder.IBinder, ) *BluetoothLeCallControlProxy
func (*BluetoothLeCallControlProxy) AsBinder ¶
func (p *BluetoothLeCallControlProxy) AsBinder() binder.IBinder
func (*BluetoothLeCallControlProxy) CallAdded ¶
func (p *BluetoothLeCallControlProxy) CallAdded( ctx context.Context, ccid int32, call BluetoothLeCall, attributionSource content.AttributionSource, ) error
func (*BluetoothLeCallControlProxy) CallRemoved ¶
func (p *BluetoothLeCallControlProxy) CallRemoved( ctx context.Context, ccid int32, callId os.ParcelUuid, reason int32, attributionSource content.AttributionSource, ) error
func (*BluetoothLeCallControlProxy) CallStateChanged ¶
func (p *BluetoothLeCallControlProxy) CallStateChanged( ctx context.Context, ccid int32, callId os.ParcelUuid, state int32, attributionSource content.AttributionSource, ) error
func (*BluetoothLeCallControlProxy) CurrentCallsList ¶
func (p *BluetoothLeCallControlProxy) CurrentCallsList( ctx context.Context, ccid int32, calls []BluetoothLeCall, attributionSource content.AttributionSource, ) error
func (*BluetoothLeCallControlProxy) NetworkStateChanged ¶
func (p *BluetoothLeCallControlProxy) NetworkStateChanged( ctx context.Context, ccid int32, provider string, technology int32, attributionSource content.AttributionSource, ) error
func (*BluetoothLeCallControlProxy) RegisterBearer ¶
func (p *BluetoothLeCallControlProxy) RegisterBearer( ctx context.Context, token string, callback IBluetoothLeCallControlCallback, uci string, uriSchemes []string, capabilities int32, provider string, technology int32, attributionSource content.AttributionSource, ) error
func (*BluetoothLeCallControlProxy) RequestResult ¶
func (p *BluetoothLeCallControlProxy) RequestResult( ctx context.Context, ccid int32, requestId int32, result int32, attributionSource content.AttributionSource, ) error
func (*BluetoothLeCallControlProxy) UnregisterBearer ¶
func (p *BluetoothLeCallControlProxy) UnregisterBearer( ctx context.Context, token string, attributionSource content.AttributionSource, ) error
type BluetoothLeCallControlStub ¶
type BluetoothLeCallControlStub struct {
Impl IBluetoothLeCallControl
Transport binder.VersionAwareTransport
}
BluetoothLeCallControlStub dispatches incoming binder transactions to a typed IBluetoothLeCallControl implementation.
func (*BluetoothLeCallControlStub) Descriptor ¶
func (s *BluetoothLeCallControlStub) Descriptor() string
func (*BluetoothLeCallControlStub) OnTransaction ¶
func (s *BluetoothLeCallControlStub) OnTransaction( ctx context.Context, code binder.TransactionCode, _data *parcel.Parcel, ) (*parcel.Parcel, error)
type BluetoothManagerCallbackProxy ¶
func NewBluetoothManagerCallbackProxy ¶
func NewBluetoothManagerCallbackProxy( remote binder.IBinder, ) *BluetoothManagerCallbackProxy
func (*BluetoothManagerCallbackProxy) AsBinder ¶
func (p *BluetoothManagerCallbackProxy) AsBinder() binder.IBinder
func (*BluetoothManagerCallbackProxy) OnBluetoothOff ¶
func (p *BluetoothManagerCallbackProxy) OnBluetoothOff( ctx context.Context, ) error
func (*BluetoothManagerCallbackProxy) OnBluetoothOn ¶
func (p *BluetoothManagerCallbackProxy) OnBluetoothOn( ctx context.Context, ) error
func (*BluetoothManagerCallbackProxy) OnBluetoothServiceDown ¶
func (p *BluetoothManagerCallbackProxy) OnBluetoothServiceDown( ctx context.Context, ) error
func (*BluetoothManagerCallbackProxy) OnBluetoothServiceUp ¶
type BluetoothManagerCallbackStub ¶
type BluetoothManagerCallbackStub struct {
Impl IBluetoothManagerCallback
Transport binder.VersionAwareTransport
}
BluetoothManagerCallbackStub dispatches incoming binder transactions to a typed IBluetoothManagerCallback implementation.
func (*BluetoothManagerCallbackStub) Descriptor ¶
func (s *BluetoothManagerCallbackStub) Descriptor() string
func (*BluetoothManagerCallbackStub) OnTransaction ¶
func (s *BluetoothManagerCallbackStub) OnTransaction( ctx context.Context, code binder.TransactionCode, _data *parcel.Parcel, ) (*parcel.Parcel, error)
type BluetoothManagerProxy ¶
func NewBluetoothManagerProxy ¶
func NewBluetoothManagerProxy( remote binder.IBinder, ) *BluetoothManagerProxy
func (*BluetoothManagerProxy) AsBinder ¶
func (p *BluetoothManagerProxy) AsBinder() binder.IBinder
func (*BluetoothManagerProxy) Disable ¶
func (p *BluetoothManagerProxy) Disable( ctx context.Context, attributionSource content.AttributionSource, persist bool, ) (bool, error)
func (*BluetoothManagerProxy) DisableBle ¶
func (p *BluetoothManagerProxy) DisableBle( ctx context.Context, attributionSource content.AttributionSource, b binder.IBinder, ) (bool, error)
func (*BluetoothManagerProxy) Enable ¶
func (p *BluetoothManagerProxy) Enable( ctx context.Context, attributionSource content.AttributionSource, ) (bool, error)
func (*BluetoothManagerProxy) EnableBle ¶
func (p *BluetoothManagerProxy) EnableBle( ctx context.Context, attributionSource content.AttributionSource, b binder.IBinder, ) (bool, error)
func (*BluetoothManagerProxy) EnableNoAutoConnect ¶
func (p *BluetoothManagerProxy) EnableNoAutoConnect( ctx context.Context, attributionSource content.AttributionSource, ) (bool, error)
func (*BluetoothManagerProxy) FactoryReset ¶ added in v0.0.7
func (p *BluetoothManagerProxy) FactoryReset( ctx context.Context, attributionSource content.AttributionSource, ) (bool, error)
func (*BluetoothManagerProxy) GetAddress ¶
func (p *BluetoothManagerProxy) GetAddress( ctx context.Context, attributionSource content.AttributionSource, ) (string, error)
func (*BluetoothManagerProxy) GetBtHciSnoopLogMode ¶
func (p *BluetoothManagerProxy) GetBtHciSnoopLogMode( ctx context.Context, ) (int32, error)
func (*BluetoothManagerProxy) GetName ¶
func (p *BluetoothManagerProxy) GetName( ctx context.Context, attributionSource content.AttributionSource, ) (string, error)
func (*BluetoothManagerProxy) GetServiceMessenger ¶ added in v0.0.7
func (*BluetoothManagerProxy) GetState ¶
func (p *BluetoothManagerProxy) GetState( ctx context.Context, ) (int32, error)
func (*BluetoothManagerProxy) IsAutoOnEnabled ¶
func (p *BluetoothManagerProxy) IsAutoOnEnabled( ctx context.Context, ) (bool, error)
func (*BluetoothManagerProxy) IsAutoOnSupported ¶
func (p *BluetoothManagerProxy) IsAutoOnSupported( ctx context.Context, ) (bool, error)
func (*BluetoothManagerProxy) IsBleScanAvailable ¶ added in v0.0.7
func (p *BluetoothManagerProxy) IsBleScanAvailable( ctx context.Context, ) (bool, error)
func (*BluetoothManagerProxy) IsHearingAidProfileSupported ¶
func (p *BluetoothManagerProxy) IsHearingAidProfileSupported( ctx context.Context, ) (bool, error)
func (*BluetoothManagerProxy) RegisterAdapter ¶
func (p *BluetoothManagerProxy) RegisterAdapter( ctx context.Context, callback IBluetoothManagerCallback, ) (binder.IBinder, error)
func (*BluetoothManagerProxy) SetAutoOnEnabled ¶
func (p *BluetoothManagerProxy) SetAutoOnEnabled( ctx context.Context, status bool, ) error
func (*BluetoothManagerProxy) SetBtHciSnoopLogMode ¶
func (*BluetoothManagerProxy) UnregisterAdapter ¶
func (p *BluetoothManagerProxy) UnregisterAdapter( ctx context.Context, callback IBluetoothManagerCallback, ) error
type BluetoothManagerStub ¶
type BluetoothManagerStub struct {
Impl IBluetoothManager
Transport binder.VersionAwareTransport
}
BluetoothManagerStub dispatches incoming binder transactions to a typed IBluetoothManager implementation.
func (*BluetoothManagerStub) Descriptor ¶
func (s *BluetoothManagerStub) Descriptor() string
func (*BluetoothManagerStub) OnTransaction ¶
func (s *BluetoothManagerStub) OnTransaction( ctx context.Context, code binder.TransactionCode, _data *parcel.Parcel, ) (*parcel.Parcel, error)
type BluetoothMapClientProxy ¶
func NewBluetoothMapClientProxy ¶
func NewBluetoothMapClientProxy( remote binder.IBinder, ) *BluetoothMapClientProxy
func (*BluetoothMapClientProxy) AsBinder ¶
func (p *BluetoothMapClientProxy) AsBinder() binder.IBinder
func (*BluetoothMapClientProxy) Connect ¶
func (p *BluetoothMapClientProxy) Connect( ctx context.Context, device BluetoothDevice, attributionSource content.AttributionSource, ) (bool, error)
func (*BluetoothMapClientProxy) Disconnect ¶
func (p *BluetoothMapClientProxy) Disconnect( ctx context.Context, device BluetoothDevice, attributionSource content.AttributionSource, ) (bool, error)
func (*BluetoothMapClientProxy) GetConnectedDevices ¶
func (p *BluetoothMapClientProxy) GetConnectedDevices( ctx context.Context, attributionSource content.AttributionSource, ) ([]BluetoothDevice, error)
func (*BluetoothMapClientProxy) GetConnectionPolicy ¶
func (p *BluetoothMapClientProxy) GetConnectionPolicy( ctx context.Context, device BluetoothDevice, attributionSource content.AttributionSource, ) (int32, error)
func (*BluetoothMapClientProxy) GetConnectionState ¶
func (p *BluetoothMapClientProxy) GetConnectionState( ctx context.Context, device BluetoothDevice, attributionSource content.AttributionSource, ) (int32, error)
func (*BluetoothMapClientProxy) GetDevicesMatchingConnectionStates ¶
func (p *BluetoothMapClientProxy) GetDevicesMatchingConnectionStates( ctx context.Context, states []int32, attributionSource content.AttributionSource, ) ([]BluetoothDevice, error)
func (*BluetoothMapClientProxy) SendMessage ¶
func (p *BluetoothMapClientProxy) SendMessage( ctx context.Context, device BluetoothDevice, contacts []net.Uri, message string, sentIntent types.PendingIntent, deliveryIntent types.PendingIntent, attributionSource content.AttributionSource, ) (bool, error)
func (*BluetoothMapClientProxy) SetConnectionPolicy ¶
func (p *BluetoothMapClientProxy) SetConnectionPolicy( ctx context.Context, device BluetoothDevice, connectionPolicy int32, attributionSource content.AttributionSource, ) (bool, error)
type BluetoothMapClientStub ¶
type BluetoothMapClientStub struct {
Impl IBluetoothMapClient
Transport binder.VersionAwareTransport
}
BluetoothMapClientStub dispatches incoming binder transactions to a typed IBluetoothMapClient implementation.
func (*BluetoothMapClientStub) Descriptor ¶
func (s *BluetoothMapClientStub) Descriptor() string
func (*BluetoothMapClientStub) OnTransaction ¶
func (s *BluetoothMapClientStub) OnTransaction( ctx context.Context, code binder.TransactionCode, _data *parcel.Parcel, ) (*parcel.Parcel, error)
type BluetoothMapProxy ¶
func NewBluetoothMapProxy ¶
func NewBluetoothMapProxy( remote binder.IBinder, ) *BluetoothMapProxy
func (*BluetoothMapProxy) AsBinder ¶
func (p *BluetoothMapProxy) AsBinder() binder.IBinder
func (*BluetoothMapProxy) Disconnect ¶
func (p *BluetoothMapProxy) Disconnect( ctx context.Context, device BluetoothDevice, attributionSource content.AttributionSource, ) (bool, error)
func (*BluetoothMapProxy) GetClient ¶
func (p *BluetoothMapProxy) GetClient( ctx context.Context, attributionSource content.AttributionSource, ) (BluetoothDevice, error)
func (*BluetoothMapProxy) GetConnectedDevices ¶
func (p *BluetoothMapProxy) GetConnectedDevices( ctx context.Context, attributionSource content.AttributionSource, ) ([]BluetoothDevice, error)
func (*BluetoothMapProxy) GetConnectionPolicy ¶
func (p *BluetoothMapProxy) GetConnectionPolicy( ctx context.Context, device BluetoothDevice, attributionSource content.AttributionSource, ) (int32, error)
func (*BluetoothMapProxy) GetConnectionState ¶
func (p *BluetoothMapProxy) GetConnectionState( ctx context.Context, device BluetoothDevice, attributionSource content.AttributionSource, ) (int32, error)
func (*BluetoothMapProxy) GetDevicesMatchingConnectionStates ¶
func (p *BluetoothMapProxy) GetDevicesMatchingConnectionStates( ctx context.Context, states []int32, attributionSource content.AttributionSource, ) ([]BluetoothDevice, error)
func (*BluetoothMapProxy) GetState ¶
func (p *BluetoothMapProxy) GetState( ctx context.Context, attributionSource content.AttributionSource, ) (int32, error)
func (*BluetoothMapProxy) IsConnected ¶
func (p *BluetoothMapProxy) IsConnected( ctx context.Context, device BluetoothDevice, attributionSource content.AttributionSource, ) (bool, error)
func (*BluetoothMapProxy) SetConnectionPolicy ¶
func (p *BluetoothMapProxy) SetConnectionPolicy( ctx context.Context, device BluetoothDevice, connectionPolicy int32, attributionSource content.AttributionSource, ) (bool, error)
type BluetoothMapStub ¶
type BluetoothMapStub struct {
Impl IBluetoothMap
Transport binder.VersionAwareTransport
}
BluetoothMapStub dispatches incoming binder transactions to a typed IBluetoothMap implementation.
func (*BluetoothMapStub) Descriptor ¶
func (s *BluetoothMapStub) Descriptor() string
func (*BluetoothMapStub) OnTransaction ¶
func (s *BluetoothMapStub) OnTransaction( ctx context.Context, code binder.TransactionCode, _data *parcel.Parcel, ) (*parcel.Parcel, error)
type BluetoothMcpServiceManagerProxy ¶
func NewBluetoothMcpServiceManagerProxy ¶
func NewBluetoothMcpServiceManagerProxy( remote binder.IBinder, ) *BluetoothMcpServiceManagerProxy
func (*BluetoothMcpServiceManagerProxy) AsBinder ¶
func (p *BluetoothMcpServiceManagerProxy) AsBinder() binder.IBinder
func (*BluetoothMcpServiceManagerProxy) SetDeviceAuthorized ¶
func (p *BluetoothMcpServiceManagerProxy) SetDeviceAuthorized( ctx context.Context, device BluetoothDevice, isAuthorized bool, source content.AttributionSource, ) error
type BluetoothMcpServiceManagerStub ¶
type BluetoothMcpServiceManagerStub struct {
Impl IBluetoothMcpServiceManager
Transport binder.VersionAwareTransport
}
BluetoothMcpServiceManagerStub dispatches incoming binder transactions to a typed IBluetoothMcpServiceManager implementation.
func (*BluetoothMcpServiceManagerStub) Descriptor ¶
func (s *BluetoothMcpServiceManagerStub) Descriptor() string
func (*BluetoothMcpServiceManagerStub) OnTransaction ¶
func (s *BluetoothMcpServiceManagerStub) OnTransaction( ctx context.Context, code binder.TransactionCode, _data *parcel.Parcel, ) (*parcel.Parcel, error)
type BluetoothMetadataListenerProxy ¶
func NewBluetoothMetadataListenerProxy ¶
func NewBluetoothMetadataListenerProxy( remote binder.IBinder, ) *BluetoothMetadataListenerProxy
func (*BluetoothMetadataListenerProxy) AsBinder ¶
func (p *BluetoothMetadataListenerProxy) AsBinder() binder.IBinder
func (*BluetoothMetadataListenerProxy) OnMetadataChanged ¶
func (p *BluetoothMetadataListenerProxy) OnMetadataChanged( ctx context.Context, devices BluetoothDevice, key int32, value []byte, ) error
type BluetoothMetadataListenerStub ¶
type BluetoothMetadataListenerStub struct {
Impl IBluetoothMetadataListener
Transport binder.VersionAwareTransport
}
BluetoothMetadataListenerStub dispatches incoming binder transactions to a typed IBluetoothMetadataListener implementation.
func (*BluetoothMetadataListenerStub) Descriptor ¶
func (s *BluetoothMetadataListenerStub) Descriptor() string
func (*BluetoothMetadataListenerStub) OnTransaction ¶
func (s *BluetoothMetadataListenerStub) OnTransaction( ctx context.Context, code binder.TransactionCode, _data *parcel.Parcel, ) (*parcel.Parcel, error)
type BluetoothOobDataCallbackProxy ¶
func NewBluetoothOobDataCallbackProxy ¶
func NewBluetoothOobDataCallbackProxy( remote binder.IBinder, ) *BluetoothOobDataCallbackProxy
func (*BluetoothOobDataCallbackProxy) AsBinder ¶
func (p *BluetoothOobDataCallbackProxy) AsBinder() binder.IBinder
type BluetoothOobDataCallbackStub ¶
type BluetoothOobDataCallbackStub struct {
Impl IBluetoothOobDataCallback
Transport binder.VersionAwareTransport
}
BluetoothOobDataCallbackStub dispatches incoming binder transactions to a typed IBluetoothOobDataCallback implementation.
func (*BluetoothOobDataCallbackStub) Descriptor ¶
func (s *BluetoothOobDataCallbackStub) Descriptor() string
func (*BluetoothOobDataCallbackStub) OnTransaction ¶
func (s *BluetoothOobDataCallbackStub) OnTransaction( ctx context.Context, code binder.TransactionCode, _data *parcel.Parcel, ) (*parcel.Parcel, error)
type BluetoothPanCallbackProxy ¶
func NewBluetoothPanCallbackProxy ¶
func NewBluetoothPanCallbackProxy( remote binder.IBinder, ) *BluetoothPanCallbackProxy
func (*BluetoothPanCallbackProxy) AsBinder ¶
func (p *BluetoothPanCallbackProxy) AsBinder() binder.IBinder
func (*BluetoothPanCallbackProxy) OnAvailable ¶
func (p *BluetoothPanCallbackProxy) OnAvailable( ctx context.Context, iface string, ) error
func (*BluetoothPanCallbackProxy) OnUnavailable ¶
func (p *BluetoothPanCallbackProxy) OnUnavailable( ctx context.Context, ) error
type BluetoothPanCallbackStub ¶
type BluetoothPanCallbackStub struct {
Impl IBluetoothPanCallback
Transport binder.VersionAwareTransport
}
BluetoothPanCallbackStub dispatches incoming binder transactions to a typed IBluetoothPanCallback implementation.
func (*BluetoothPanCallbackStub) Descriptor ¶
func (s *BluetoothPanCallbackStub) Descriptor() string
func (*BluetoothPanCallbackStub) OnTransaction ¶
func (s *BluetoothPanCallbackStub) OnTransaction( ctx context.Context, code binder.TransactionCode, _data *parcel.Parcel, ) (*parcel.Parcel, error)
type BluetoothPanProxy ¶
func NewBluetoothPanProxy ¶
func NewBluetoothPanProxy( remote binder.IBinder, ) *BluetoothPanProxy
func (*BluetoothPanProxy) AsBinder ¶
func (p *BluetoothPanProxy) AsBinder() binder.IBinder
func (*BluetoothPanProxy) Connect ¶
func (p *BluetoothPanProxy) Connect( ctx context.Context, device BluetoothDevice, attributionSource content.AttributionSource, ) (bool, error)
func (*BluetoothPanProxy) Disconnect ¶
func (p *BluetoothPanProxy) Disconnect( ctx context.Context, device BluetoothDevice, attributionSource content.AttributionSource, ) (bool, error)
func (*BluetoothPanProxy) GetConnectedDevices ¶
func (p *BluetoothPanProxy) GetConnectedDevices( ctx context.Context, attributionSource content.AttributionSource, ) ([]BluetoothDevice, error)
func (*BluetoothPanProxy) GetConnectionState ¶
func (p *BluetoothPanProxy) GetConnectionState( ctx context.Context, device BluetoothDevice, attributionSource content.AttributionSource, ) (int32, error)
func (*BluetoothPanProxy) GetDevicesMatchingConnectionStates ¶
func (p *BluetoothPanProxy) GetDevicesMatchingConnectionStates( ctx context.Context, states []int32, attributionSource content.AttributionSource, ) ([]BluetoothDevice, error)
func (*BluetoothPanProxy) IsTetheringOn ¶
func (p *BluetoothPanProxy) IsTetheringOn( ctx context.Context, attributionSource content.AttributionSource, ) (bool, error)
func (*BluetoothPanProxy) SetBluetoothTethering ¶
func (p *BluetoothPanProxy) SetBluetoothTethering( ctx context.Context, callback IBluetoothPanCallback, id int32, value bool, attributionSource content.AttributionSource, ) error
func (*BluetoothPanProxy) SetConnectionPolicy ¶
func (p *BluetoothPanProxy) SetConnectionPolicy( ctx context.Context, device BluetoothDevice, connectionPolicy int32, attributionSource content.AttributionSource, ) (bool, error)
type BluetoothPanStub ¶
type BluetoothPanStub struct {
Impl IBluetoothPan
Transport binder.VersionAwareTransport
}
BluetoothPanStub dispatches incoming binder transactions to a typed IBluetoothPan implementation.
func (*BluetoothPanStub) Descriptor ¶
func (s *BluetoothPanStub) Descriptor() string
func (*BluetoothPanStub) OnTransaction ¶
func (s *BluetoothPanStub) OnTransaction( ctx context.Context, code binder.TransactionCode, _data *parcel.Parcel, ) (*parcel.Parcel, error)
type BluetoothPbapClientProxy ¶
func NewBluetoothPbapClientProxy ¶
func NewBluetoothPbapClientProxy( remote binder.IBinder, ) *BluetoothPbapClientProxy
func (*BluetoothPbapClientProxy) AsBinder ¶
func (p *BluetoothPbapClientProxy) AsBinder() binder.IBinder
func (*BluetoothPbapClientProxy) Connect ¶
func (p *BluetoothPbapClientProxy) Connect( ctx context.Context, device BluetoothDevice, attributionSource content.AttributionSource, ) (bool, error)
func (*BluetoothPbapClientProxy) Disconnect ¶
func (p *BluetoothPbapClientProxy) Disconnect( ctx context.Context, device BluetoothDevice, attributionSource content.AttributionSource, ) (bool, error)
func (*BluetoothPbapClientProxy) GetConnectedDevices ¶
func (p *BluetoothPbapClientProxy) GetConnectedDevices( ctx context.Context, attributionSource content.AttributionSource, ) ([]BluetoothDevice, error)
func (*BluetoothPbapClientProxy) GetConnectionPolicy ¶
func (p *BluetoothPbapClientProxy) GetConnectionPolicy( ctx context.Context, device BluetoothDevice, attributionSource content.AttributionSource, ) (int32, error)
func (*BluetoothPbapClientProxy) GetConnectionState ¶
func (p *BluetoothPbapClientProxy) GetConnectionState( ctx context.Context, device BluetoothDevice, attributionSource content.AttributionSource, ) (int32, error)
func (*BluetoothPbapClientProxy) GetDevicesMatchingConnectionStates ¶
func (p *BluetoothPbapClientProxy) GetDevicesMatchingConnectionStates( ctx context.Context, states []int32, attributionSource content.AttributionSource, ) ([]BluetoothDevice, error)
func (*BluetoothPbapClientProxy) SetConnectionPolicy ¶
func (p *BluetoothPbapClientProxy) SetConnectionPolicy( ctx context.Context, device BluetoothDevice, connectionPolicy int32, attributionSource content.AttributionSource, ) (bool, error)
type BluetoothPbapClientStub ¶
type BluetoothPbapClientStub struct {
Impl IBluetoothPbapClient
Transport binder.VersionAwareTransport
}
BluetoothPbapClientStub dispatches incoming binder transactions to a typed IBluetoothPbapClient implementation.
func (*BluetoothPbapClientStub) Descriptor ¶
func (s *BluetoothPbapClientStub) Descriptor() string
func (*BluetoothPbapClientStub) OnTransaction ¶
func (s *BluetoothPbapClientStub) OnTransaction( ctx context.Context, code binder.TransactionCode, _data *parcel.Parcel, ) (*parcel.Parcel, error)
type BluetoothPbapProxy ¶
func NewBluetoothPbapProxy ¶
func NewBluetoothPbapProxy( remote binder.IBinder, ) *BluetoothPbapProxy
func (*BluetoothPbapProxy) AsBinder ¶
func (p *BluetoothPbapProxy) AsBinder() binder.IBinder
func (*BluetoothPbapProxy) Disconnect ¶
func (p *BluetoothPbapProxy) Disconnect( ctx context.Context, device BluetoothDevice, attributionSource content.AttributionSource, ) error
func (*BluetoothPbapProxy) GetConnectedDevices ¶
func (p *BluetoothPbapProxy) GetConnectedDevices( ctx context.Context, attributionSource content.AttributionSource, ) ([]BluetoothDevice, error)
func (*BluetoothPbapProxy) GetConnectionState ¶
func (p *BluetoothPbapProxy) GetConnectionState( ctx context.Context, device BluetoothDevice, attributionSource content.AttributionSource, ) (int32, error)
func (*BluetoothPbapProxy) GetDevicesMatchingConnectionStates ¶
func (p *BluetoothPbapProxy) GetDevicesMatchingConnectionStates( ctx context.Context, states []int32, attributionSource content.AttributionSource, ) ([]BluetoothDevice, error)
func (*BluetoothPbapProxy) SetConnectionPolicy ¶
func (p *BluetoothPbapProxy) SetConnectionPolicy( ctx context.Context, device BluetoothDevice, connectionPolicy int32, attributionSource content.AttributionSource, ) (bool, error)
type BluetoothPbapStub ¶
type BluetoothPbapStub struct {
Impl IBluetoothPbap
Transport binder.VersionAwareTransport
}
BluetoothPbapStub dispatches incoming binder transactions to a typed IBluetoothPbap implementation.
func (*BluetoothPbapStub) Descriptor ¶
func (s *BluetoothPbapStub) Descriptor() string
func (*BluetoothPbapStub) OnTransaction ¶
func (s *BluetoothPbapStub) OnTransaction( ctx context.Context, code binder.TransactionCode, _data *parcel.Parcel, ) (*parcel.Parcel, error)
type BluetoothPreferredAudioProfilesCallbackProxy ¶
func NewBluetoothPreferredAudioProfilesCallbackProxy ¶
func NewBluetoothPreferredAudioProfilesCallbackProxy( remote binder.IBinder, ) *BluetoothPreferredAudioProfilesCallbackProxy
func (*BluetoothPreferredAudioProfilesCallbackProxy) AsBinder ¶
func (p *BluetoothPreferredAudioProfilesCallbackProxy) AsBinder() binder.IBinder
func (*BluetoothPreferredAudioProfilesCallbackProxy) OnPreferredAudioProfilesChanged ¶
func (p *BluetoothPreferredAudioProfilesCallbackProxy) OnPreferredAudioProfilesChanged( ctx context.Context, device BluetoothDevice, preferredAudioProfiles os.Bundle, status int32, ) error
type BluetoothPreferredAudioProfilesCallbackStub ¶
type BluetoothPreferredAudioProfilesCallbackStub struct {
Impl IBluetoothPreferredAudioProfilesCallback
Transport binder.VersionAwareTransport
}
BluetoothPreferredAudioProfilesCallbackStub dispatches incoming binder transactions to a typed IBluetoothPreferredAudioProfilesCallback implementation.
func (*BluetoothPreferredAudioProfilesCallbackStub) Descriptor ¶
func (s *BluetoothPreferredAudioProfilesCallbackStub) Descriptor() string
func (*BluetoothPreferredAudioProfilesCallbackStub) OnTransaction ¶
func (s *BluetoothPreferredAudioProfilesCallbackStub) OnTransaction( ctx context.Context, code binder.TransactionCode, _data *parcel.Parcel, ) (*parcel.Parcel, error)
type BluetoothProfileCallbackProxy ¶ added in v0.0.7
func NewBluetoothProfileCallbackProxy ¶ added in v0.0.7
func NewBluetoothProfileCallbackProxy( remote binder.IBinder, ) *BluetoothProfileCallbackProxy
func (*BluetoothProfileCallbackProxy) AsBinder ¶ added in v0.0.7
func (p *BluetoothProfileCallbackProxy) AsBinder() binder.IBinder
func (*BluetoothProfileCallbackProxy) GetProfileReply ¶ added in v0.0.7
type BluetoothProfileCallbackStub ¶ added in v0.0.7
type BluetoothProfileCallbackStub struct {
Impl IBluetoothProfileCallback
Transport binder.VersionAwareTransport
}
BluetoothProfileCallbackStub dispatches incoming binder transactions to a typed IBluetoothProfileCallback implementation.
func (*BluetoothProfileCallbackStub) Descriptor ¶ added in v0.0.7
func (s *BluetoothProfileCallbackStub) Descriptor() string
func (*BluetoothProfileCallbackStub) OnTransaction ¶ added in v0.0.7
func (s *BluetoothProfileCallbackStub) OnTransaction( ctx context.Context, code binder.TransactionCode, _data *parcel.Parcel, ) (*parcel.Parcel, error)
type BluetoothProfileServiceConnectionProxy ¶
func NewBluetoothProfileServiceConnectionProxy ¶
func NewBluetoothProfileServiceConnectionProxy( remote binder.IBinder, ) *BluetoothProfileServiceConnectionProxy
func (*BluetoothProfileServiceConnectionProxy) AsBinder ¶
func (p *BluetoothProfileServiceConnectionProxy) AsBinder() binder.IBinder
func (*BluetoothProfileServiceConnectionProxy) OnServiceConnected ¶
func (p *BluetoothProfileServiceConnectionProxy) OnServiceConnected( ctx context.Context, comp content.ComponentName, service binder.IBinder, ) error
func (*BluetoothProfileServiceConnectionProxy) OnServiceDisconnected ¶
func (p *BluetoothProfileServiceConnectionProxy) OnServiceDisconnected( ctx context.Context, comp content.ComponentName, ) error
type BluetoothProfileServiceConnectionStub ¶
type BluetoothProfileServiceConnectionStub struct {
Impl IBluetoothProfileServiceConnection
Transport binder.VersionAwareTransport
}
BluetoothProfileServiceConnectionStub dispatches incoming binder transactions to a typed IBluetoothProfileServiceConnection implementation.
func (*BluetoothProfileServiceConnectionStub) Descriptor ¶
func (s *BluetoothProfileServiceConnectionStub) Descriptor() string
func (*BluetoothProfileServiceConnectionStub) OnTransaction ¶
func (s *BluetoothProfileServiceConnectionStub) OnTransaction( ctx context.Context, code binder.TransactionCode, _data *parcel.Parcel, ) (*parcel.Parcel, error)
type BluetoothProxy ¶
func NewBluetoothProxy ¶
func NewBluetoothProxy( remote binder.IBinder, ) *BluetoothProxy
func (*BluetoothProxy) AllowLowLatencyAudio ¶
func (p *BluetoothProxy) AllowLowLatencyAudio( ctx context.Context, allowed bool, device BluetoothDevice, ) (bool, error)
func (*BluetoothProxy) AsBinder ¶
func (p *BluetoothProxy) AsBinder() binder.IBinder
func (*BluetoothProxy) CanBondWithoutDialog ¶
func (p *BluetoothProxy) CanBondWithoutDialog( ctx context.Context, device BluetoothDevice, attributionSource content.AttributionSource, ) (bool, error)
func (*BluetoothProxy) CancelBondProcess ¶
func (p *BluetoothProxy) CancelBondProcess( ctx context.Context, device BluetoothDevice, attributionSource content.AttributionSource, ) (bool, error)
func (*BluetoothProxy) CancelDiscovery ¶
func (p *BluetoothProxy) CancelDiscovery( ctx context.Context, attributionSource content.AttributionSource, ) (bool, error)
func (*BluetoothProxy) ConnectAllEnabledProfiles ¶
func (p *BluetoothProxy) ConnectAllEnabledProfiles( ctx context.Context, device BluetoothDevice, attributionSource content.AttributionSource, ) (int32, error)
func (*BluetoothProxy) CreateBond ¶
func (p *BluetoothProxy) CreateBond( ctx context.Context, device BluetoothDevice, transport int32, attributionSource content.AttributionSource, ) (bool, error)
func (*BluetoothProxy) CreateBondOutOfBand ¶ added in v0.0.7
func (p *BluetoothProxy) CreateBondOutOfBand( ctx context.Context, device BluetoothDevice, transport int32, p192Data OobData, p256Data OobData, attributionSource content.AttributionSource, ) (bool, error)
func (*BluetoothProxy) DisconnectAllEnabledProfiles ¶
func (p *BluetoothProxy) DisconnectAllEnabledProfiles( ctx context.Context, device BluetoothDevice, attributionSource content.AttributionSource, ) (int32, error)
func (*BluetoothProxy) FetchRemoteUuids ¶
func (p *BluetoothProxy) FetchRemoteUuids( ctx context.Context, device BluetoothDevice, transport int32, attributionSource content.AttributionSource, ) (bool, error)
func (*BluetoothProxy) GenerateLocalOobData ¶
func (p *BluetoothProxy) GenerateLocalOobData( ctx context.Context, transport int32, callback IBluetoothOobDataCallback, attributionSource content.AttributionSource, ) error
func (*BluetoothProxy) GetActiveAudioDevicePolicy ¶
func (p *BluetoothProxy) GetActiveAudioDevicePolicy( ctx context.Context, device BluetoothDevice, source content.AttributionSource, ) (int32, error)
func (*BluetoothProxy) GetActiveDevices ¶
func (p *BluetoothProxy) GetActiveDevices( ctx context.Context, profile int32, attributionSource content.AttributionSource, ) ([]BluetoothDevice, error)
func (*BluetoothProxy) GetAdapterConnectionState ¶
func (p *BluetoothProxy) GetAdapterConnectionState( ctx context.Context, ) (int32, error)
func (*BluetoothProxy) GetBatteryLevel ¶
func (p *BluetoothProxy) GetBatteryLevel( ctx context.Context, device BluetoothDevice, attributionSource content.AttributionSource, ) (int32, error)
func (*BluetoothProxy) GetBluetoothAdvertise ¶ added in v0.0.7
func (*BluetoothProxy) GetBluetoothGatt ¶
func (*BluetoothProxy) GetBluetoothScan ¶ added in v0.0.7
func (*BluetoothProxy) GetBondState ¶
func (p *BluetoothProxy) GetBondState( ctx context.Context, device BluetoothDevice, attributionSource content.AttributionSource, ) (int32, error)
func (*BluetoothProxy) GetBondedDevices ¶
func (p *BluetoothProxy) GetBondedDevices( ctx context.Context, attributionSource content.AttributionSource, ) ([]BluetoothDevice, error)
func (*BluetoothProxy) GetConnectionHandle ¶
func (p *BluetoothProxy) GetConnectionHandle( ctx context.Context, device BluetoothDevice, transport int32, attributionSource content.AttributionSource, ) (int32, error)
func (*BluetoothProxy) GetConnectionState ¶
func (p *BluetoothProxy) GetConnectionState( ctx context.Context, device BluetoothDevice, attributionSource content.AttributionSource, ) (int32, error)
func (*BluetoothProxy) GetDiscoverableTimeout ¶
func (p *BluetoothProxy) GetDiscoverableTimeout( ctx context.Context, attributionSource content.AttributionSource, ) (int64, error)
func (*BluetoothProxy) GetDiscoveryEndMillis ¶
func (p *BluetoothProxy) GetDiscoveryEndMillis( ctx context.Context, attributionSource content.AttributionSource, ) (int64, error)
func (*BluetoothProxy) GetDistanceMeasurement ¶ added in v0.0.7
func (*BluetoothProxy) GetEncryptionStatus ¶ added in v0.0.7
func (p *BluetoothProxy) GetEncryptionStatus( ctx context.Context, device BluetoothDevice, source content.AttributionSource, transport int32, ) (EncryptionStatusInnerParcel, error)
func (*BluetoothProxy) GetIdentityAddress ¶
func (*BluetoothProxy) GetIdentityAddressWithType ¶ added in v0.0.7
func (p *BluetoothProxy) GetIdentityAddressWithType( ctx context.Context, address string, ) (BluetoothDeviceBluetoothAddress, error)
func (*BluetoothProxy) GetKeyMissingCount ¶ added in v0.0.7
func (p *BluetoothProxy) GetKeyMissingCount( ctx context.Context, device BluetoothDevice, source content.AttributionSource, ) (int32, error)
func (*BluetoothProxy) GetLeMaximumAdvertisingDataLength ¶
func (p *BluetoothProxy) GetLeMaximumAdvertisingDataLength( ctx context.Context, ) (int32, error)
func (*BluetoothProxy) GetMaxConnectedAudioDevices ¶
func (p *BluetoothProxy) GetMaxConnectedAudioDevices( ctx context.Context, attributionSource content.AttributionSource, ) (int32, error)
func (*BluetoothProxy) GetMessageAccessPermission ¶
func (p *BluetoothProxy) GetMessageAccessPermission( ctx context.Context, device BluetoothDevice, attributionSource content.AttributionSource, ) (int32, error)
func (*BluetoothProxy) GetMetadata ¶
func (p *BluetoothProxy) GetMetadata( ctx context.Context, device BluetoothDevice, key int32, attributionSource content.AttributionSource, ) ([]byte, error)
func (*BluetoothProxy) GetMostRecentlyConnectedDevices ¶
func (p *BluetoothProxy) GetMostRecentlyConnectedDevices( ctx context.Context, attributionSource content.AttributionSource, ) ([]BluetoothDevice, error)
func (*BluetoothProxy) GetName ¶
func (p *BluetoothProxy) GetName( ctx context.Context, attributionSource content.AttributionSource, ) (string, error)
func (*BluetoothProxy) GetNameLengthForAdvertise ¶
func (p *BluetoothProxy) GetNameLengthForAdvertise( ctx context.Context, attributionSource content.AttributionSource, ) (int32, error)
func (*BluetoothProxy) GetOffloadedTransportDiscoveryDataScanSupported ¶
func (p *BluetoothProxy) GetOffloadedTransportDiscoveryDataScanSupported( ctx context.Context, attributionSource content.AttributionSource, ) (int32, error)
func (*BluetoothProxy) GetPackageNameOfBondingApplication ¶
func (p *BluetoothProxy) GetPackageNameOfBondingApplication( ctx context.Context, device BluetoothDevice, attributionSource content.AttributionSource, ) (string, error)
func (*BluetoothProxy) GetPhonebookAccessPermission ¶
func (p *BluetoothProxy) GetPhonebookAccessPermission( ctx context.Context, device BluetoothDevice, attributionSource content.AttributionSource, ) (int32, error)
func (*BluetoothProxy) GetPreferredAudioProfiles ¶
func (p *BluetoothProxy) GetPreferredAudioProfiles( ctx context.Context, device BluetoothDevice, source content.AttributionSource, ) (os.Bundle, error)
func (*BluetoothProxy) GetProfile ¶
func (*BluetoothProxy) GetProfileConnectionState ¶
func (p *BluetoothProxy) GetProfileConnectionState( ctx context.Context, profile int32, source content.AttributionSource, ) (int32, error)
func (*BluetoothProxy) GetProfileOneway ¶ added in v0.0.7
func (p *BluetoothProxy) GetProfileOneway( ctx context.Context, profile int32, callback IBluetoothProfileCallback, ) error
func (*BluetoothProxy) GetRemoteAlias ¶
func (p *BluetoothProxy) GetRemoteAlias( ctx context.Context, device BluetoothDevice, attributionSource content.AttributionSource, ) (string, error)
func (*BluetoothProxy) GetRemoteClass ¶
func (p *BluetoothProxy) GetRemoteClass( ctx context.Context, device BluetoothDevice, attributionSource content.AttributionSource, ) (int32, error)
func (*BluetoothProxy) GetRemoteName ¶
func (p *BluetoothProxy) GetRemoteName( ctx context.Context, device BluetoothDevice, attributionSource content.AttributionSource, ) (string, error)
func (*BluetoothProxy) GetRemoteType ¶
func (p *BluetoothProxy) GetRemoteType( ctx context.Context, device BluetoothDevice, attributionSource content.AttributionSource, ) (int32, error)
func (*BluetoothProxy) GetRemoteUuids ¶
func (p *BluetoothProxy) GetRemoteUuids( ctx context.Context, device BluetoothDevice, attributionSource content.AttributionSource, ) ([]os.ParcelUuid, error)
func (*BluetoothProxy) GetRequestedAudioPolicyAsSink ¶
func (p *BluetoothProxy) GetRequestedAudioPolicyAsSink( ctx context.Context, device BluetoothDevice, attributionSource content.AttributionSource, ) (BluetoothSinkAudioPolicy, error)
func (*BluetoothProxy) GetScanMode ¶
func (p *BluetoothProxy) GetScanMode( ctx context.Context, attributionSource content.AttributionSource, ) (int32, error)
func (*BluetoothProxy) GetSilenceMode ¶
func (p *BluetoothProxy) GetSilenceMode( ctx context.Context, device BluetoothDevice, attributionSource content.AttributionSource, ) (bool, error)
func (*BluetoothProxy) GetSimAccessPermission ¶
func (p *BluetoothProxy) GetSimAccessPermission( ctx context.Context, device BluetoothDevice, attributionSource content.AttributionSource, ) (int32, error)
func (*BluetoothProxy) GetSocketManager ¶
func (p *BluetoothProxy) GetSocketManager( ctx context.Context, ) (IBluetoothSocketManager, error)
func (*BluetoothProxy) GetSupportedProfiles ¶
func (p *BluetoothProxy) GetSupportedProfiles( ctx context.Context, attributionSource content.AttributionSource, ) ([]int32, error)
func (*BluetoothProxy) GetUuids ¶
func (p *BluetoothProxy) GetUuids( ctx context.Context, attributionSource content.AttributionSource, ) ([]os.ParcelUuid, error)
func (*BluetoothProxy) IsActivityAndEnergyReportingSupported ¶
func (p *BluetoothProxy) IsActivityAndEnergyReportingSupported( ctx context.Context, ) (bool, error)
func (*BluetoothProxy) IsBondingInitiatedLocally ¶
func (p *BluetoothProxy) IsBondingInitiatedLocally( ctx context.Context, device BluetoothDevice, attributionSource content.AttributionSource, ) (bool, error)
func (*BluetoothProxy) IsConnected ¶ added in v0.0.7
func (p *BluetoothProxy) IsConnected( ctx context.Context, device BluetoothDevice, source content.AttributionSource, transport int32, ) (bool, error)
func (*BluetoothProxy) IsDiscovering ¶
func (p *BluetoothProxy) IsDiscovering( ctx context.Context, attributionSource content.AttributionSource, ) (bool, error)
func (*BluetoothProxy) IsDistanceMeasurementSupported ¶
func (p *BluetoothProxy) IsDistanceMeasurementSupported( ctx context.Context, attributionSource content.AttributionSource, ) (int32, error)
func (*BluetoothProxy) IsDualModeAudioEnabled ¶ added in v0.0.7
func (p *BluetoothProxy) IsDualModeAudioEnabled( ctx context.Context, attributionSource content.AttributionSource, ) (int32, error)
func (*BluetoothProxy) IsLe2MPhySupported ¶
func (p *BluetoothProxy) IsLe2MPhySupported( ctx context.Context, ) (bool, error)
func (*BluetoothProxy) IsLeAudioBroadcastAssistantSupported ¶
func (p *BluetoothProxy) IsLeAudioBroadcastAssistantSupported( ctx context.Context, ) (bool, error)
func (*BluetoothProxy) IsLeAudioBroadcastSourceSupported ¶
func (p *BluetoothProxy) IsLeAudioBroadcastSourceSupported( ctx context.Context, ) (bool, error)
func (*BluetoothProxy) IsLeAudioSupported ¶
func (p *BluetoothProxy) IsLeAudioSupported( ctx context.Context, ) (bool, error)
func (*BluetoothProxy) IsLeCocSocketOffloadSupported ¶ added in v0.0.7
func (p *BluetoothProxy) IsLeCocSocketOffloadSupported( ctx context.Context, source content.AttributionSource, ) (bool, error)
func (*BluetoothProxy) IsLeCodedPhySupported ¶
func (p *BluetoothProxy) IsLeCodedPhySupported( ctx context.Context, ) (bool, error)
func (*BluetoothProxy) IsLeExtendedAdvertisingSupported ¶
func (p *BluetoothProxy) IsLeExtendedAdvertisingSupported( ctx context.Context, ) (bool, error)
func (*BluetoothProxy) IsLePeriodicAdvertisingSupported ¶
func (p *BluetoothProxy) IsLePeriodicAdvertisingSupported( ctx context.Context, ) (bool, error)
func (*BluetoothProxy) IsMicrophonePreferredForCalls ¶ added in v0.0.7
func (p *BluetoothProxy) IsMicrophonePreferredForCalls( ctx context.Context, device BluetoothDevice, source content.AttributionSource, ) (bool, error)
func (*BluetoothProxy) IsMultiAdvertisementSupported ¶
func (p *BluetoothProxy) IsMultiAdvertisementSupported( ctx context.Context, ) (bool, error)
func (*BluetoothProxy) IsOffloadedFilteringSupported ¶
func (p *BluetoothProxy) IsOffloadedFilteringSupported( ctx context.Context, ) (bool, error)
func (*BluetoothProxy) IsOffloadedScanBatchingSupported ¶
func (p *BluetoothProxy) IsOffloadedScanBatchingSupported( ctx context.Context, ) (bool, error)
func (*BluetoothProxy) IsRequestAudioPolicyAsSinkSupported ¶
func (p *BluetoothProxy) IsRequestAudioPolicyAsSinkSupported( ctx context.Context, device BluetoothDevice, attributionSource content.AttributionSource, ) (int32, error)
func (*BluetoothProxy) IsRfcommSocketOffloadSupported ¶ added in v0.0.7
func (p *BluetoothProxy) IsRfcommSocketOffloadSupported( ctx context.Context, source content.AttributionSource, ) (bool, error)
func (*BluetoothProxy) LogL2capcocClientConnection ¶
func (*BluetoothProxy) LogL2capcocServerConnection ¶
func (*BluetoothProxy) NotifyActiveDeviceChangeApplied ¶
func (p *BluetoothProxy) NotifyActiveDeviceChangeApplied( ctx context.Context, device BluetoothDevice, attributionSource content.AttributionSource, ) (int32, error)
func (*BluetoothProxy) RegisterBluetoothConnectionCallback ¶
func (p *BluetoothProxy) RegisterBluetoothConnectionCallback( ctx context.Context, callback IBluetoothConnectionCallback, attributionSource content.AttributionSource, ) error
func (*BluetoothProxy) RegisterBluetoothQualityReportReadyCallback ¶
func (p *BluetoothProxy) RegisterBluetoothQualityReportReadyCallback( ctx context.Context, callback IBluetoothQualityReportReadyCallback, attributionSource content.AttributionSource, ) (int32, error)
func (*BluetoothProxy) RegisterHciVendorSpecificCallback ¶ added in v0.0.7
func (p *BluetoothProxy) RegisterHciVendorSpecificCallback( ctx context.Context, callback IBluetoothHciVendorSpecificCallback, eventCodes []int32, ) error
func (*BluetoothProxy) RegisterMetadataListener ¶
func (p *BluetoothProxy) RegisterMetadataListener( ctx context.Context, listener IBluetoothMetadataListener, device BluetoothDevice, attributionSource content.AttributionSource, ) (bool, error)
func (*BluetoothProxy) RegisterPreferredAudioProfilesChangedCallback ¶
func (p *BluetoothProxy) RegisterPreferredAudioProfilesChangedCallback( ctx context.Context, callback IBluetoothPreferredAudioProfilesCallback, attributionSource content.AttributionSource, ) (int32, error)
func (*BluetoothProxy) RemoveActiveDevice ¶
func (p *BluetoothProxy) RemoveActiveDevice( ctx context.Context, profiles int32, attributionSource content.AttributionSource, ) (bool, error)
func (*BluetoothProxy) RemoveBond ¶
func (p *BluetoothProxy) RemoveBond( ctx context.Context, device BluetoothDevice, attributionSource content.AttributionSource, ) (bool, error)
func (*BluetoothProxy) RequestActivityInfo ¶
func (p *BluetoothProxy) RequestActivityInfo( ctx context.Context, listener IBluetoothActivityEnergyInfoListener, attributionSource content.AttributionSource, ) error
func (*BluetoothProxy) RequestAudioPolicyAsSink ¶
func (p *BluetoothProxy) RequestAudioPolicyAsSink( ctx context.Context, device BluetoothDevice, policies BluetoothSinkAudioPolicy, attributionSource content.AttributionSource, ) (int32, error)
func (*BluetoothProxy) RetrievePendingSocketForServiceRecord ¶
func (p *BluetoothProxy) RetrievePendingSocketForServiceRecord( ctx context.Context, uuid os.ParcelUuid, attributionSource content.AttributionSource, ) (IncomingRfcommSocketInfo, error)
func (*BluetoothProxy) SdpSearch ¶
func (p *BluetoothProxy) SdpSearch( ctx context.Context, device BluetoothDevice, uuid os.ParcelUuid, attributionSource content.AttributionSource, ) (bool, error)
func (*BluetoothProxy) SendHciVendorSpecificCommand ¶ added in v0.0.7
func (p *BluetoothProxy) SendHciVendorSpecificCommand( ctx context.Context, ocf int32, parameters []byte, callback IBluetoothHciVendorSpecificCallback, ) error
func (*BluetoothProxy) SetActiveAudioDevicePolicy ¶
func (p *BluetoothProxy) SetActiveAudioDevicePolicy( ctx context.Context, device BluetoothDevice, activeAudioDevicePolicy int32, source content.AttributionSource, ) (int32, error)
func (*BluetoothProxy) SetActiveDevice ¶
func (p *BluetoothProxy) SetActiveDevice( ctx context.Context, device BluetoothDevice, profiles int32, attributionSource content.AttributionSource, ) (bool, error)
func (*BluetoothProxy) SetDiscoverableTimeout ¶
func (p *BluetoothProxy) SetDiscoverableTimeout( ctx context.Context, timeout int64, attributionSource content.AttributionSource, ) (int32, error)
func (*BluetoothProxy) SetMessageAccessPermission ¶
func (p *BluetoothProxy) SetMessageAccessPermission( ctx context.Context, device BluetoothDevice, value int32, attributionSource content.AttributionSource, ) (bool, error)
func (*BluetoothProxy) SetMetadata ¶
func (p *BluetoothProxy) SetMetadata( ctx context.Context, device BluetoothDevice, key int32, value []byte, attributionSource content.AttributionSource, ) (bool, error)
func (*BluetoothProxy) SetMicrophonePreferredForCalls ¶ added in v0.0.7
func (p *BluetoothProxy) SetMicrophonePreferredForCalls( ctx context.Context, device BluetoothDevice, enabled bool, source content.AttributionSource, ) (int32, error)
func (*BluetoothProxy) SetName ¶
func (p *BluetoothProxy) SetName( ctx context.Context, name string, attributionSource content.AttributionSource, ) (bool, error)
func (*BluetoothProxy) SetOnHead ¶ added in v0.0.7
func (p *BluetoothProxy) SetOnHead( ctx context.Context, device BluetoothDevice, state int32, source content.AttributionSource, ) (int32, error)
func (*BluetoothProxy) SetOnHeadDetectionEnabled ¶ added in v0.0.7
func (p *BluetoothProxy) SetOnHeadDetectionEnabled( ctx context.Context, device BluetoothDevice, enableState int32, source content.AttributionSource, ) (int32, error)
func (*BluetoothProxy) SetPairingConfirmation ¶
func (p *BluetoothProxy) SetPairingConfirmation( ctx context.Context, device BluetoothDevice, accept bool, attributionSource content.AttributionSource, ) (bool, error)
func (*BluetoothProxy) SetPasskey ¶
func (p *BluetoothProxy) SetPasskey( ctx context.Context, device BluetoothDevice, accept bool, len_ int32, passkey []byte, attributionSource content.AttributionSource, ) (bool, error)
func (*BluetoothProxy) SetPhonebookAccessPermission ¶
func (p *BluetoothProxy) SetPhonebookAccessPermission( ctx context.Context, device BluetoothDevice, value int32, attributionSource content.AttributionSource, ) (bool, error)
func (*BluetoothProxy) SetPin ¶
func (p *BluetoothProxy) SetPin( ctx context.Context, device BluetoothDevice, accept bool, len_ int32, pinCode []byte, attributionSource content.AttributionSource, ) (bool, error)
func (*BluetoothProxy) SetPreferredAudioProfiles ¶
func (p *BluetoothProxy) SetPreferredAudioProfiles( ctx context.Context, device BluetoothDevice, modeToProfileBundle os.Bundle, source content.AttributionSource, ) (int32, error)
func (*BluetoothProxy) SetRemoteAlias ¶
func (p *BluetoothProxy) SetRemoteAlias( ctx context.Context, device BluetoothDevice, name string, attributionSource content.AttributionSource, ) (int32, error)
func (*BluetoothProxy) SetScanMode ¶
func (p *BluetoothProxy) SetScanMode( ctx context.Context, mode int32, attributionSource content.AttributionSource, ) (int32, error)
func (*BluetoothProxy) SetSilenceMode ¶
func (p *BluetoothProxy) SetSilenceMode( ctx context.Context, device BluetoothDevice, silence bool, attributionSource content.AttributionSource, ) (bool, error)
func (*BluetoothProxy) SetSimAccessPermission ¶
func (p *BluetoothProxy) SetSimAccessPermission( ctx context.Context, device BluetoothDevice, value int32, attributionSource content.AttributionSource, ) (bool, error)
func (*BluetoothProxy) StartDiscovery ¶
func (p *BluetoothProxy) StartDiscovery( ctx context.Context, attributionSource content.AttributionSource, ) (bool, error)
func (*BluetoothProxy) StartRfcommListener ¶
func (p *BluetoothProxy) StartRfcommListener( ctx context.Context, name string, uuid os.ParcelUuid, intent types.PendingIntent, attributionSource content.AttributionSource, ) (int32, error)
func (*BluetoothProxy) StopRfcommListener ¶
func (p *BluetoothProxy) StopRfcommListener( ctx context.Context, uuid os.ParcelUuid, attributionSource content.AttributionSource, ) (int32, error)
func (*BluetoothProxy) UnregisterBluetoothConnectionCallback ¶
func (p *BluetoothProxy) UnregisterBluetoothConnectionCallback( ctx context.Context, callback IBluetoothConnectionCallback, attributionSource content.AttributionSource, ) error
func (*BluetoothProxy) UnregisterBluetoothQualityReportReadyCallback ¶
func (p *BluetoothProxy) UnregisterBluetoothQualityReportReadyCallback( ctx context.Context, callback IBluetoothQualityReportReadyCallback, attributionSource content.AttributionSource, ) (int32, error)
func (*BluetoothProxy) UnregisterHciVendorSpecificCallback ¶ added in v0.0.7
func (p *BluetoothProxy) UnregisterHciVendorSpecificCallback( ctx context.Context, callback IBluetoothHciVendorSpecificCallback, ) error
func (*BluetoothProxy) UnregisterMetadataListener ¶
func (p *BluetoothProxy) UnregisterMetadataListener( ctx context.Context, listener IBluetoothMetadataListener, device BluetoothDevice, attributionSource content.AttributionSource, ) (bool, error)
func (*BluetoothProxy) UnregisterPreferredAudioProfilesChangedCallback ¶
func (p *BluetoothProxy) UnregisterPreferredAudioProfilesChangedCallback( ctx context.Context, callback IBluetoothPreferredAudioProfilesCallback, attributionSource content.AttributionSource, ) (int32, error)
type BluetoothQualityReport ¶
func (*BluetoothQualityReport) MarshalParcel ¶
func (s *BluetoothQualityReport) MarshalParcel( p *parcel.Parcel, ) error
func (*BluetoothQualityReport) UnmarshalParcel ¶
func (s *BluetoothQualityReport) UnmarshalParcel( p *parcel.Parcel, ) error
type BluetoothQualityReportReadyCallbackProxy ¶
func NewBluetoothQualityReportReadyCallbackProxy ¶
func NewBluetoothQualityReportReadyCallbackProxy( remote binder.IBinder, ) *BluetoothQualityReportReadyCallbackProxy
func (*BluetoothQualityReportReadyCallbackProxy) AsBinder ¶
func (p *BluetoothQualityReportReadyCallbackProxy) AsBinder() binder.IBinder
func (*BluetoothQualityReportReadyCallbackProxy) OnBluetoothQualityReportReady ¶
func (p *BluetoothQualityReportReadyCallbackProxy) OnBluetoothQualityReportReady( ctx context.Context, device BluetoothDevice, bluetoothQualityReport BluetoothQualityReport, status int32, ) error
type BluetoothQualityReportReadyCallbackStub ¶
type BluetoothQualityReportReadyCallbackStub struct {
Impl IBluetoothQualityReportReadyCallback
Transport binder.VersionAwareTransport
}
BluetoothQualityReportReadyCallbackStub dispatches incoming binder transactions to a typed IBluetoothQualityReportReadyCallback implementation.
func (*BluetoothQualityReportReadyCallbackStub) Descriptor ¶
func (s *BluetoothQualityReportReadyCallbackStub) Descriptor() string
func (*BluetoothQualityReportReadyCallbackStub) OnTransaction ¶
func (s *BluetoothQualityReportReadyCallbackStub) OnTransaction( ctx context.Context, code binder.TransactionCode, _data *parcel.Parcel, ) (*parcel.Parcel, error)
type BluetoothSapProxy ¶
func NewBluetoothSapProxy ¶
func NewBluetoothSapProxy( remote binder.IBinder, ) *BluetoothSapProxy
func (*BluetoothSapProxy) AsBinder ¶
func (p *BluetoothSapProxy) AsBinder() binder.IBinder
func (*BluetoothSapProxy) Disconnect ¶
func (p *BluetoothSapProxy) Disconnect( ctx context.Context, device BluetoothDevice, attributionSource content.AttributionSource, ) (bool, error)
func (*BluetoothSapProxy) GetClient ¶
func (p *BluetoothSapProxy) GetClient( ctx context.Context, attributionSource content.AttributionSource, ) (BluetoothDevice, error)
func (*BluetoothSapProxy) GetConnectedDevices ¶
func (p *BluetoothSapProxy) GetConnectedDevices( ctx context.Context, attributionSource content.AttributionSource, ) ([]BluetoothDevice, error)
func (*BluetoothSapProxy) GetConnectionPolicy ¶
func (p *BluetoothSapProxy) GetConnectionPolicy( ctx context.Context, device BluetoothDevice, attributionSource content.AttributionSource, ) (int32, error)
func (*BluetoothSapProxy) GetConnectionState ¶
func (p *BluetoothSapProxy) GetConnectionState( ctx context.Context, device BluetoothDevice, attributionSource content.AttributionSource, ) (int32, error)
func (*BluetoothSapProxy) GetDevicesMatchingConnectionStates ¶
func (p *BluetoothSapProxy) GetDevicesMatchingConnectionStates( ctx context.Context, states []int32, attributionSource content.AttributionSource, ) ([]BluetoothDevice, error)
func (*BluetoothSapProxy) GetState ¶
func (p *BluetoothSapProxy) GetState( ctx context.Context, attributionSource content.AttributionSource, ) (int32, error)
func (*BluetoothSapProxy) IsConnected ¶
func (p *BluetoothSapProxy) IsConnected( ctx context.Context, device BluetoothDevice, attributionSource content.AttributionSource, ) (bool, error)
func (*BluetoothSapProxy) SetConnectionPolicy ¶
func (p *BluetoothSapProxy) SetConnectionPolicy( ctx context.Context, device BluetoothDevice, connectionPolicy int32, attributionSource content.AttributionSource, ) (bool, error)
type BluetoothSapStub ¶
type BluetoothSapStub struct {
Impl IBluetoothSap
Transport binder.VersionAwareTransport
}
BluetoothSapStub dispatches incoming binder transactions to a typed IBluetoothSap implementation.
func (*BluetoothSapStub) Descriptor ¶
func (s *BluetoothSapStub) Descriptor() string
func (*BluetoothSapStub) OnTransaction ¶
func (s *BluetoothSapStub) OnTransaction( ctx context.Context, code binder.TransactionCode, _data *parcel.Parcel, ) (*parcel.Parcel, error)
type BluetoothScanProxy ¶ added in v0.0.7
func NewBluetoothScanProxy ¶ added in v0.0.7
func NewBluetoothScanProxy( remote binder.IBinder, ) *BluetoothScanProxy
func (*BluetoothScanProxy) AsBinder ¶ added in v0.0.7
func (p *BluetoothScanProxy) AsBinder() binder.IBinder
func (*BluetoothScanProxy) FlushPendingBatchResults ¶ added in v0.0.7
func (p *BluetoothScanProxy) FlushPendingBatchResults( ctx context.Context, scannerId int32, attributionSource content.AttributionSource, ) error
func (*BluetoothScanProxy) NumHwTrackFiltersAvailable ¶ added in v0.0.7
func (p *BluetoothScanProxy) NumHwTrackFiltersAvailable( ctx context.Context, attributionSource content.AttributionSource, ) (int32, error)
func (*BluetoothScanProxy) RegisterPiAndStartScan ¶ added in v0.0.7
func (p *BluetoothScanProxy) RegisterPiAndStartScan( ctx context.Context, intent types.PendingIntent, settings le.ScanSettings, filters []le.ScanFilter, attributionSource content.AttributionSource, ) error
func (*BluetoothScanProxy) RegisterScanner ¶ added in v0.0.7
func (p *BluetoothScanProxy) RegisterScanner( ctx context.Context, callback le.IScannerCallback, workSource os.WorkSource, attributionSource content.AttributionSource, ) error
func (*BluetoothScanProxy) RegisterSync ¶ added in v0.0.7
func (p *BluetoothScanProxy) RegisterSync( ctx context.Context, scanResult le.ScanResult, skip int32, timeout int32, callback le.IPeriodicAdvertisingCallback, attributionSource content.AttributionSource, ) error
func (*BluetoothScanProxy) StartScan ¶ added in v0.0.7
func (p *BluetoothScanProxy) StartScan( ctx context.Context, scannerId int32, settings le.ScanSettings, filters []le.ScanFilter, attributionSource content.AttributionSource, ) error
func (*BluetoothScanProxy) StopScan ¶ added in v0.0.7
func (p *BluetoothScanProxy) StopScan( ctx context.Context, scannerId int32, attributionSource content.AttributionSource, ) error
func (*BluetoothScanProxy) StopScanForIntent ¶ added in v0.0.7
func (p *BluetoothScanProxy) StopScanForIntent( ctx context.Context, intent types.PendingIntent, attributionSource content.AttributionSource, ) error
func (*BluetoothScanProxy) TransferSetInfo ¶ added in v0.0.7
func (p *BluetoothScanProxy) TransferSetInfo( ctx context.Context, bda BluetoothDevice, serviceData int32, advertisingHandle int32, callback le.IPeriodicAdvertisingCallback, attributionSource content.AttributionSource, ) error
func (*BluetoothScanProxy) TransferSync ¶ added in v0.0.7
func (p *BluetoothScanProxy) TransferSync( ctx context.Context, bda BluetoothDevice, serviceData int32, syncHandle int32, attributionSource content.AttributionSource, ) error
func (*BluetoothScanProxy) UnregisterScanner ¶ added in v0.0.7
func (p *BluetoothScanProxy) UnregisterScanner( ctx context.Context, scannerId int32, attributionSource content.AttributionSource, ) error
func (*BluetoothScanProxy) UnregisterSync ¶ added in v0.0.7
func (p *BluetoothScanProxy) UnregisterSync( ctx context.Context, callback le.IPeriodicAdvertisingCallback, attributionSource content.AttributionSource, ) error
type BluetoothScanStub ¶ added in v0.0.7
type BluetoothScanStub struct {
Impl IBluetoothScan
Transport binder.VersionAwareTransport
}
BluetoothScanStub dispatches incoming binder transactions to a typed IBluetoothScan implementation.
func (*BluetoothScanStub) Descriptor ¶ added in v0.0.7
func (s *BluetoothScanStub) Descriptor() string
func (*BluetoothScanStub) OnTransaction ¶ added in v0.0.7
func (s *BluetoothScanStub) OnTransaction( ctx context.Context, code binder.TransactionCode, _data *parcel.Parcel, ) (*parcel.Parcel, error)
type BluetoothSinkAudioPolicy ¶
type BluetoothSinkAudioPolicy struct {
CallEstablishPolicy int32
ConnectingTimePolicy int32
InBandRingtonePolicy int32
}
func (*BluetoothSinkAudioPolicy) MarshalParcel ¶
func (s *BluetoothSinkAudioPolicy) MarshalParcel( p *parcel.Parcel, ) error
func (*BluetoothSinkAudioPolicy) UnmarshalParcel ¶
func (s *BluetoothSinkAudioPolicy) UnmarshalParcel( p *parcel.Parcel, ) error
type BluetoothSocketManagerProxy ¶
func NewBluetoothSocketManagerProxy ¶
func NewBluetoothSocketManagerProxy( remote binder.IBinder, ) *BluetoothSocketManagerProxy
func (*BluetoothSocketManagerProxy) AsBinder ¶
func (p *BluetoothSocketManagerProxy) AsBinder() binder.IBinder
func (*BluetoothSocketManagerProxy) ConnectSocket ¶
func (p *BluetoothSocketManagerProxy) ConnectSocket( ctx context.Context, device BluetoothDevice, type_ int32, uuid *os.ParcelUuid, port int32, flag int32, attributionSource content.AttributionSource, ) (int32, error)
func (*BluetoothSocketManagerProxy) ConnectSocketWithOffload ¶ added in v0.0.7
func (p *BluetoothSocketManagerProxy) ConnectSocketWithOffload( ctx context.Context, device BluetoothDevice, type_ int32, uuid *os.ParcelUuid, port int32, flag int32, dataPath int32, socketName string, hubId int64, endpointId int64, maximumPacketSize int32, attributionSource content.AttributionSource, ) (int32, error)
func (*BluetoothSocketManagerProxy) CreateSocketChannel ¶
func (p *BluetoothSocketManagerProxy) CreateSocketChannel( ctx context.Context, type_ int32, serviceName string, uuid *os.ParcelUuid, port int32, flag int32, attributionSource content.AttributionSource, ) (int32, error)
func (*BluetoothSocketManagerProxy) CreateSocketChannelWithOffload ¶ added in v0.0.7
func (p *BluetoothSocketManagerProxy) CreateSocketChannelWithOffload( ctx context.Context, type_ int32, serviceName string, uuid *os.ParcelUuid, port int32, flag int32, dataPath int32, socketName string, hubId int64, endpointId int64, maximumPacketSize int32, attributionSource content.AttributionSource, ) (int32, error)
func (*BluetoothSocketManagerProxy) GetL2capLocalChannelId ¶ added in v0.0.7
func (p *BluetoothSocketManagerProxy) GetL2capLocalChannelId( ctx context.Context, connectionUuid os.ParcelUuid, attributionSource content.AttributionSource, ) (int32, error)
func (*BluetoothSocketManagerProxy) GetL2capRemoteChannelId ¶ added in v0.0.7
func (p *BluetoothSocketManagerProxy) GetL2capRemoteChannelId( ctx context.Context, connectionUuid os.ParcelUuid, attributionSource content.AttributionSource, ) (int32, error)
func (*BluetoothSocketManagerProxy) RequestMaximumTxDataLength ¶
func (p *BluetoothSocketManagerProxy) RequestMaximumTxDataLength( ctx context.Context, device BluetoothDevice, attributionSource content.AttributionSource, ) error
type BluetoothSocketManagerStub ¶
type BluetoothSocketManagerStub struct {
Impl IBluetoothSocketManager
Transport binder.VersionAwareTransport
}
BluetoothSocketManagerStub dispatches incoming binder transactions to a typed IBluetoothSocketManager implementation.
func (*BluetoothSocketManagerStub) Descriptor ¶
func (s *BluetoothSocketManagerStub) Descriptor() string
func (*BluetoothSocketManagerStub) OnTransaction ¶
func (s *BluetoothSocketManagerStub) OnTransaction( ctx context.Context, code binder.TransactionCode, _data *parcel.Parcel, ) (*parcel.Parcel, error)
type BluetoothStub ¶
type BluetoothStub struct {
Impl IBluetooth
Transport binder.VersionAwareTransport
}
BluetoothStub dispatches incoming binder transactions to a typed IBluetooth implementation.
func (*BluetoothStub) Descriptor ¶
func (s *BluetoothStub) Descriptor() string
func (*BluetoothStub) OnTransaction ¶
func (s *BluetoothStub) OnTransaction( ctx context.Context, code binder.TransactionCode, _data *parcel.Parcel, ) (*parcel.Parcel, error)
type BluetoothVolumeControlCallbackProxy ¶
func NewBluetoothVolumeControlCallbackProxy ¶
func NewBluetoothVolumeControlCallbackProxy( remote binder.IBinder, ) *BluetoothVolumeControlCallbackProxy
func (*BluetoothVolumeControlCallbackProxy) AsBinder ¶
func (p *BluetoothVolumeControlCallbackProxy) AsBinder() binder.IBinder
func (*BluetoothVolumeControlCallbackProxy) OnDeviceVolumeChanged ¶
func (p *BluetoothVolumeControlCallbackProxy) OnDeviceVolumeChanged( ctx context.Context, device BluetoothDevice, volume int32, ) error
func (*BluetoothVolumeControlCallbackProxy) OnVolumeOffsetAudioDescriptionChanged ¶
func (p *BluetoothVolumeControlCallbackProxy) OnVolumeOffsetAudioDescriptionChanged( ctx context.Context, device BluetoothDevice, instanceId int32, audioDescription string, ) error
func (*BluetoothVolumeControlCallbackProxy) OnVolumeOffsetAudioLocationChanged ¶
func (p *BluetoothVolumeControlCallbackProxy) OnVolumeOffsetAudioLocationChanged( ctx context.Context, device BluetoothDevice, instanceId int32, audioLocation int32, ) error
func (*BluetoothVolumeControlCallbackProxy) OnVolumeOffsetChanged ¶
func (p *BluetoothVolumeControlCallbackProxy) OnVolumeOffsetChanged( ctx context.Context, device BluetoothDevice, instanceId int32, volumeOffset int32, ) error
type BluetoothVolumeControlCallbackStub ¶
type BluetoothVolumeControlCallbackStub struct {
Impl IBluetoothVolumeControlCallback
Transport binder.VersionAwareTransport
}
BluetoothVolumeControlCallbackStub dispatches incoming binder transactions to a typed IBluetoothVolumeControlCallback implementation.
func (*BluetoothVolumeControlCallbackStub) Descriptor ¶
func (s *BluetoothVolumeControlCallbackStub) Descriptor() string
func (*BluetoothVolumeControlCallbackStub) OnTransaction ¶
func (s *BluetoothVolumeControlCallbackStub) OnTransaction( ctx context.Context, code binder.TransactionCode, _data *parcel.Parcel, ) (*parcel.Parcel, error)
type BluetoothVolumeControlProxy ¶
func NewBluetoothVolumeControlProxy ¶
func NewBluetoothVolumeControlProxy( remote binder.IBinder, ) *BluetoothVolumeControlProxy
func (*BluetoothVolumeControlProxy) AsBinder ¶
func (p *BluetoothVolumeControlProxy) AsBinder() binder.IBinder
func (*BluetoothVolumeControlProxy) GetAudioInputDescription ¶ added in v0.0.7
func (p *BluetoothVolumeControlProxy) GetAudioInputDescription( ctx context.Context, attributionSource content.AttributionSource, device BluetoothDevice, instanceId int32, ) (string, error)
func (*BluetoothVolumeControlProxy) GetAudioInputGainMode ¶ added in v0.0.7
func (p *BluetoothVolumeControlProxy) GetAudioInputGainMode( ctx context.Context, attributionSource content.AttributionSource, device BluetoothDevice, instanceId int32, ) (int32, error)
func (*BluetoothVolumeControlProxy) GetAudioInputGainSetting ¶ added in v0.0.7
func (p *BluetoothVolumeControlProxy) GetAudioInputGainSetting( ctx context.Context, attributionSource content.AttributionSource, device BluetoothDevice, instanceId int32, ) (int32, error)
func (*BluetoothVolumeControlProxy) GetAudioInputGainSettingMax ¶ added in v0.0.7
func (p *BluetoothVolumeControlProxy) GetAudioInputGainSettingMax( ctx context.Context, attributionSource content.AttributionSource, device BluetoothDevice, instanceId int32, ) (int32, error)
func (*BluetoothVolumeControlProxy) GetAudioInputGainSettingMin ¶ added in v0.0.7
func (p *BluetoothVolumeControlProxy) GetAudioInputGainSettingMin( ctx context.Context, attributionSource content.AttributionSource, device BluetoothDevice, instanceId int32, ) (int32, error)
func (*BluetoothVolumeControlProxy) GetAudioInputGainSettingUnit ¶ added in v0.0.7
func (p *BluetoothVolumeControlProxy) GetAudioInputGainSettingUnit( ctx context.Context, attributionSource content.AttributionSource, device BluetoothDevice, instanceId int32, ) (int32, error)
func (*BluetoothVolumeControlProxy) GetAudioInputMute ¶ added in v0.0.7
func (p *BluetoothVolumeControlProxy) GetAudioInputMute( ctx context.Context, attributionSource content.AttributionSource, device BluetoothDevice, instanceId int32, ) (int32, error)
func (*BluetoothVolumeControlProxy) GetAudioInputStatus ¶ added in v0.0.7
func (p *BluetoothVolumeControlProxy) GetAudioInputStatus( ctx context.Context, attributionSource content.AttributionSource, device BluetoothDevice, instanceId int32, ) (int32, error)
func (*BluetoothVolumeControlProxy) GetAudioInputType ¶ added in v0.0.7
func (p *BluetoothVolumeControlProxy) GetAudioInputType( ctx context.Context, attributionSource content.AttributionSource, device BluetoothDevice, instanceId int32, ) (int32, error)
func (*BluetoothVolumeControlProxy) GetConnectedDevices ¶
func (p *BluetoothVolumeControlProxy) GetConnectedDevices( ctx context.Context, attributionSource content.AttributionSource, ) ([]BluetoothDevice, error)
func (*BluetoothVolumeControlProxy) GetConnectionPolicy ¶
func (p *BluetoothVolumeControlProxy) GetConnectionPolicy( ctx context.Context, device BluetoothDevice, attributionSource content.AttributionSource, ) (int32, error)
func (*BluetoothVolumeControlProxy) GetConnectionState ¶
func (p *BluetoothVolumeControlProxy) GetConnectionState( ctx context.Context, device BluetoothDevice, attributionSource content.AttributionSource, ) (int32, error)
func (*BluetoothVolumeControlProxy) GetDevicesMatchingConnectionStates ¶
func (p *BluetoothVolumeControlProxy) GetDevicesMatchingConnectionStates( ctx context.Context, states []int32, attributionSource content.AttributionSource, ) ([]BluetoothDevice, error)
func (*BluetoothVolumeControlProxy) GetNumberOfAudioInputControlServices ¶ added in v0.0.7
func (p *BluetoothVolumeControlProxy) GetNumberOfAudioInputControlServices( ctx context.Context, attributionSource content.AttributionSource, device BluetoothDevice, ) (int32, error)
func (*BluetoothVolumeControlProxy) GetNumberOfVolumeOffsetInstances ¶
func (p *BluetoothVolumeControlProxy) GetNumberOfVolumeOffsetInstances( ctx context.Context, device BluetoothDevice, attributionSource content.AttributionSource, ) (int32, error)
func (*BluetoothVolumeControlProxy) IsAudioInputDescriptionWritable ¶ added in v0.0.7
func (p *BluetoothVolumeControlProxy) IsAudioInputDescriptionWritable( ctx context.Context, attributionSource content.AttributionSource, device BluetoothDevice, instanceId int32, ) (bool, error)
func (*BluetoothVolumeControlProxy) IsVolumeOffsetAvailable ¶
func (p *BluetoothVolumeControlProxy) IsVolumeOffsetAvailable( ctx context.Context, device BluetoothDevice, attributionSource content.AttributionSource, ) (bool, error)
func (*BluetoothVolumeControlProxy) NotifyNewRegisteredCallback ¶
func (p *BluetoothVolumeControlProxy) NotifyNewRegisteredCallback( ctx context.Context, callback IBluetoothVolumeControlCallback, attributionSource content.AttributionSource, ) error
func (*BluetoothVolumeControlProxy) RegisterAudioInputControlCallback ¶ added in v0.0.7
func (p *BluetoothVolumeControlProxy) RegisterAudioInputControlCallback( ctx context.Context, attributionSource content.AttributionSource, device BluetoothDevice, instanceId int32, callback IAudioInputCallback, ) error
func (*BluetoothVolumeControlProxy) RegisterCallback ¶
func (p *BluetoothVolumeControlProxy) RegisterCallback( ctx context.Context, callback IBluetoothVolumeControlCallback, attributionSource content.AttributionSource, ) error
func (*BluetoothVolumeControlProxy) SetAudioInputDescription ¶ added in v0.0.7
func (p *BluetoothVolumeControlProxy) SetAudioInputDescription( ctx context.Context, attributionSource content.AttributionSource, device BluetoothDevice, instanceId int32, description string, ) (bool, error)
func (*BluetoothVolumeControlProxy) SetAudioInputGainMode ¶ added in v0.0.7
func (p *BluetoothVolumeControlProxy) SetAudioInputGainMode( ctx context.Context, attributionSource content.AttributionSource, device BluetoothDevice, instanceId int32, gainMode int32, ) (bool, error)
func (*BluetoothVolumeControlProxy) SetAudioInputGainSetting ¶ added in v0.0.7
func (p *BluetoothVolumeControlProxy) SetAudioInputGainSetting( ctx context.Context, attributionSource content.AttributionSource, device BluetoothDevice, instanceId int32, gainSetting int32, ) (bool, error)
func (*BluetoothVolumeControlProxy) SetAudioInputMute ¶ added in v0.0.7
func (p *BluetoothVolumeControlProxy) SetAudioInputMute( ctx context.Context, attributionSource content.AttributionSource, device BluetoothDevice, instanceId int32, mute int32, ) (bool, error)
func (*BluetoothVolumeControlProxy) SetConnectionPolicy ¶
func (p *BluetoothVolumeControlProxy) SetConnectionPolicy( ctx context.Context, device BluetoothDevice, connectionPolicy int32, attributionSource content.AttributionSource, ) (bool, error)
func (*BluetoothVolumeControlProxy) SetDeviceVolume ¶
func (p *BluetoothVolumeControlProxy) SetDeviceVolume( ctx context.Context, device BluetoothDevice, volume int32, isGroupOp bool, attributionSource content.AttributionSource, ) error
func (*BluetoothVolumeControlProxy) SetVolumeOffset ¶
func (p *BluetoothVolumeControlProxy) SetVolumeOffset( ctx context.Context, device BluetoothDevice, instanceId int32, volumeOffset int32, attributionSource content.AttributionSource, ) error
func (*BluetoothVolumeControlProxy) UnregisterAudioInputControlCallback ¶ added in v0.0.7
func (p *BluetoothVolumeControlProxy) UnregisterAudioInputControlCallback( ctx context.Context, attributionSource content.AttributionSource, device BluetoothDevice, instanceId int32, callback IAudioInputCallback, ) error
func (*BluetoothVolumeControlProxy) UnregisterCallback ¶
func (p *BluetoothVolumeControlProxy) UnregisterCallback( ctx context.Context, callback IBluetoothVolumeControlCallback, attributionSource content.AttributionSource, ) error
type BluetoothVolumeControlStub ¶
type BluetoothVolumeControlStub struct {
Impl IBluetoothVolumeControl
Transport binder.VersionAwareTransport
}
BluetoothVolumeControlStub dispatches incoming binder transactions to a typed IBluetoothVolumeControl implementation.
func (*BluetoothVolumeControlStub) Descriptor ¶
func (s *BluetoothVolumeControlStub) Descriptor() string
func (*BluetoothVolumeControlStub) OnTransaction ¶
func (s *BluetoothVolumeControlStub) OnTransaction( ctx context.Context, code binder.TransactionCode, _data *parcel.Parcel, ) (*parcel.Parcel, error)
type BufferConstraints ¶
type BufferConstraints struct {
}
func (*BufferConstraints) MarshalParcel ¶
func (s *BufferConstraints) MarshalParcel( p *parcel.Parcel, ) error
func (*BufferConstraints) UnmarshalParcel ¶
func (s *BufferConstraints) UnmarshalParcel( p *parcel.Parcel, ) error
type DistanceMeasurementProxy ¶ added in v0.0.7
func NewDistanceMeasurementProxy ¶ added in v0.0.7
func NewDistanceMeasurementProxy( remote binder.IBinder, ) *DistanceMeasurementProxy
func (*DistanceMeasurementProxy) AsBinder ¶ added in v0.0.7
func (p *DistanceMeasurementProxy) AsBinder() binder.IBinder
func (*DistanceMeasurementProxy) GetChannelSoundingMaxSupportedSecurityLevel ¶ added in v0.0.7
func (p *DistanceMeasurementProxy) GetChannelSoundingMaxSupportedSecurityLevel( ctx context.Context, remoteDevice BluetoothDevice, attributionSource content.AttributionSource, ) (int32, error)
func (*DistanceMeasurementProxy) GetChannelSoundingSupportedSecurityLevels ¶ added in v0.0.7
func (p *DistanceMeasurementProxy) GetChannelSoundingSupportedSecurityLevels( ctx context.Context, attributionSource content.AttributionSource, ) ([]int32, error)
func (*DistanceMeasurementProxy) GetLocalChannelSoundingMaxSupportedSecurityLevel ¶ added in v0.0.7
func (p *DistanceMeasurementProxy) GetLocalChannelSoundingMaxSupportedSecurityLevel( ctx context.Context, attributionSource content.AttributionSource, ) (int32, error)
func (*DistanceMeasurementProxy) GetSupportedDistanceMeasurementMethods ¶ added in v0.0.7
func (p *DistanceMeasurementProxy) GetSupportedDistanceMeasurementMethods( ctx context.Context, attributionSource content.AttributionSource, ) ([]le.DistanceMeasurementMethod, error)
func (*DistanceMeasurementProxy) StartDistanceMeasurement ¶ added in v0.0.7
func (p *DistanceMeasurementProxy) StartDistanceMeasurement( ctx context.Context, uuid os.ParcelUuid, params le.DistanceMeasurementParams, callback le.IDistanceMeasurementCallback, attributionSource content.AttributionSource, ) error
func (*DistanceMeasurementProxy) StopDistanceMeasurement ¶ added in v0.0.7
func (p *DistanceMeasurementProxy) StopDistanceMeasurement( ctx context.Context, uuid os.ParcelUuid, device BluetoothDevice, method int32, attributionSource content.AttributionSource, ) (int32, error)
type DistanceMeasurementStub ¶ added in v0.0.7
type DistanceMeasurementStub struct {
Impl IDistanceMeasurement
Transport binder.VersionAwareTransport
}
DistanceMeasurementStub dispatches incoming binder transactions to a typed IDistanceMeasurement implementation.
func (*DistanceMeasurementStub) Descriptor ¶ added in v0.0.7
func (s *DistanceMeasurementStub) Descriptor() string
func (*DistanceMeasurementStub) OnTransaction ¶ added in v0.0.7
func (s *DistanceMeasurementStub) OnTransaction( ctx context.Context, code binder.TransactionCode, _data *parcel.Parcel, ) (*parcel.Parcel, error)
type EncryptionStatusInnerParcel ¶ added in v0.0.7
type EncryptionStatusInnerParcel struct {
}
func (*EncryptionStatusInnerParcel) MarshalParcel ¶ added in v0.0.7
func (s *EncryptionStatusInnerParcel) MarshalParcel( p *parcel.Parcel, ) error
func (*EncryptionStatusInnerParcel) UnmarshalParcel ¶ added in v0.0.7
func (s *EncryptionStatusInnerParcel) UnmarshalParcel( p *parcel.Parcel, ) error
type IAdapter ¶ added in v0.0.7
type IAdapter interface {
AsBinder() binder.IBinder
OffToBleOn(ctx context.Context, quietMode bool, hciInstanceName string) error
OnToBleOn(ctx context.Context) error
BleOnToOn(ctx context.Context) error
BleOnToOff(ctx context.Context) error
RegisterCallback(ctx context.Context, callback IBluetoothCallback) error
UnregisterCallback(ctx context.Context, callback IBluetoothCallback) error
UnregAllGattClient(ctx context.Context) error
KillBluetoothProcess(ctx context.Context) error
}
func NewAdapterStub ¶ added in v0.0.7
func NewAdapterStub( impl IAdapterServer, ) IAdapter
NewAdapterStub creates a server-side IAdapter wrapping the given server implementation. The returned value satisfies IAdapter and can be passed to proxy methods; its AsBinder() returns a *binder.StubBinder that is auto-registered with the binder driver on first use.
type IAdapterServer ¶ added in v0.0.7
type IAdapterServer interface {
OffToBleOn(ctx context.Context, quietMode bool, hciInstanceName string) error
OnToBleOn(ctx context.Context) error
BleOnToOn(ctx context.Context) error
BleOnToOff(ctx context.Context) error
RegisterCallback(ctx context.Context, callback IBluetoothCallback) error
UnregisterCallback(ctx context.Context, callback IBluetoothCallback) error
UnregAllGattClient(ctx context.Context) error
KillBluetoothProcess(ctx context.Context) error
}
IAdapterServer is the server-side interface that user implementations provide to NewAdapterStub. It contains only the business methods, without AsBinder (which is provided by the stub itself).
type IAudioInputCallback ¶ added in v0.0.7
type IAudioInputCallback interface {
AsBinder() binder.IBinder
OnDescriptionChanged(ctx context.Context, description string) error
OnStatusChanged(ctx context.Context, status int32) error
OnStateChanged(ctx context.Context, gainSetting int32, mute int32, gainMode int32) error
OnSetGainSettingFailed(ctx context.Context) error
OnSetGainModeFailed(ctx context.Context) error
OnSetMuteFailed(ctx context.Context) error
}
func NewAudioInputCallbackStub ¶ added in v0.0.7
func NewAudioInputCallbackStub( impl IAudioInputCallbackServer, ) IAudioInputCallback
NewAudioInputCallbackStub creates a server-side IAudioInputCallback wrapping the given server implementation. The returned value satisfies IAudioInputCallback and can be passed to proxy methods; its AsBinder() returns a *binder.StubBinder that is auto-registered with the binder driver on first use.
type IAudioInputCallbackServer ¶ added in v0.0.7
type IAudioInputCallbackServer interface {
OnDescriptionChanged(ctx context.Context, description string) error
OnStatusChanged(ctx context.Context, status int32) error
OnStateChanged(ctx context.Context, gainSetting int32, mute int32, gainMode int32) error
OnSetGainSettingFailed(ctx context.Context) error
OnSetGainModeFailed(ctx context.Context) error
OnSetMuteFailed(ctx context.Context) error
}
IAudioInputCallbackServer is the server-side interface that user implementations provide to NewAudioInputCallbackStub. It contains only the business methods, without AsBinder (which is provided by the stub itself).
type IBluetooth ¶
type IBluetooth interface {
AsBinder() binder.IBinder
GetUuids(ctx context.Context, attributionSource content.AttributionSource) ([]os.ParcelUuid, error)
SetName(ctx context.Context, name string, attributionSource content.AttributionSource) (bool, error)
GetIdentityAddress(ctx context.Context, address string) (string, error)
GetIdentityAddressWithType(ctx context.Context, address string) (BluetoothDeviceBluetoothAddress, error)
GetName(ctx context.Context, attributionSource content.AttributionSource) (string, error)
GetNameLengthForAdvertise(ctx context.Context, attributionSource content.AttributionSource) (int32, error)
GetScanMode(ctx context.Context, attributionSource content.AttributionSource) (int32, error)
SetScanMode(ctx context.Context, mode int32, attributionSource content.AttributionSource) (int32, error)
GetDiscoverableTimeout(ctx context.Context, attributionSource content.AttributionSource) (int64, error)
SetDiscoverableTimeout(ctx context.Context, timeout int64, attributionSource content.AttributionSource) (int32, error)
StartDiscovery(ctx context.Context, attributionSource content.AttributionSource) (bool, error)
CancelDiscovery(ctx context.Context, attributionSource content.AttributionSource) (bool, error)
IsDiscovering(ctx context.Context, attributionSource content.AttributionSource) (bool, error)
GetDiscoveryEndMillis(ctx context.Context, attributionSource content.AttributionSource) (int64, error)
GetAdapterConnectionState(ctx context.Context) (int32, error)
GetProfileConnectionState(ctx context.Context, profile int32, source content.AttributionSource) (int32, error)
GetBondedDevices(ctx context.Context, attributionSource content.AttributionSource) ([]BluetoothDevice, error)
CreateBond(ctx context.Context, device BluetoothDevice, transport int32, attributionSource content.AttributionSource) (bool, error)
CreateBondOutOfBand(ctx context.Context, device BluetoothDevice, transport int32, p192Data OobData, p256Data OobData, attributionSource content.AttributionSource) (bool, error)
CancelBondProcess(ctx context.Context, device BluetoothDevice, attributionSource content.AttributionSource) (bool, error)
RemoveBond(ctx context.Context, device BluetoothDevice, attributionSource content.AttributionSource) (bool, error)
GetBondState(ctx context.Context, device BluetoothDevice, attributionSource content.AttributionSource) (int32, error)
IsBondingInitiatedLocally(ctx context.Context, device BluetoothDevice, attributionSource content.AttributionSource) (bool, error)
GetSupportedProfiles(ctx context.Context, attributionSource content.AttributionSource) ([]int32, error)
GetConnectionState(ctx context.Context, device BluetoothDevice, attributionSource content.AttributionSource) (int32, error)
GetConnectionHandle(ctx context.Context, device BluetoothDevice, transport int32, attributionSource content.AttributionSource) (int32, error)
GetRemoteName(ctx context.Context, device BluetoothDevice, attributionSource content.AttributionSource) (string, error)
GetRemoteType(ctx context.Context, device BluetoothDevice, attributionSource content.AttributionSource) (int32, error)
GetRemoteAlias(ctx context.Context, device BluetoothDevice, attributionSource content.AttributionSource) (string, error)
SetRemoteAlias(ctx context.Context, device BluetoothDevice, name string, attributionSource content.AttributionSource) (int32, error)
GetRemoteClass(ctx context.Context, device BluetoothDevice, attributionSource content.AttributionSource) (int32, error)
GetRemoteUuids(ctx context.Context, device BluetoothDevice, attributionSource content.AttributionSource) ([]os.ParcelUuid, error)
FetchRemoteUuids(ctx context.Context, device BluetoothDevice, transport int32, attributionSource content.AttributionSource) (bool, error)
SdpSearch(ctx context.Context, device BluetoothDevice, uuid os.ParcelUuid, attributionSource content.AttributionSource) (bool, error)
GetBatteryLevel(ctx context.Context, device BluetoothDevice, attributionSource content.AttributionSource) (int32, error)
GetMaxConnectedAudioDevices(ctx context.Context, attributionSource content.AttributionSource) (int32, error)
SetPin(ctx context.Context, device BluetoothDevice, accept bool, len_ int32, pinCode []byte, attributionSource content.AttributionSource) (bool, error)
SetPasskey(ctx context.Context, device BluetoothDevice, accept bool, len_ int32, passkey []byte, attributionSource content.AttributionSource) (bool, error)
SetPairingConfirmation(ctx context.Context, device BluetoothDevice, accept bool, attributionSource content.AttributionSource) (bool, error)
GetPhonebookAccessPermission(ctx context.Context, device BluetoothDevice, attributionSource content.AttributionSource) (int32, error)
SetSilenceMode(ctx context.Context, device BluetoothDevice, silence bool, attributionSource content.AttributionSource) (bool, error)
GetSilenceMode(ctx context.Context, device BluetoothDevice, attributionSource content.AttributionSource) (bool, error)
SetPhonebookAccessPermission(ctx context.Context, device BluetoothDevice, value int32, attributionSource content.AttributionSource) (bool, error)
GetMessageAccessPermission(ctx context.Context, device BluetoothDevice, attributionSource content.AttributionSource) (int32, error)
SetMessageAccessPermission(ctx context.Context, device BluetoothDevice, value int32, attributionSource content.AttributionSource) (bool, error)
GetSimAccessPermission(ctx context.Context, device BluetoothDevice, attributionSource content.AttributionSource) (int32, error)
SetSimAccessPermission(ctx context.Context, device BluetoothDevice, value int32, attributionSource content.AttributionSource) (bool, error)
LogL2capcocServerConnection(ctx context.Context, device BluetoothDevice, port int32, isSecured bool, result int32, socketCreationTimeMillis int64, socketCreationLatencyMillis int64, socketConnectionTimeMillis int64, timeoutMillis int64) error
GetSocketManager(ctx context.Context) (IBluetoothSocketManager, error)
LogL2capcocClientConnection(ctx context.Context, device BluetoothDevice, port int32, isSecured bool, result int32, socketCreationTimeNanos int64, socketCreationLatencyNanos int64, socketConnectionTimeNanos int64) error
IsMultiAdvertisementSupported(ctx context.Context) (bool, error)
IsOffloadedFilteringSupported(ctx context.Context) (bool, error)
IsOffloadedScanBatchingSupported(ctx context.Context) (bool, error)
IsActivityAndEnergyReportingSupported(ctx context.Context) (bool, error)
IsLe2MPhySupported(ctx context.Context) (bool, error)
IsLeCodedPhySupported(ctx context.Context) (bool, error)
IsLeExtendedAdvertisingSupported(ctx context.Context) (bool, error)
IsLePeriodicAdvertisingSupported(ctx context.Context) (bool, error)
IsLeAudioSupported(ctx context.Context) (bool, error)
IsLeAudioBroadcastSourceSupported(ctx context.Context) (bool, error)
IsLeAudioBroadcastAssistantSupported(ctx context.Context) (bool, error)
IsDistanceMeasurementSupported(ctx context.Context, attributionSource content.AttributionSource) (int32, error)
GetLeMaximumAdvertisingDataLength(ctx context.Context) (int32, error)
RegisterMetadataListener(ctx context.Context, listener IBluetoothMetadataListener, device BluetoothDevice, attributionSource content.AttributionSource) (bool, error)
UnregisterMetadataListener(ctx context.Context, listener IBluetoothMetadataListener, device BluetoothDevice, attributionSource content.AttributionSource) (bool, error)
SetMetadata(ctx context.Context, device BluetoothDevice, key int32, value []byte, attributionSource content.AttributionSource) (bool, error)
GetMetadata(ctx context.Context, device BluetoothDevice, key int32, attributionSource content.AttributionSource) ([]byte, error)
RequestActivityInfo(ctx context.Context, listener IBluetoothActivityEnergyInfoListener, attributionSource content.AttributionSource) error
ConnectAllEnabledProfiles(ctx context.Context, device BluetoothDevice, attributionSource content.AttributionSource) (int32, error)
DisconnectAllEnabledProfiles(ctx context.Context, device BluetoothDevice, attributionSource content.AttributionSource) (int32, error)
SetActiveDevice(ctx context.Context, device BluetoothDevice, profiles int32, attributionSource content.AttributionSource) (bool, error)
GetActiveDevices(ctx context.Context, profile int32, attributionSource content.AttributionSource) ([]BluetoothDevice, error)
GetMostRecentlyConnectedDevices(ctx context.Context, attributionSource content.AttributionSource) ([]BluetoothDevice, error)
RemoveActiveDevice(ctx context.Context, profiles int32, attributionSource content.AttributionSource) (bool, error)
RegisterBluetoothConnectionCallback(ctx context.Context, callback IBluetoothConnectionCallback, attributionSource content.AttributionSource) error
UnregisterBluetoothConnectionCallback(ctx context.Context, callback IBluetoothConnectionCallback, attributionSource content.AttributionSource) error
CanBondWithoutDialog(ctx context.Context, device BluetoothDevice, attributionSource content.AttributionSource) (bool, error)
GetPackageNameOfBondingApplication(ctx context.Context, device BluetoothDevice, attributionSource content.AttributionSource) (string, error)
GenerateLocalOobData(ctx context.Context, transport int32, callback IBluetoothOobDataCallback, attributionSource content.AttributionSource) error
AllowLowLatencyAudio(ctx context.Context, allowed bool, device BluetoothDevice) (bool, error)
IsRequestAudioPolicyAsSinkSupported(ctx context.Context, device BluetoothDevice, attributionSource content.AttributionSource) (int32, error)
RequestAudioPolicyAsSink(ctx context.Context, device BluetoothDevice, policies BluetoothSinkAudioPolicy, attributionSource content.AttributionSource) (int32, error)
GetRequestedAudioPolicyAsSink(ctx context.Context, device BluetoothDevice, attributionSource content.AttributionSource) (BluetoothSinkAudioPolicy, error)
StartRfcommListener(ctx context.Context, name string, uuid os.ParcelUuid, intent types.PendingIntent, attributionSource content.AttributionSource) (int32, error)
StopRfcommListener(ctx context.Context, uuid os.ParcelUuid, attributionSource content.AttributionSource) (int32, error)
RetrievePendingSocketForServiceRecord(ctx context.Context, uuid os.ParcelUuid, attributionSource content.AttributionSource) (IncomingRfcommSocketInfo, error)
SetPreferredAudioProfiles(ctx context.Context, device BluetoothDevice, modeToProfileBundle os.Bundle, source content.AttributionSource) (int32, error)
GetPreferredAudioProfiles(ctx context.Context, device BluetoothDevice, source content.AttributionSource) (os.Bundle, error)
IsDualModeAudioEnabled(ctx context.Context, attributionSource content.AttributionSource) (int32, error)
RegisterPreferredAudioProfilesChangedCallback(ctx context.Context, callback IBluetoothPreferredAudioProfilesCallback, attributionSource content.AttributionSource) (int32, error)
UnregisterPreferredAudioProfilesChangedCallback(ctx context.Context, callback IBluetoothPreferredAudioProfilesCallback, attributionSource content.AttributionSource) (int32, error)
NotifyActiveDeviceChangeApplied(ctx context.Context, device BluetoothDevice, attributionSource content.AttributionSource) (int32, error)
RegisterBluetoothQualityReportReadyCallback(ctx context.Context, callback IBluetoothQualityReportReadyCallback, attributionSource content.AttributionSource) (int32, error)
UnregisterBluetoothQualityReportReadyCallback(ctx context.Context, callback IBluetoothQualityReportReadyCallback, attributionSource content.AttributionSource) (int32, error)
RegisterHciVendorSpecificCallback(ctx context.Context, callback IBluetoothHciVendorSpecificCallback, eventCodes []int32) error
UnregisterHciVendorSpecificCallback(ctx context.Context, callback IBluetoothHciVendorSpecificCallback) error
SendHciVendorSpecificCommand(ctx context.Context, ocf int32, parameters []byte, callback IBluetoothHciVendorSpecificCallback) error
GetOffloadedTransportDiscoveryDataScanSupported(ctx context.Context, attributionSource content.AttributionSource) (int32, error)
GetBluetoothGatt(ctx context.Context) (binder.IBinder, error)
GetBluetoothScan(ctx context.Context) (binder.IBinder, error)
GetProfile(ctx context.Context, profile int32) (binder.IBinder, error)
GetProfileOneway(ctx context.Context, profile int32, callback IBluetoothProfileCallback) error
SetActiveAudioDevicePolicy(ctx context.Context, device BluetoothDevice, activeAudioDevicePolicy int32, source content.AttributionSource) (int32, error)
GetActiveAudioDevicePolicy(ctx context.Context, device BluetoothDevice, source content.AttributionSource) (int32, error)
SetMicrophonePreferredForCalls(ctx context.Context, device BluetoothDevice, enabled bool, source content.AttributionSource) (int32, error)
IsMicrophonePreferredForCalls(ctx context.Context, device BluetoothDevice, source content.AttributionSource) (bool, error)
SetOnHeadDetectionEnabled(ctx context.Context, device BluetoothDevice, enableState int32, source content.AttributionSource) (int32, error)
SetOnHead(ctx context.Context, device BluetoothDevice, state int32, source content.AttributionSource) (int32, error)
IsLeCocSocketOffloadSupported(ctx context.Context, source content.AttributionSource) (bool, error)
IsRfcommSocketOffloadSupported(ctx context.Context, source content.AttributionSource) (bool, error)
GetBluetoothAdvertise(ctx context.Context) (binder.IBinder, error)
GetDistanceMeasurement(ctx context.Context) (binder.IBinder, error)
GetKeyMissingCount(ctx context.Context, device BluetoothDevice, source content.AttributionSource) (int32, error)
GetEncryptionStatus(ctx context.Context, device BluetoothDevice, source content.AttributionSource, transport int32) (EncryptionStatusInnerParcel, error)
IsConnected(ctx context.Context, device BluetoothDevice, source content.AttributionSource, transport int32) (bool, error)
}
func NewBluetoothStub ¶
func NewBluetoothStub( impl IBluetoothServer, ) IBluetooth
NewBluetoothStub creates a server-side IBluetooth wrapping the given server implementation. The returned value satisfies IBluetooth and can be passed to proxy methods; its AsBinder() returns a *binder.StubBinder that is auto-registered with the binder driver on first use.
type IBluetoothA2dp ¶
type IBluetoothA2dp interface {
AsBinder() binder.IBinder
Connect(ctx context.Context, device BluetoothDevice, attributionSource content.AttributionSource) (bool, error)
Disconnect(ctx context.Context, device BluetoothDevice, attributionSource content.AttributionSource) (bool, error)
GetConnectedDevices(ctx context.Context, attributionSource content.AttributionSource) ([]BluetoothDevice, error)
GetDevicesMatchingConnectionStates(ctx context.Context, states []int32, attributionSource content.AttributionSource) ([]BluetoothDevice, error)
GetConnectionState(ctx context.Context, device BluetoothDevice, attributionSource content.AttributionSource) (int32, error)
SetActiveDevice(ctx context.Context, device BluetoothDevice, attributionSource content.AttributionSource) (bool, error)
GetActiveDevice(ctx context.Context, attributionSource content.AttributionSource) (BluetoothDevice, error)
SetConnectionPolicy(ctx context.Context, device BluetoothDevice, connectionPolicy int32, attributionSource content.AttributionSource) (bool, error)
GetConnectionPolicy(ctx context.Context, device BluetoothDevice, attributionSource content.AttributionSource) (int32, error)
SetAvrcpAbsoluteVolume(ctx context.Context, volume int32, attributionSource content.AttributionSource) error
IsA2dpPlaying(ctx context.Context, device BluetoothDevice, attributionSource content.AttributionSource) (bool, error)
GetSupportedCodecTypes(ctx context.Context) ([]BluetoothCodecType, error)
GetCodecStatus(ctx context.Context, device BluetoothDevice, attributionSource content.AttributionSource) (BluetoothCodecStatus, error)
SetCodecConfigPreference(ctx context.Context, device BluetoothDevice, codecConfig BluetoothCodecConfig, attributionSource content.AttributionSource) error
EnableOptionalCodecs(ctx context.Context, device BluetoothDevice, attributionSource content.AttributionSource) error
DisableOptionalCodecs(ctx context.Context, device BluetoothDevice, attributionSource content.AttributionSource) error
IsOptionalCodecsSupported(ctx context.Context, device BluetoothDevice, attributionSource content.AttributionSource) (int32, error)
IsOptionalCodecsEnabled(ctx context.Context, device BluetoothDevice, attributionSource content.AttributionSource) (int32, error)
SetOptionalCodecsEnabled(ctx context.Context, device BluetoothDevice, value int32, attributionSource content.AttributionSource) error
GetDynamicBufferSupport(ctx context.Context, attributionSource content.AttributionSource) (int32, error)
GetBufferConstraints(ctx context.Context, attributionSource content.AttributionSource) (BufferConstraints, error)
SetBufferLengthMillis(ctx context.Context, codec int32, size int32, attributionSource content.AttributionSource) (bool, error)
}
func NewBluetoothA2dpStub ¶
func NewBluetoothA2dpStub( impl IBluetoothA2dpServer, ) IBluetoothA2dp
NewBluetoothA2dpStub creates a server-side IBluetoothA2dp wrapping the given server implementation. The returned value satisfies IBluetoothA2dp and can be passed to proxy methods; its AsBinder() returns a *binder.StubBinder that is auto-registered with the binder driver on first use.
type IBluetoothA2dpServer ¶
type IBluetoothA2dpServer interface {
Connect(ctx context.Context, device BluetoothDevice, attributionSource content.AttributionSource) (bool, error)
Disconnect(ctx context.Context, device BluetoothDevice, attributionSource content.AttributionSource) (bool, error)
GetConnectedDevices(ctx context.Context, attributionSource content.AttributionSource) ([]BluetoothDevice, error)
GetDevicesMatchingConnectionStates(ctx context.Context, states []int32, attributionSource content.AttributionSource) ([]BluetoothDevice, error)
GetConnectionState(ctx context.Context, device BluetoothDevice, attributionSource content.AttributionSource) (int32, error)
SetActiveDevice(ctx context.Context, device BluetoothDevice, attributionSource content.AttributionSource) (bool, error)
GetActiveDevice(ctx context.Context, attributionSource content.AttributionSource) (BluetoothDevice, error)
SetConnectionPolicy(ctx context.Context, device BluetoothDevice, connectionPolicy int32, attributionSource content.AttributionSource) (bool, error)
GetConnectionPolicy(ctx context.Context, device BluetoothDevice, attributionSource content.AttributionSource) (int32, error)
SetAvrcpAbsoluteVolume(ctx context.Context, volume int32, attributionSource content.AttributionSource) error
IsA2dpPlaying(ctx context.Context, device BluetoothDevice, attributionSource content.AttributionSource) (bool, error)
GetSupportedCodecTypes(ctx context.Context) ([]BluetoothCodecType, error)
GetCodecStatus(ctx context.Context, device BluetoothDevice, attributionSource content.AttributionSource) (BluetoothCodecStatus, error)
SetCodecConfigPreference(ctx context.Context, device BluetoothDevice, codecConfig BluetoothCodecConfig, attributionSource content.AttributionSource) error
EnableOptionalCodecs(ctx context.Context, device BluetoothDevice, attributionSource content.AttributionSource) error
DisableOptionalCodecs(ctx context.Context, device BluetoothDevice, attributionSource content.AttributionSource) error
IsOptionalCodecsSupported(ctx context.Context, device BluetoothDevice, attributionSource content.AttributionSource) (int32, error)
IsOptionalCodecsEnabled(ctx context.Context, device BluetoothDevice, attributionSource content.AttributionSource) (int32, error)
SetOptionalCodecsEnabled(ctx context.Context, device BluetoothDevice, value int32, attributionSource content.AttributionSource) error
GetDynamicBufferSupport(ctx context.Context, attributionSource content.AttributionSource) (int32, error)
GetBufferConstraints(ctx context.Context, attributionSource content.AttributionSource) (BufferConstraints, error)
SetBufferLengthMillis(ctx context.Context, codec int32, size int32, attributionSource content.AttributionSource) (bool, error)
}
IBluetoothA2dpServer is the server-side interface that user implementations provide to NewBluetoothA2dpStub. It contains only the business methods, without AsBinder (which is provided by the stub itself).
type IBluetoothA2dpSink ¶
type IBluetoothA2dpSink interface {
AsBinder() binder.IBinder
Connect(ctx context.Context, device BluetoothDevice, attributionSource content.AttributionSource) (bool, error)
Disconnect(ctx context.Context, device BluetoothDevice, attributionSource content.AttributionSource) (bool, error)
GetConnectedDevices(ctx context.Context, attributionSource content.AttributionSource) ([]BluetoothDevice, error)
GetDevicesMatchingConnectionStates(ctx context.Context, states []int32, attributionSource content.AttributionSource) ([]BluetoothDevice, error)
GetConnectionState(ctx context.Context, device BluetoothDevice, attributionSource content.AttributionSource) (int32, error)
GetAudioConfig(ctx context.Context, device BluetoothDevice, attributionSource content.AttributionSource) (BluetoothAudioConfig, error)
SetConnectionPolicy(ctx context.Context, device BluetoothDevice, connectionPolicy int32, attributionSource content.AttributionSource) (bool, error)
GetConnectionPolicy(ctx context.Context, device BluetoothDevice, attributionSource content.AttributionSource) (int32, error)
IsA2dpPlaying(ctx context.Context, device BluetoothDevice, attributionSource content.AttributionSource) (bool, error)
}
func NewBluetoothA2dpSinkStub ¶
func NewBluetoothA2dpSinkStub( impl IBluetoothA2dpSinkServer, ) IBluetoothA2dpSink
NewBluetoothA2dpSinkStub creates a server-side IBluetoothA2dpSink wrapping the given server implementation. The returned value satisfies IBluetoothA2dpSink and can be passed to proxy methods; its AsBinder() returns a *binder.StubBinder that is auto-registered with the binder driver on first use.
type IBluetoothA2dpSinkServer ¶
type IBluetoothA2dpSinkServer interface {
Connect(ctx context.Context, device BluetoothDevice, attributionSource content.AttributionSource) (bool, error)
Disconnect(ctx context.Context, device BluetoothDevice, attributionSource content.AttributionSource) (bool, error)
GetConnectedDevices(ctx context.Context, attributionSource content.AttributionSource) ([]BluetoothDevice, error)
GetDevicesMatchingConnectionStates(ctx context.Context, states []int32, attributionSource content.AttributionSource) ([]BluetoothDevice, error)
GetConnectionState(ctx context.Context, device BluetoothDevice, attributionSource content.AttributionSource) (int32, error)
GetAudioConfig(ctx context.Context, device BluetoothDevice, attributionSource content.AttributionSource) (BluetoothAudioConfig, error)
SetConnectionPolicy(ctx context.Context, device BluetoothDevice, connectionPolicy int32, attributionSource content.AttributionSource) (bool, error)
GetConnectionPolicy(ctx context.Context, device BluetoothDevice, attributionSource content.AttributionSource) (int32, error)
IsA2dpPlaying(ctx context.Context, device BluetoothDevice, attributionSource content.AttributionSource) (bool, error)
}
IBluetoothA2dpSinkServer is the server-side interface that user implementations provide to NewBluetoothA2dpSinkStub. It contains only the business methods, without AsBinder (which is provided by the stub itself).
type IBluetoothActivityEnergyInfoListener ¶
type IBluetoothActivityEnergyInfoListener interface {
AsBinder() binder.IBinder
OnBluetoothActivityEnergyInfoAvailable(ctx context.Context, info BluetoothActivityEnergyInfo) error
}
func NewBluetoothActivityEnergyInfoListenerStub ¶
func NewBluetoothActivityEnergyInfoListenerStub( impl IBluetoothActivityEnergyInfoListenerServer, ) IBluetoothActivityEnergyInfoListener
NewBluetoothActivityEnergyInfoListenerStub creates a server-side IBluetoothActivityEnergyInfoListener wrapping the given server implementation. The returned value satisfies IBluetoothActivityEnergyInfoListener and can be passed to proxy methods; its AsBinder() returns a *binder.StubBinder that is auto-registered with the binder driver on first use.
type IBluetoothActivityEnergyInfoListenerServer ¶
type IBluetoothActivityEnergyInfoListenerServer interface {
OnBluetoothActivityEnergyInfoAvailable(ctx context.Context, info BluetoothActivityEnergyInfo) error
}
IBluetoothActivityEnergyInfoListenerServer is the server-side interface that user implementations provide to NewBluetoothActivityEnergyInfoListenerStub. It contains only the business methods, without AsBinder (which is provided by the stub itself).
type IBluetoothAdvertise ¶ added in v0.0.7
type IBluetoothAdvertise interface {
AsBinder() binder.IBinder
StartAdvertisingSet(ctx context.Context, parameters le.AdvertisingSetParameters, advertiseData le.AdvertiseData, scanResponse le.AdvertiseData, periodicParameters le.PeriodicAdvertisingParameters, periodicData le.AdvertiseData, duration int32, maxExtAdvEvents int32, gattServerCallback IBluetoothGattServerCallback, callback le.IAdvertisingSetCallback, attributionSource content.AttributionSource) error
StopAdvertisingSet(ctx context.Context, callback le.IAdvertisingSetCallback, attributionSource content.AttributionSource) error
GetOwnAddress(ctx context.Context, advertiserId int32, attributionSource content.AttributionSource) error
EnableAdvertisingSet(ctx context.Context, advertiserId int32, enable bool, duration int32, maxExtAdvEvents int32, attributionSource content.AttributionSource) error
SetAdvertisingData(ctx context.Context, advertiserId int32, data le.AdvertiseData, attributionSource content.AttributionSource) error
SetScanResponseData(ctx context.Context, advertiserId int32, data le.AdvertiseData, attributionSource content.AttributionSource) error
SetAdvertisingParameters(ctx context.Context, advertiserId int32, parameters le.AdvertisingSetParameters, attributionSource content.AttributionSource) error
SetPeriodicAdvertisingParameters(ctx context.Context, advertiserId int32, parameters le.PeriodicAdvertisingParameters, attributionSource content.AttributionSource) error
SetPeriodicAdvertisingData(ctx context.Context, advertiserId int32, data le.AdvertiseData, attributionSource content.AttributionSource) error
SetPeriodicAdvertisingEnable(ctx context.Context, advertiserId int32, enable bool, attributionSource content.AttributionSource) error
}
func NewBluetoothAdvertiseStub ¶ added in v0.0.7
func NewBluetoothAdvertiseStub( impl IBluetoothAdvertiseServer, ) IBluetoothAdvertise
NewBluetoothAdvertiseStub creates a server-side IBluetoothAdvertise wrapping the given server implementation. The returned value satisfies IBluetoothAdvertise and can be passed to proxy methods; its AsBinder() returns a *binder.StubBinder that is auto-registered with the binder driver on first use.
type IBluetoothAdvertiseServer ¶ added in v0.0.7
type IBluetoothAdvertiseServer interface {
StartAdvertisingSet(ctx context.Context, parameters le.AdvertisingSetParameters, advertiseData le.AdvertiseData, scanResponse le.AdvertiseData, periodicParameters le.PeriodicAdvertisingParameters, periodicData le.AdvertiseData, duration int32, maxExtAdvEvents int32, gattServerCallback IBluetoothGattServerCallback, callback le.IAdvertisingSetCallback, attributionSource content.AttributionSource) error
StopAdvertisingSet(ctx context.Context, callback le.IAdvertisingSetCallback, attributionSource content.AttributionSource) error
GetOwnAddress(ctx context.Context, advertiserId int32, attributionSource content.AttributionSource) error
EnableAdvertisingSet(ctx context.Context, advertiserId int32, enable bool, duration int32, maxExtAdvEvents int32, attributionSource content.AttributionSource) error
SetAdvertisingData(ctx context.Context, advertiserId int32, data le.AdvertiseData, attributionSource content.AttributionSource) error
SetScanResponseData(ctx context.Context, advertiserId int32, data le.AdvertiseData, attributionSource content.AttributionSource) error
SetAdvertisingParameters(ctx context.Context, advertiserId int32, parameters le.AdvertisingSetParameters, attributionSource content.AttributionSource) error
SetPeriodicAdvertisingParameters(ctx context.Context, advertiserId int32, parameters le.PeriodicAdvertisingParameters, attributionSource content.AttributionSource) error
SetPeriodicAdvertisingData(ctx context.Context, advertiserId int32, data le.AdvertiseData, attributionSource content.AttributionSource) error
SetPeriodicAdvertisingEnable(ctx context.Context, advertiserId int32, enable bool, attributionSource content.AttributionSource) error
}
IBluetoothAdvertiseServer is the server-side interface that user implementations provide to NewBluetoothAdvertiseStub. It contains only the business methods, without AsBinder (which is provided by the stub itself).
type IBluetoothAvrcpController ¶
type IBluetoothAvrcpController interface {
AsBinder() binder.IBinder
GetConnectedDevices(ctx context.Context, attributionSource content.AttributionSource) ([]BluetoothDevice, error)
GetDevicesMatchingConnectionStates(ctx context.Context, states []int32, attributionSource content.AttributionSource) ([]BluetoothDevice, error)
GetConnectionState(ctx context.Context, device BluetoothDevice, attributionSource content.AttributionSource) (int32, error)
}
func NewBluetoothAvrcpControllerStub ¶
func NewBluetoothAvrcpControllerStub( impl IBluetoothAvrcpControllerServer, ) IBluetoothAvrcpController
NewBluetoothAvrcpControllerStub creates a server-side IBluetoothAvrcpController wrapping the given server implementation. The returned value satisfies IBluetoothAvrcpController and can be passed to proxy methods; its AsBinder() returns a *binder.StubBinder that is auto-registered with the binder driver on first use.
type IBluetoothAvrcpControllerServer ¶
type IBluetoothAvrcpControllerServer interface {
GetConnectedDevices(ctx context.Context, attributionSource content.AttributionSource) ([]BluetoothDevice, error)
GetDevicesMatchingConnectionStates(ctx context.Context, states []int32, attributionSource content.AttributionSource) ([]BluetoothDevice, error)
GetConnectionState(ctx context.Context, device BluetoothDevice, attributionSource content.AttributionSource) (int32, error)
}
IBluetoothAvrcpControllerServer is the server-side interface that user implementations provide to NewBluetoothAvrcpControllerStub. It contains only the business methods, without AsBinder (which is provided by the stub itself).
type IBluetoothAvrcpTarget ¶
type IBluetoothAvrcpTarget interface {
AsBinder() binder.IBinder
SendVolumeChanged(ctx context.Context, volume int32) error
}
func NewBluetoothAvrcpTargetStub ¶
func NewBluetoothAvrcpTargetStub( impl IBluetoothAvrcpTargetServer, ) IBluetoothAvrcpTarget
NewBluetoothAvrcpTargetStub creates a server-side IBluetoothAvrcpTarget wrapping the given server implementation. The returned value satisfies IBluetoothAvrcpTarget and can be passed to proxy methods; its AsBinder() returns a *binder.StubBinder that is auto-registered with the binder driver on first use.
type IBluetoothAvrcpTargetServer ¶
type IBluetoothAvrcpTargetServer interface {
SendVolumeChanged(ctx context.Context, volume int32) error
}
IBluetoothAvrcpTargetServer is the server-side interface that user implementations provide to NewBluetoothAvrcpTargetStub. It contains only the business methods, without AsBinder (which is provided by the stub itself).
type IBluetoothBattery ¶
type IBluetoothBattery interface {
AsBinder() binder.IBinder
Connect(ctx context.Context, device BluetoothDevice, attributionSource content.AttributionSource, receiver any) error
Disconnect(ctx context.Context, device BluetoothDevice, attributionSource content.AttributionSource, receiver any) error
GetConnectedDevices(ctx context.Context, attributionSource content.AttributionSource, receiver any) error
GetDevicesMatchingConnectionStates(ctx context.Context, states []int32, attributionSource content.AttributionSource, receiver any) error
GetConnectionState(ctx context.Context, device BluetoothDevice, attributionSource content.AttributionSource, receiver any) error
SetConnectionPolicy(ctx context.Context, device BluetoothDevice, connectionPolicy int32, attributionSource content.AttributionSource, receiver any) error
GetConnectionPolicy(ctx context.Context, device BluetoothDevice, attributionSource content.AttributionSource, receiver any) error
}
func NewBluetoothBatteryStub ¶
func NewBluetoothBatteryStub( impl IBluetoothBatteryServer, ) IBluetoothBattery
NewBluetoothBatteryStub creates a server-side IBluetoothBattery wrapping the given server implementation. The returned value satisfies IBluetoothBattery and can be passed to proxy methods; its AsBinder() returns a *binder.StubBinder that is auto-registered with the binder driver on first use.
type IBluetoothBatteryServer ¶
type IBluetoothBatteryServer interface {
Connect(ctx context.Context, device BluetoothDevice, attributionSource content.AttributionSource, receiver any) error
Disconnect(ctx context.Context, device BluetoothDevice, attributionSource content.AttributionSource, receiver any) error
GetConnectedDevices(ctx context.Context, attributionSource content.AttributionSource, receiver any) error
GetDevicesMatchingConnectionStates(ctx context.Context, states []int32, attributionSource content.AttributionSource, receiver any) error
GetConnectionState(ctx context.Context, device BluetoothDevice, attributionSource content.AttributionSource, receiver any) error
SetConnectionPolicy(ctx context.Context, device BluetoothDevice, connectionPolicy int32, attributionSource content.AttributionSource, receiver any) error
GetConnectionPolicy(ctx context.Context, device BluetoothDevice, attributionSource content.AttributionSource, receiver any) error
}
IBluetoothBatteryServer is the server-side interface that user implementations provide to NewBluetoothBatteryStub. It contains only the business methods, without AsBinder (which is provided by the stub itself).
type IBluetoothCallback ¶
type IBluetoothCallback interface {
AsBinder() binder.IBinder
OnBluetoothStateChange(ctx context.Context, prevState int32, newState int32) error
OnAdapterNameChange(ctx context.Context, name string) error
OnAdapterAddressChange(ctx context.Context, address string) error
SetAdapterServiceBinder(ctx context.Context, adapterServiceBinder binder.IBinder) error
OnMediaProfileConnectionChange(ctx context.Context, connected bool) error
OnWatchConnectionChange(ctx context.Context, connected bool) error
}
func NewBluetoothCallbackStub ¶
func NewBluetoothCallbackStub( impl IBluetoothCallbackServer, ) IBluetoothCallback
NewBluetoothCallbackStub creates a server-side IBluetoothCallback wrapping the given server implementation. The returned value satisfies IBluetoothCallback and can be passed to proxy methods; its AsBinder() returns a *binder.StubBinder that is auto-registered with the binder driver on first use.
type IBluetoothCallbackServer ¶
type IBluetoothCallbackServer interface {
OnBluetoothStateChange(ctx context.Context, prevState int32, newState int32) error
OnAdapterNameChange(ctx context.Context, name string) error
OnAdapterAddressChange(ctx context.Context, address string) error
SetAdapterServiceBinder(ctx context.Context, adapterServiceBinder binder.IBinder) error
OnMediaProfileConnectionChange(ctx context.Context, connected bool) error
OnWatchConnectionChange(ctx context.Context, connected bool) error
}
IBluetoothCallbackServer is the server-side interface that user implementations provide to NewBluetoothCallbackStub. It contains only the business methods, without AsBinder (which is provided by the stub itself).
type IBluetoothConnectionCallback ¶
type IBluetoothConnectionCallback interface {
AsBinder() binder.IBinder
OnDeviceConnected(ctx context.Context, device BluetoothDevice) error
OnDeviceDisconnected(ctx context.Context, device BluetoothDevice, hciReason int32) error
}
func NewBluetoothConnectionCallbackStub ¶
func NewBluetoothConnectionCallbackStub( impl IBluetoothConnectionCallbackServer, ) IBluetoothConnectionCallback
NewBluetoothConnectionCallbackStub creates a server-side IBluetoothConnectionCallback wrapping the given server implementation. The returned value satisfies IBluetoothConnectionCallback and can be passed to proxy methods; its AsBinder() returns a *binder.StubBinder that is auto-registered with the binder driver on first use.
type IBluetoothConnectionCallbackServer ¶
type IBluetoothConnectionCallbackServer interface {
OnDeviceConnected(ctx context.Context, device BluetoothDevice) error
OnDeviceDisconnected(ctx context.Context, device BluetoothDevice, hciReason int32) error
}
IBluetoothConnectionCallbackServer is the server-side interface that user implementations provide to NewBluetoothConnectionCallbackStub. It contains only the business methods, without AsBinder (which is provided by the stub itself).
type IBluetoothCsipSetCoordinator ¶
type IBluetoothCsipSetCoordinator interface {
AsBinder() binder.IBinder
GetConnectedDevices(ctx context.Context, attributionSource content.AttributionSource) ([]BluetoothDevice, error)
GetDevicesMatchingConnectionStates(ctx context.Context, states []int32, attributionSource content.AttributionSource) ([]BluetoothDevice, error)
GetConnectionState(ctx context.Context, device BluetoothDevice, attributionSource content.AttributionSource) (int32, error)
SetConnectionPolicy(ctx context.Context, device BluetoothDevice, connectionPolicy int32, attributionSource content.AttributionSource) (bool, error)
GetConnectionPolicy(ctx context.Context, device BluetoothDevice, attributionSource content.AttributionSource) (int32, error)
GetAllGroupIds(ctx context.Context, uuid os.ParcelUuid, attributionSource content.AttributionSource) ([]any, error)
GetGroupUuidMapByDevice(ctx context.Context, device BluetoothDevice, attributionSource content.AttributionSource) (map[any]any, error)
GetDesiredGroupSize(ctx context.Context, group_id int32, attributionSource content.AttributionSource) (int32, error)
LockGroup(ctx context.Context, groupId int32, callback IBluetoothCsipSetCoordinatorLockCallback, attributionSource content.AttributionSource) (os.ParcelUuid, error)
UnlockGroup(ctx context.Context, lockUuid os.ParcelUuid, attributionSource content.AttributionSource) error
}
func NewBluetoothCsipSetCoordinatorStub ¶
func NewBluetoothCsipSetCoordinatorStub( impl IBluetoothCsipSetCoordinatorServer, ) IBluetoothCsipSetCoordinator
NewBluetoothCsipSetCoordinatorStub creates a server-side IBluetoothCsipSetCoordinator wrapping the given server implementation. The returned value satisfies IBluetoothCsipSetCoordinator and can be passed to proxy methods; its AsBinder() returns a *binder.StubBinder that is auto-registered with the binder driver on first use.
type IBluetoothCsipSetCoordinatorCallback ¶
type IBluetoothCsipSetCoordinatorCallback interface {
AsBinder() binder.IBinder
OnCsisSetMemberAvailable(ctx context.Context, device BluetoothDevice, groupId int32) error
}
func NewBluetoothCsipSetCoordinatorCallbackStub ¶
func NewBluetoothCsipSetCoordinatorCallbackStub( impl IBluetoothCsipSetCoordinatorCallbackServer, ) IBluetoothCsipSetCoordinatorCallback
NewBluetoothCsipSetCoordinatorCallbackStub creates a server-side IBluetoothCsipSetCoordinatorCallback wrapping the given server implementation. The returned value satisfies IBluetoothCsipSetCoordinatorCallback and can be passed to proxy methods; its AsBinder() returns a *binder.StubBinder that is auto-registered with the binder driver on first use.
type IBluetoothCsipSetCoordinatorCallbackServer ¶
type IBluetoothCsipSetCoordinatorCallbackServer interface {
OnCsisSetMemberAvailable(ctx context.Context, device BluetoothDevice, groupId int32) error
}
IBluetoothCsipSetCoordinatorCallbackServer is the server-side interface that user implementations provide to NewBluetoothCsipSetCoordinatorCallbackStub. It contains only the business methods, without AsBinder (which is provided by the stub itself).
type IBluetoothCsipSetCoordinatorLockCallback ¶
type IBluetoothCsipSetCoordinatorLockCallback interface {
AsBinder() binder.IBinder
OnGroupLockSet(ctx context.Context, groupId int32, opStatus int32, isLocked bool) error
}
func NewBluetoothCsipSetCoordinatorLockCallbackStub ¶
func NewBluetoothCsipSetCoordinatorLockCallbackStub( impl IBluetoothCsipSetCoordinatorLockCallbackServer, ) IBluetoothCsipSetCoordinatorLockCallback
NewBluetoothCsipSetCoordinatorLockCallbackStub creates a server-side IBluetoothCsipSetCoordinatorLockCallback wrapping the given server implementation. The returned value satisfies IBluetoothCsipSetCoordinatorLockCallback and can be passed to proxy methods; its AsBinder() returns a *binder.StubBinder that is auto-registered with the binder driver on first use.
type IBluetoothCsipSetCoordinatorLockCallbackServer ¶
type IBluetoothCsipSetCoordinatorLockCallbackServer interface {
OnGroupLockSet(ctx context.Context, groupId int32, opStatus int32, isLocked bool) error
}
IBluetoothCsipSetCoordinatorLockCallbackServer is the server-side interface that user implementations provide to NewBluetoothCsipSetCoordinatorLockCallbackStub. It contains only the business methods, without AsBinder (which is provided by the stub itself).
type IBluetoothCsipSetCoordinatorServer ¶
type IBluetoothCsipSetCoordinatorServer interface {
GetConnectedDevices(ctx context.Context, attributionSource content.AttributionSource) ([]BluetoothDevice, error)
GetDevicesMatchingConnectionStates(ctx context.Context, states []int32, attributionSource content.AttributionSource) ([]BluetoothDevice, error)
GetConnectionState(ctx context.Context, device BluetoothDevice, attributionSource content.AttributionSource) (int32, error)
SetConnectionPolicy(ctx context.Context, device BluetoothDevice, connectionPolicy int32, attributionSource content.AttributionSource) (bool, error)
GetConnectionPolicy(ctx context.Context, device BluetoothDevice, attributionSource content.AttributionSource) (int32, error)
GetAllGroupIds(ctx context.Context, uuid os.ParcelUuid, attributionSource content.AttributionSource) ([]any, error)
GetGroupUuidMapByDevice(ctx context.Context, device BluetoothDevice, attributionSource content.AttributionSource) (map[any]any, error)
GetDesiredGroupSize(ctx context.Context, group_id int32, attributionSource content.AttributionSource) (int32, error)
LockGroup(ctx context.Context, groupId int32, callback IBluetoothCsipSetCoordinatorLockCallback, attributionSource content.AttributionSource) (os.ParcelUuid, error)
UnlockGroup(ctx context.Context, lockUuid os.ParcelUuid, attributionSource content.AttributionSource) error
}
IBluetoothCsipSetCoordinatorServer is the server-side interface that user implementations provide to NewBluetoothCsipSetCoordinatorStub. It contains only the business methods, without AsBinder (which is provided by the stub itself).
type IBluetoothGatt ¶
type IBluetoothGatt interface {
AsBinder() binder.IBinder
GetDevicesMatchingConnectionStates(ctx context.Context, states []int32, attributionSource content.AttributionSource) ([]BluetoothDevice, error)
RegisterClient(ctx context.Context, appId os.ParcelUuid, callback IBluetoothGattCallback, eatt_support bool, transport int32, attributionSource content.AttributionSource) error
UnregisterClient(ctx context.Context, callback IBluetoothGattCallback, attributionSource content.AttributionSource) error
ClientConnect(ctx context.Context, callback IBluetoothGattCallback, device BluetoothDevice, addressType int32, isDirect bool, transport int32, opportunistic bool, phy int32, attributionSource content.AttributionSource) error
ClientDisconnect(ctx context.Context, callback IBluetoothGattCallback, device BluetoothDevice, attributionSource content.AttributionSource) error
ClientSetPreferredPhy(ctx context.Context, callback IBluetoothGattCallback, device BluetoothDevice, txPhy int32, rxPhy int32, phyOptions int32, attributionSource content.AttributionSource) error
ClientReadPhy(ctx context.Context, callback IBluetoothGattCallback, device BluetoothDevice, attributionSources content.AttributionSource) error
RefreshDevice(ctx context.Context, callback IBluetoothGattCallback, device BluetoothDevice, attributionSource content.AttributionSource) error
DiscoverServices(ctx context.Context, callback IBluetoothGattCallback, device BluetoothDevice, attributionSource content.AttributionSource) error
DiscoverServiceByUuid(ctx context.Context, callback IBluetoothGattCallback, device BluetoothDevice, uuid os.ParcelUuid, attributionSource content.AttributionSource) error
ReadCharacteristic(ctx context.Context, callback IBluetoothGattCallback, device BluetoothDevice, handle int32, authReq int32, attributionSource content.AttributionSource) error
ReadUsingCharacteristicUuid(ctx context.Context, callback IBluetoothGattCallback, device BluetoothDevice, uuid os.ParcelUuid, startHandle int32, endHandle int32, authReq int32, attributionSource content.AttributionSource) error
WriteCharacteristic(ctx context.Context, callback IBluetoothGattCallback, device BluetoothDevice, handle int32, writeType int32, authReq int32, value []byte, attributionSource content.AttributionSource) (int32, error)
ReadDescriptor(ctx context.Context, callback IBluetoothGattCallback, device BluetoothDevice, handle int32, authReq int32, attributionSource content.AttributionSource) error
WriteDescriptor(ctx context.Context, callback IBluetoothGattCallback, device BluetoothDevice, handle int32, authReq int32, value []byte, attributionSource content.AttributionSource) (int32, error)
RegisterForNotification(ctx context.Context, callback IBluetoothGattCallback, device BluetoothDevice, handle int32, enable bool, attributionSource content.AttributionSource) error
BeginReliableWrite(ctx context.Context, device BluetoothDevice, attributionSource content.AttributionSource) error
EndReliableWrite(ctx context.Context, callback IBluetoothGattCallback, device BluetoothDevice, execute bool, attributionSource content.AttributionSource) error
ReadRemoteRssi(ctx context.Context, callback IBluetoothGattCallback, device BluetoothDevice, attributionSource content.AttributionSource) error
ConfigureMTU(ctx context.Context, callback IBluetoothGattCallback, device BluetoothDevice, mtu int32, attributionSource content.AttributionSource) error
ConnectionParameterUpdate(ctx context.Context, callback IBluetoothGattCallback, device BluetoothDevice, connectionPriority int32, attributionSource content.AttributionSource) error
LeConnectionUpdate(ctx context.Context, callback IBluetoothGattCallback, device BluetoothDevice, minInterval int32, maxInterval int32, peripheralLatency int32, supervisionTimeout int32, minConnectionEventLen int32, maxConnectionEventLen int32, attributionSource content.AttributionSource) error
RegisterServer(ctx context.Context, appId os.ParcelUuid, callback IBluetoothGattServerCallback, eatt_support bool, transport int32, attributionSource content.AttributionSource) error
UnregisterServer(ctx context.Context, callback IBluetoothGattServerCallback, attributionSource content.AttributionSource) error
ServerConnect(ctx context.Context, callback IBluetoothGattServerCallback, device BluetoothDevice, addressType int32, isDirect bool, transport int32, attributionSource content.AttributionSource) error
ServerDisconnect(ctx context.Context, callback IBluetoothGattServerCallback, device BluetoothDevice, attributionSource content.AttributionSource) error
ServerSetPreferredPhy(ctx context.Context, callback IBluetoothGattServerCallback, device BluetoothDevice, txPhy int32, rxPhy int32, phyOptions int32, attributionSource content.AttributionSource) error
ServerReadPhy(ctx context.Context, callback IBluetoothGattServerCallback, device BluetoothDevice, attributionSource content.AttributionSource) error
AddService(ctx context.Context, callback IBluetoothGattServerCallback, service BluetoothGattService, attributionSource content.AttributionSource) error
RemoveService(ctx context.Context, callback IBluetoothGattServerCallback, handle int32, attributionSource content.AttributionSource) error
ClearServices(ctx context.Context, callback IBluetoothGattServerCallback, attributionSource content.AttributionSource) error
SendResponse(ctx context.Context, callback IBluetoothGattServerCallback, device BluetoothDevice, requestId int32, status int32, offset int32, value []byte, attributionSource content.AttributionSource) error
SendNotification(ctx context.Context, callback IBluetoothGattServerCallback, device BluetoothDevice, handle int32, confirm bool, value []byte, attributionSource content.AttributionSource) (int32, error)
DisconnectAll(ctx context.Context, attributionSource content.AttributionSource) error
SubrateModeRequest(ctx context.Context, callback IBluetoothGattCallback, device BluetoothDevice, subrateMode int32, attributionSource content.AttributionSource) (int32, error)
}
func NewBluetoothGattStub ¶
func NewBluetoothGattStub( impl IBluetoothGattServer, ) IBluetoothGatt
NewBluetoothGattStub creates a server-side IBluetoothGatt wrapping the given server implementation. The returned value satisfies IBluetoothGatt and can be passed to proxy methods; its AsBinder() returns a *binder.StubBinder that is auto-registered with the binder driver on first use.
type IBluetoothGattCallback ¶
type IBluetoothGattCallback interface {
AsBinder() binder.IBinder
OnClientRegistered(ctx context.Context, status int32) error
OnClientConnectionState(ctx context.Context, status int32, connected bool, device BluetoothDevice) error
OnPhyUpdate(ctx context.Context, device BluetoothDevice, txPhy int32, rxPhy int32, status int32) error
OnPhyRead(ctx context.Context, device BluetoothDevice, txPhy int32, rxPhy int32, status int32) error
OnSearchComplete(ctx context.Context, device BluetoothDevice, services []BluetoothGattService, status int32) error
OnCharacteristicRead(ctx context.Context, device BluetoothDevice, status int32, handle int32, value []byte) error
OnCharacteristicWrite(ctx context.Context, device BluetoothDevice, status int32, handle int32, value []byte) error
OnExecuteWrite(ctx context.Context, device BluetoothDevice, status int32) error
OnDescriptorRead(ctx context.Context, device BluetoothDevice, status int32, handle int32, value []byte) error
OnDescriptorWrite(ctx context.Context, device BluetoothDevice, status int32, handle int32, value []byte) error
OnNotify(ctx context.Context, device BluetoothDevice, handle int32, value []byte) error
OnReadRemoteRssi(ctx context.Context, device BluetoothDevice, rssi int32, status int32) error
OnConfigureMTU(ctx context.Context, device BluetoothDevice, mtu int32, status int32) error
OnConnectionUpdated(ctx context.Context, device BluetoothDevice, interval int32, latency int32, timeout int32, status int32) error
OnServiceChanged(ctx context.Context, device BluetoothDevice) error
OnSubrateChange(ctx context.Context, device BluetoothDevice, subrateMode int32, status int32) error
}
func NewBluetoothGattCallbackStub ¶
func NewBluetoothGattCallbackStub( impl IBluetoothGattCallbackServer, ) IBluetoothGattCallback
NewBluetoothGattCallbackStub creates a server-side IBluetoothGattCallback wrapping the given server implementation. The returned value satisfies IBluetoothGattCallback and can be passed to proxy methods; its AsBinder() returns a *binder.StubBinder that is auto-registered with the binder driver on first use.
type IBluetoothGattCallbackServer ¶
type IBluetoothGattCallbackServer interface {
OnClientRegistered(ctx context.Context, status int32) error
OnClientConnectionState(ctx context.Context, status int32, connected bool, device BluetoothDevice) error
OnPhyUpdate(ctx context.Context, device BluetoothDevice, txPhy int32, rxPhy int32, status int32) error
OnPhyRead(ctx context.Context, device BluetoothDevice, txPhy int32, rxPhy int32, status int32) error
OnSearchComplete(ctx context.Context, device BluetoothDevice, services []BluetoothGattService, status int32) error
OnCharacteristicRead(ctx context.Context, device BluetoothDevice, status int32, handle int32, value []byte) error
OnCharacteristicWrite(ctx context.Context, device BluetoothDevice, status int32, handle int32, value []byte) error
OnExecuteWrite(ctx context.Context, device BluetoothDevice, status int32) error
OnDescriptorRead(ctx context.Context, device BluetoothDevice, status int32, handle int32, value []byte) error
OnDescriptorWrite(ctx context.Context, device BluetoothDevice, status int32, handle int32, value []byte) error
OnNotify(ctx context.Context, device BluetoothDevice, handle int32, value []byte) error
OnReadRemoteRssi(ctx context.Context, device BluetoothDevice, rssi int32, status int32) error
OnConfigureMTU(ctx context.Context, device BluetoothDevice, mtu int32, status int32) error
OnConnectionUpdated(ctx context.Context, device BluetoothDevice, interval int32, latency int32, timeout int32, status int32) error
OnServiceChanged(ctx context.Context, device BluetoothDevice) error
OnSubrateChange(ctx context.Context, device BluetoothDevice, subrateMode int32, status int32) error
}
IBluetoothGattCallbackServer is the server-side interface that user implementations provide to NewBluetoothGattCallbackStub. It contains only the business methods, without AsBinder (which is provided by the stub itself).
type IBluetoothGattServer ¶
type IBluetoothGattServer interface {
GetDevicesMatchingConnectionStates(ctx context.Context, states []int32, attributionSource content.AttributionSource) ([]BluetoothDevice, error)
RegisterClient(ctx context.Context, appId os.ParcelUuid, callback IBluetoothGattCallback, eatt_support bool, transport int32, attributionSource content.AttributionSource) error
UnregisterClient(ctx context.Context, callback IBluetoothGattCallback, attributionSource content.AttributionSource) error
ClientConnect(ctx context.Context, callback IBluetoothGattCallback, device BluetoothDevice, addressType int32, isDirect bool, transport int32, opportunistic bool, phy int32, attributionSource content.AttributionSource) error
ClientDisconnect(ctx context.Context, callback IBluetoothGattCallback, device BluetoothDevice, attributionSource content.AttributionSource) error
ClientSetPreferredPhy(ctx context.Context, callback IBluetoothGattCallback, device BluetoothDevice, txPhy int32, rxPhy int32, phyOptions int32, attributionSource content.AttributionSource) error
ClientReadPhy(ctx context.Context, callback IBluetoothGattCallback, device BluetoothDevice, attributionSources content.AttributionSource) error
RefreshDevice(ctx context.Context, callback IBluetoothGattCallback, device BluetoothDevice, attributionSource content.AttributionSource) error
DiscoverServices(ctx context.Context, callback IBluetoothGattCallback, device BluetoothDevice, attributionSource content.AttributionSource) error
DiscoverServiceByUuid(ctx context.Context, callback IBluetoothGattCallback, device BluetoothDevice, uuid os.ParcelUuid, attributionSource content.AttributionSource) error
ReadCharacteristic(ctx context.Context, callback IBluetoothGattCallback, device BluetoothDevice, handle int32, authReq int32, attributionSource content.AttributionSource) error
ReadUsingCharacteristicUuid(ctx context.Context, callback IBluetoothGattCallback, device BluetoothDevice, uuid os.ParcelUuid, startHandle int32, endHandle int32, authReq int32, attributionSource content.AttributionSource) error
WriteCharacteristic(ctx context.Context, callback IBluetoothGattCallback, device BluetoothDevice, handle int32, writeType int32, authReq int32, value []byte, attributionSource content.AttributionSource) (int32, error)
ReadDescriptor(ctx context.Context, callback IBluetoothGattCallback, device BluetoothDevice, handle int32, authReq int32, attributionSource content.AttributionSource) error
WriteDescriptor(ctx context.Context, callback IBluetoothGattCallback, device BluetoothDevice, handle int32, authReq int32, value []byte, attributionSource content.AttributionSource) (int32, error)
RegisterForNotification(ctx context.Context, callback IBluetoothGattCallback, device BluetoothDevice, handle int32, enable bool, attributionSource content.AttributionSource) error
BeginReliableWrite(ctx context.Context, device BluetoothDevice, attributionSource content.AttributionSource) error
EndReliableWrite(ctx context.Context, callback IBluetoothGattCallback, device BluetoothDevice, execute bool, attributionSource content.AttributionSource) error
ReadRemoteRssi(ctx context.Context, callback IBluetoothGattCallback, device BluetoothDevice, attributionSource content.AttributionSource) error
ConfigureMTU(ctx context.Context, callback IBluetoothGattCallback, device BluetoothDevice, mtu int32, attributionSource content.AttributionSource) error
ConnectionParameterUpdate(ctx context.Context, callback IBluetoothGattCallback, device BluetoothDevice, connectionPriority int32, attributionSource content.AttributionSource) error
LeConnectionUpdate(ctx context.Context, callback IBluetoothGattCallback, device BluetoothDevice, minInterval int32, maxInterval int32, peripheralLatency int32, supervisionTimeout int32, minConnectionEventLen int32, maxConnectionEventLen int32, attributionSource content.AttributionSource) error
RegisterServer(ctx context.Context, appId os.ParcelUuid, callback IBluetoothGattServerCallback, eatt_support bool, transport int32, attributionSource content.AttributionSource) error
UnregisterServer(ctx context.Context, callback IBluetoothGattServerCallback, attributionSource content.AttributionSource) error
ServerConnect(ctx context.Context, callback IBluetoothGattServerCallback, device BluetoothDevice, addressType int32, isDirect bool, transport int32, attributionSource content.AttributionSource) error
ServerDisconnect(ctx context.Context, callback IBluetoothGattServerCallback, device BluetoothDevice, attributionSource content.AttributionSource) error
ServerSetPreferredPhy(ctx context.Context, callback IBluetoothGattServerCallback, device BluetoothDevice, txPhy int32, rxPhy int32, phyOptions int32, attributionSource content.AttributionSource) error
ServerReadPhy(ctx context.Context, callback IBluetoothGattServerCallback, device BluetoothDevice, attributionSource content.AttributionSource) error
AddService(ctx context.Context, callback IBluetoothGattServerCallback, service BluetoothGattService, attributionSource content.AttributionSource) error
RemoveService(ctx context.Context, callback IBluetoothGattServerCallback, handle int32, attributionSource content.AttributionSource) error
ClearServices(ctx context.Context, callback IBluetoothGattServerCallback, attributionSource content.AttributionSource) error
SendResponse(ctx context.Context, callback IBluetoothGattServerCallback, device BluetoothDevice, requestId int32, status int32, offset int32, value []byte, attributionSource content.AttributionSource) error
SendNotification(ctx context.Context, callback IBluetoothGattServerCallback, device BluetoothDevice, handle int32, confirm bool, value []byte, attributionSource content.AttributionSource) (int32, error)
DisconnectAll(ctx context.Context, attributionSource content.AttributionSource) error
SubrateModeRequest(ctx context.Context, callback IBluetoothGattCallback, device BluetoothDevice, subrateMode int32, attributionSource content.AttributionSource) (int32, error)
}
IBluetoothGattServer is the server-side interface that user implementations provide to NewBluetoothGattStub. It contains only the business methods, without AsBinder (which is provided by the stub itself).
type IBluetoothGattServerCallback ¶
type IBluetoothGattServerCallback interface {
AsBinder() binder.IBinder
OnServerRegistered(ctx context.Context, status int32) error
OnServerConnectionState(ctx context.Context, status int32, connected bool, device BluetoothDevice) error
OnServiceAdded(ctx context.Context, status int32, service BluetoothGattService) error
OnCharacteristicReadRequest(ctx context.Context, device BluetoothDevice, transId int32, offset int32, isLong bool, handle int32) error
OnDescriptorReadRequest(ctx context.Context, device BluetoothDevice, transId int32, offset int32, isLong bool, handle int32) error
OnCharacteristicWriteRequest(ctx context.Context, device BluetoothDevice, transId int32, offset int32, length int32, isPrep bool, needRsp bool, handle int32, value []byte) error
OnDescriptorWriteRequest(ctx context.Context, device BluetoothDevice, transId int32, offset int32, length int32, isPrep bool, needRsp bool, handle int32, value []byte) error
OnExecuteWrite(ctx context.Context, device BluetoothDevice, transId int32, execWrite bool) error
OnNotificationSent(ctx context.Context, device BluetoothDevice, status int32) error
OnMtuChanged(ctx context.Context, device BluetoothDevice, mtu int32) error
OnPhyUpdate(ctx context.Context, device BluetoothDevice, txPhy int32, rxPhy int32, status int32) error
OnPhyRead(ctx context.Context, device BluetoothDevice, txPhy int32, rxPhy int32, status int32) error
OnConnectionUpdated(ctx context.Context, device BluetoothDevice, interval int32, latency int32, timeout int32, status int32) error
OnSubrateChange(ctx context.Context, device BluetoothDevice, subrateMode int32, status int32) error
}
func NewBluetoothGattServerCallbackStub ¶
func NewBluetoothGattServerCallbackStub( impl IBluetoothGattServerCallbackServer, ) IBluetoothGattServerCallback
NewBluetoothGattServerCallbackStub creates a server-side IBluetoothGattServerCallback wrapping the given server implementation. The returned value satisfies IBluetoothGattServerCallback and can be passed to proxy methods; its AsBinder() returns a *binder.StubBinder that is auto-registered with the binder driver on first use.
type IBluetoothGattServerCallbackServer ¶
type IBluetoothGattServerCallbackServer interface {
OnServerRegistered(ctx context.Context, status int32) error
OnServerConnectionState(ctx context.Context, status int32, connected bool, device BluetoothDevice) error
OnServiceAdded(ctx context.Context, status int32, service BluetoothGattService) error
OnCharacteristicReadRequest(ctx context.Context, device BluetoothDevice, transId int32, offset int32, isLong bool, handle int32) error
OnDescriptorReadRequest(ctx context.Context, device BluetoothDevice, transId int32, offset int32, isLong bool, handle int32) error
OnCharacteristicWriteRequest(ctx context.Context, device BluetoothDevice, transId int32, offset int32, length int32, isPrep bool, needRsp bool, handle int32, value []byte) error
OnDescriptorWriteRequest(ctx context.Context, device BluetoothDevice, transId int32, offset int32, length int32, isPrep bool, needRsp bool, handle int32, value []byte) error
OnExecuteWrite(ctx context.Context, device BluetoothDevice, transId int32, execWrite bool) error
OnNotificationSent(ctx context.Context, device BluetoothDevice, status int32) error
OnMtuChanged(ctx context.Context, device BluetoothDevice, mtu int32) error
OnPhyUpdate(ctx context.Context, device BluetoothDevice, txPhy int32, rxPhy int32, status int32) error
OnPhyRead(ctx context.Context, device BluetoothDevice, txPhy int32, rxPhy int32, status int32) error
OnConnectionUpdated(ctx context.Context, device BluetoothDevice, interval int32, latency int32, timeout int32, status int32) error
OnSubrateChange(ctx context.Context, device BluetoothDevice, subrateMode int32, status int32) error
}
IBluetoothGattServerCallbackServer is the server-side interface that user implementations provide to NewBluetoothGattServerCallbackStub. It contains only the business methods, without AsBinder (which is provided by the stub itself).
type IBluetoothHapClient ¶
type IBluetoothHapClient interface {
AsBinder() binder.IBinder
GetConnectedDevices(ctx context.Context, attributionSource content.AttributionSource) ([]BluetoothDevice, error)
GetDevicesMatchingConnectionStates(ctx context.Context, states []int32, attributionSource content.AttributionSource) ([]BluetoothDevice, error)
GetConnectionState(ctx context.Context, device BluetoothDevice, attributionSource content.AttributionSource) (int32, error)
SetConnectionPolicy(ctx context.Context, device BluetoothDevice, connectionPolicy int32, attributionSource content.AttributionSource) (bool, error)
GetConnectionPolicy(ctx context.Context, device BluetoothDevice, attributionSource content.AttributionSource) (int32, error)
GetHapGroup(ctx context.Context, device BluetoothDevice, attributionSource content.AttributionSource) (int32, error)
GetActivePresetIndex(ctx context.Context, device BluetoothDevice, attributionSource content.AttributionSource) (int32, error)
GetActivePresetInfo(ctx context.Context, device BluetoothDevice, attributionSource content.AttributionSource) (BluetoothHapPresetInfo, error)
SelectPreset(ctx context.Context, device BluetoothDevice, presetIndex int32, attributionSource content.AttributionSource) error
SelectPresetForGroup(ctx context.Context, groupId int32, presetIndex int32, attributionSource content.AttributionSource) error
SwitchToNextPreset(ctx context.Context, device BluetoothDevice, attributionSource content.AttributionSource) error
SwitchToNextPresetForGroup(ctx context.Context, groupId int32, attributionSource content.AttributionSource) error
SwitchToPreviousPreset(ctx context.Context, device BluetoothDevice, attributionSource content.AttributionSource) error
SwitchToPreviousPresetForGroup(ctx context.Context, groupId int32, attributionSource content.AttributionSource) error
GetPresetInfo(ctx context.Context, device BluetoothDevice, presetIndex int32, attributionSource content.AttributionSource) (BluetoothHapPresetInfo, error)
GetAllPresetInfo(ctx context.Context, device BluetoothDevice, attributionSource content.AttributionSource) ([]BluetoothHapPresetInfo, error)
GetFeatures(ctx context.Context, device BluetoothDevice, attributionSource content.AttributionSource) (int32, error)
SetPresetName(ctx context.Context, device BluetoothDevice, presetIndex int32, name string, attributionSource content.AttributionSource) error
SetPresetNameForGroup(ctx context.Context, groupId int32, presetIndex int32, name string, attributionSource content.AttributionSource) error
RegisterCallback(ctx context.Context, callback IBluetoothHapClientCallback, attributionSource content.AttributionSource) error
UnregisterCallback(ctx context.Context, callback IBluetoothHapClientCallback, attributionSource content.AttributionSource) error
}
func NewBluetoothHapClientStub ¶
func NewBluetoothHapClientStub( impl IBluetoothHapClientServer, ) IBluetoothHapClient
NewBluetoothHapClientStub creates a server-side IBluetoothHapClient wrapping the given server implementation. The returned value satisfies IBluetoothHapClient and can be passed to proxy methods; its AsBinder() returns a *binder.StubBinder that is auto-registered with the binder driver on first use.
type IBluetoothHapClientCallback ¶
type IBluetoothHapClientCallback interface {
AsBinder() binder.IBinder
OnPresetSelected(ctx context.Context, device BluetoothDevice, presetIndex int32, reasonCode int32) error
OnPresetSelectionFailed(ctx context.Context, device BluetoothDevice, statusCode int32) error
OnPresetSelectionForGroupFailed(ctx context.Context, hapGroupId int32, statusCode int32) error
OnPresetInfoChanged(ctx context.Context, device BluetoothDevice, presetInfoList []BluetoothHapPresetInfo, statusCode int32) error
OnSetPresetNameFailed(ctx context.Context, device BluetoothDevice, status int32) error
OnSetPresetNameForGroupFailed(ctx context.Context, hapGroupId int32, status int32) error
}
func NewBluetoothHapClientCallbackStub ¶
func NewBluetoothHapClientCallbackStub( impl IBluetoothHapClientCallbackServer, ) IBluetoothHapClientCallback
NewBluetoothHapClientCallbackStub creates a server-side IBluetoothHapClientCallback wrapping the given server implementation. The returned value satisfies IBluetoothHapClientCallback and can be passed to proxy methods; its AsBinder() returns a *binder.StubBinder that is auto-registered with the binder driver on first use.
type IBluetoothHapClientCallbackServer ¶
type IBluetoothHapClientCallbackServer interface {
OnPresetSelected(ctx context.Context, device BluetoothDevice, presetIndex int32, reasonCode int32) error
OnPresetSelectionFailed(ctx context.Context, device BluetoothDevice, statusCode int32) error
OnPresetSelectionForGroupFailed(ctx context.Context, hapGroupId int32, statusCode int32) error
OnPresetInfoChanged(ctx context.Context, device BluetoothDevice, presetInfoList []BluetoothHapPresetInfo, statusCode int32) error
OnSetPresetNameFailed(ctx context.Context, device BluetoothDevice, status int32) error
OnSetPresetNameForGroupFailed(ctx context.Context, hapGroupId int32, status int32) error
}
IBluetoothHapClientCallbackServer is the server-side interface that user implementations provide to NewBluetoothHapClientCallbackStub. It contains only the business methods, without AsBinder (which is provided by the stub itself).
type IBluetoothHapClientServer ¶
type IBluetoothHapClientServer interface {
GetConnectedDevices(ctx context.Context, attributionSource content.AttributionSource) ([]BluetoothDevice, error)
GetDevicesMatchingConnectionStates(ctx context.Context, states []int32, attributionSource content.AttributionSource) ([]BluetoothDevice, error)
GetConnectionState(ctx context.Context, device BluetoothDevice, attributionSource content.AttributionSource) (int32, error)
SetConnectionPolicy(ctx context.Context, device BluetoothDevice, connectionPolicy int32, attributionSource content.AttributionSource) (bool, error)
GetConnectionPolicy(ctx context.Context, device BluetoothDevice, attributionSource content.AttributionSource) (int32, error)
GetHapGroup(ctx context.Context, device BluetoothDevice, attributionSource content.AttributionSource) (int32, error)
GetActivePresetIndex(ctx context.Context, device BluetoothDevice, attributionSource content.AttributionSource) (int32, error)
GetActivePresetInfo(ctx context.Context, device BluetoothDevice, attributionSource content.AttributionSource) (BluetoothHapPresetInfo, error)
SelectPreset(ctx context.Context, device BluetoothDevice, presetIndex int32, attributionSource content.AttributionSource) error
SelectPresetForGroup(ctx context.Context, groupId int32, presetIndex int32, attributionSource content.AttributionSource) error
SwitchToNextPreset(ctx context.Context, device BluetoothDevice, attributionSource content.AttributionSource) error
SwitchToNextPresetForGroup(ctx context.Context, groupId int32, attributionSource content.AttributionSource) error
SwitchToPreviousPreset(ctx context.Context, device BluetoothDevice, attributionSource content.AttributionSource) error
SwitchToPreviousPresetForGroup(ctx context.Context, groupId int32, attributionSource content.AttributionSource) error
GetPresetInfo(ctx context.Context, device BluetoothDevice, presetIndex int32, attributionSource content.AttributionSource) (BluetoothHapPresetInfo, error)
GetAllPresetInfo(ctx context.Context, device BluetoothDevice, attributionSource content.AttributionSource) ([]BluetoothHapPresetInfo, error)
GetFeatures(ctx context.Context, device BluetoothDevice, attributionSource content.AttributionSource) (int32, error)
SetPresetName(ctx context.Context, device BluetoothDevice, presetIndex int32, name string, attributionSource content.AttributionSource) error
SetPresetNameForGroup(ctx context.Context, groupId int32, presetIndex int32, name string, attributionSource content.AttributionSource) error
RegisterCallback(ctx context.Context, callback IBluetoothHapClientCallback, attributionSource content.AttributionSource) error
UnregisterCallback(ctx context.Context, callback IBluetoothHapClientCallback, attributionSource content.AttributionSource) error
}
IBluetoothHapClientServer is the server-side interface that user implementations provide to NewBluetoothHapClientStub. It contains only the business methods, without AsBinder (which is provided by the stub itself).
type IBluetoothHciVendorSpecificCallback ¶ added in v0.0.7
type IBluetoothHciVendorSpecificCallback interface {
AsBinder() binder.IBinder
OnCommandStatus(ctx context.Context, ocf int32, status int32) error
OnCommandComplete(ctx context.Context, ocf int32, returnParameters []byte) error
OnEvent(ctx context.Context, code int32, data []byte) error
}
func NewBluetoothHciVendorSpecificCallbackStub ¶ added in v0.0.7
func NewBluetoothHciVendorSpecificCallbackStub( impl IBluetoothHciVendorSpecificCallbackServer, ) IBluetoothHciVendorSpecificCallback
NewBluetoothHciVendorSpecificCallbackStub creates a server-side IBluetoothHciVendorSpecificCallback wrapping the given server implementation. The returned value satisfies IBluetoothHciVendorSpecificCallback and can be passed to proxy methods; its AsBinder() returns a *binder.StubBinder that is auto-registered with the binder driver on first use.
type IBluetoothHciVendorSpecificCallbackServer ¶ added in v0.0.7
type IBluetoothHciVendorSpecificCallbackServer interface {
OnCommandStatus(ctx context.Context, ocf int32, status int32) error
OnCommandComplete(ctx context.Context, ocf int32, returnParameters []byte) error
OnEvent(ctx context.Context, code int32, data []byte) error
}
IBluetoothHciVendorSpecificCallbackServer is the server-side interface that user implementations provide to NewBluetoothHciVendorSpecificCallbackStub. It contains only the business methods, without AsBinder (which is provided by the stub itself).
type IBluetoothHeadset ¶
type IBluetoothHeadset interface {
AsBinder() binder.IBinder
GetConnectedDevices(ctx context.Context, attributionSource content.AttributionSource) ([]BluetoothDevice, error)
GetDevicesMatchingConnectionStates(ctx context.Context, states []int32, attributionSource content.AttributionSource) ([]BluetoothDevice, error)
GetConnectionState(ctx context.Context, device BluetoothDevice, attributionSource content.AttributionSource) (int32, error)
StartVoiceRecognition(ctx context.Context, device BluetoothDevice, attributionSource content.AttributionSource) (bool, error)
StopVoiceRecognition(ctx context.Context, device BluetoothDevice, attributionSource content.AttributionSource) (bool, error)
IsAudioConnected(ctx context.Context, device BluetoothDevice, attributionSource content.AttributionSource) (bool, error)
SendVendorSpecificResultCode(ctx context.Context, device BluetoothDevice, command string, arg string, attributionSource content.AttributionSource) (bool, error)
Connect(ctx context.Context, device BluetoothDevice, attributionSource content.AttributionSource) (bool, error)
Disconnect(ctx context.Context, device BluetoothDevice, attributionSource content.AttributionSource) (bool, error)
SetConnectionPolicy(ctx context.Context, device BluetoothDevice, connectionPolicy int32, attributionSource content.AttributionSource) (bool, error)
GetConnectionPolicy(ctx context.Context, device BluetoothDevice, attributionSource content.AttributionSource) (int32, error)
GetAudioState(ctx context.Context, device BluetoothDevice, attributionSource content.AttributionSource) (int32, error)
ConnectAudio(ctx context.Context, attributionSource content.AttributionSource) (int32, error)
DisconnectAudio(ctx context.Context, attributionSource content.AttributionSource) (int32, error)
SetAudioRouteAllowed(ctx context.Context, allowed bool, attributionSource content.AttributionSource) error
GetAudioRouteAllowed(ctx context.Context, attributionSource content.AttributionSource) (bool, error)
SetForceScoAudio(ctx context.Context, forced bool, attributionSource content.AttributionSource) error
StartScoUsingVirtualVoiceCall(ctx context.Context, attributionSource content.AttributionSource) (bool, error)
StopScoUsingVirtualVoiceCall(ctx context.Context, attributionSource content.AttributionSource) (bool, error)
SetActiveDevice(ctx context.Context, device BluetoothDevice, attributionSource content.AttributionSource) (bool, error)
GetActiveDevice(ctx context.Context, attributionSource content.AttributionSource) (BluetoothDevice, error)
IsInbandRingingEnabled(ctx context.Context, attributionSource content.AttributionSource) (bool, error)
IsNoiseReductionSupported(ctx context.Context, device BluetoothDevice, attributionSource content.AttributionSource) (bool, error)
IsVoiceRecognitionSupported(ctx context.Context, device BluetoothDevice, attributionSource content.AttributionSource) (bool, error)
}
func NewBluetoothHeadsetStub ¶
func NewBluetoothHeadsetStub( impl IBluetoothHeadsetServer, ) IBluetoothHeadset
NewBluetoothHeadsetStub creates a server-side IBluetoothHeadset wrapping the given server implementation. The returned value satisfies IBluetoothHeadset and can be passed to proxy methods; its AsBinder() returns a *binder.StubBinder that is auto-registered with the binder driver on first use.
type IBluetoothHeadsetClient ¶
type IBluetoothHeadsetClient interface {
AsBinder() binder.IBinder
Connect(ctx context.Context, device BluetoothDevice, attributionSource content.AttributionSource) (bool, error)
Disconnect(ctx context.Context, device BluetoothDevice, attributionSource content.AttributionSource) (bool, error)
GetConnectedDevices(ctx context.Context, attributionSource content.AttributionSource) ([]BluetoothDevice, error)
GetDevicesMatchingConnectionStates(ctx context.Context, states []int32, attributionSource content.AttributionSource) ([]BluetoothDevice, error)
GetConnectionState(ctx context.Context, device BluetoothDevice, attributionSource content.AttributionSource) (int32, error)
SetConnectionPolicy(ctx context.Context, device BluetoothDevice, connectionPolicy int32, attributionSource content.AttributionSource) (bool, error)
GetConnectionPolicy(ctx context.Context, device BluetoothDevice, attributionSource content.AttributionSource) (int32, error)
StartVoiceRecognition(ctx context.Context, device BluetoothDevice, attributionSource content.AttributionSource) (bool, error)
StopVoiceRecognition(ctx context.Context, device BluetoothDevice, attributionSource content.AttributionSource) (bool, error)
GetCurrentCalls(ctx context.Context, device BluetoothDevice, attributionSource content.AttributionSource) ([]BluetoothHeadsetClientCall, error)
GetCurrentAgEvents(ctx context.Context, device BluetoothDevice, attributionSource content.AttributionSource) (os.Bundle, error)
AcceptCall(ctx context.Context, device BluetoothDevice, flag int32, attributionSource content.AttributionSource) (bool, error)
HoldCall(ctx context.Context, device BluetoothDevice, attributionSource content.AttributionSource) (bool, error)
RejectCall(ctx context.Context, device BluetoothDevice, attributionSource content.AttributionSource) (bool, error)
TerminateCall(ctx context.Context, device BluetoothDevice, call BluetoothHeadsetClientCall, attributionSource content.AttributionSource) (bool, error)
EnterPrivateMode(ctx context.Context, device BluetoothDevice, index int32, attributionSource content.AttributionSource) (bool, error)
ExplicitCallTransfer(ctx context.Context, device BluetoothDevice, attributionSource content.AttributionSource) (bool, error)
Dial(ctx context.Context, device BluetoothDevice, number string, attributionSource content.AttributionSource) (BluetoothHeadsetClientCall, error)
SendDTMF(ctx context.Context, device BluetoothDevice, code byte, attributionSource content.AttributionSource) (bool, error)
GetLastVoiceTagNumber(ctx context.Context, device BluetoothDevice, attributionSource content.AttributionSource) (bool, error)
GetAudioState(ctx context.Context, device BluetoothDevice, attributionSource content.AttributionSource) (int32, error)
ConnectAudio(ctx context.Context, device BluetoothDevice, attributionSource content.AttributionSource) (bool, error)
DisconnectAudio(ctx context.Context, device BluetoothDevice, attributionSource content.AttributionSource) (bool, error)
SetAudioRouteAllowed(ctx context.Context, device BluetoothDevice, allowed bool, attributionSource content.AttributionSource) error
GetAudioRouteAllowed(ctx context.Context, device BluetoothDevice, attributionSource content.AttributionSource) (bool, error)
SendVendorAtCommand(ctx context.Context, device BluetoothDevice, vendorId int32, atCommand string, attributionSource content.AttributionSource) (bool, error)
GetCurrentAgFeatures(ctx context.Context, device BluetoothDevice, attributionSource content.AttributionSource) (os.Bundle, error)
}
func NewBluetoothHeadsetClientStub ¶
func NewBluetoothHeadsetClientStub( impl IBluetoothHeadsetClientServer, ) IBluetoothHeadsetClient
NewBluetoothHeadsetClientStub creates a server-side IBluetoothHeadsetClient wrapping the given server implementation. The returned value satisfies IBluetoothHeadsetClient and can be passed to proxy methods; its AsBinder() returns a *binder.StubBinder that is auto-registered with the binder driver on first use.
type IBluetoothHeadsetClientServer ¶
type IBluetoothHeadsetClientServer interface {
Connect(ctx context.Context, device BluetoothDevice, attributionSource content.AttributionSource) (bool, error)
Disconnect(ctx context.Context, device BluetoothDevice, attributionSource content.AttributionSource) (bool, error)
GetConnectedDevices(ctx context.Context, attributionSource content.AttributionSource) ([]BluetoothDevice, error)
GetDevicesMatchingConnectionStates(ctx context.Context, states []int32, attributionSource content.AttributionSource) ([]BluetoothDevice, error)
GetConnectionState(ctx context.Context, device BluetoothDevice, attributionSource content.AttributionSource) (int32, error)
SetConnectionPolicy(ctx context.Context, device BluetoothDevice, connectionPolicy int32, attributionSource content.AttributionSource) (bool, error)
GetConnectionPolicy(ctx context.Context, device BluetoothDevice, attributionSource content.AttributionSource) (int32, error)
StartVoiceRecognition(ctx context.Context, device BluetoothDevice, attributionSource content.AttributionSource) (bool, error)
StopVoiceRecognition(ctx context.Context, device BluetoothDevice, attributionSource content.AttributionSource) (bool, error)
GetCurrentCalls(ctx context.Context, device BluetoothDevice, attributionSource content.AttributionSource) ([]BluetoothHeadsetClientCall, error)
GetCurrentAgEvents(ctx context.Context, device BluetoothDevice, attributionSource content.AttributionSource) (os.Bundle, error)
AcceptCall(ctx context.Context, device BluetoothDevice, flag int32, attributionSource content.AttributionSource) (bool, error)
HoldCall(ctx context.Context, device BluetoothDevice, attributionSource content.AttributionSource) (bool, error)
RejectCall(ctx context.Context, device BluetoothDevice, attributionSource content.AttributionSource) (bool, error)
TerminateCall(ctx context.Context, device BluetoothDevice, call BluetoothHeadsetClientCall, attributionSource content.AttributionSource) (bool, error)
EnterPrivateMode(ctx context.Context, device BluetoothDevice, index int32, attributionSource content.AttributionSource) (bool, error)
ExplicitCallTransfer(ctx context.Context, device BluetoothDevice, attributionSource content.AttributionSource) (bool, error)
Dial(ctx context.Context, device BluetoothDevice, number string, attributionSource content.AttributionSource) (BluetoothHeadsetClientCall, error)
SendDTMF(ctx context.Context, device BluetoothDevice, code byte, attributionSource content.AttributionSource) (bool, error)
GetLastVoiceTagNumber(ctx context.Context, device BluetoothDevice, attributionSource content.AttributionSource) (bool, error)
GetAudioState(ctx context.Context, device BluetoothDevice, attributionSource content.AttributionSource) (int32, error)
ConnectAudio(ctx context.Context, device BluetoothDevice, attributionSource content.AttributionSource) (bool, error)
DisconnectAudio(ctx context.Context, device BluetoothDevice, attributionSource content.AttributionSource) (bool, error)
SetAudioRouteAllowed(ctx context.Context, device BluetoothDevice, allowed bool, attributionSource content.AttributionSource) error
GetAudioRouteAllowed(ctx context.Context, device BluetoothDevice, attributionSource content.AttributionSource) (bool, error)
SendVendorAtCommand(ctx context.Context, device BluetoothDevice, vendorId int32, atCommand string, attributionSource content.AttributionSource) (bool, error)
GetCurrentAgFeatures(ctx context.Context, device BluetoothDevice, attributionSource content.AttributionSource) (os.Bundle, error)
}
IBluetoothHeadsetClientServer is the server-side interface that user implementations provide to NewBluetoothHeadsetClientStub. It contains only the business methods, without AsBinder (which is provided by the stub itself).
type IBluetoothHeadsetServer ¶
type IBluetoothHeadsetServer interface {
GetConnectedDevices(ctx context.Context, attributionSource content.AttributionSource) ([]BluetoothDevice, error)
GetDevicesMatchingConnectionStates(ctx context.Context, states []int32, attributionSource content.AttributionSource) ([]BluetoothDevice, error)
GetConnectionState(ctx context.Context, device BluetoothDevice, attributionSource content.AttributionSource) (int32, error)
StartVoiceRecognition(ctx context.Context, device BluetoothDevice, attributionSource content.AttributionSource) (bool, error)
StopVoiceRecognition(ctx context.Context, device BluetoothDevice, attributionSource content.AttributionSource) (bool, error)
IsAudioConnected(ctx context.Context, device BluetoothDevice, attributionSource content.AttributionSource) (bool, error)
SendVendorSpecificResultCode(ctx context.Context, device BluetoothDevice, command string, arg string, attributionSource content.AttributionSource) (bool, error)
Connect(ctx context.Context, device BluetoothDevice, attributionSource content.AttributionSource) (bool, error)
Disconnect(ctx context.Context, device BluetoothDevice, attributionSource content.AttributionSource) (bool, error)
SetConnectionPolicy(ctx context.Context, device BluetoothDevice, connectionPolicy int32, attributionSource content.AttributionSource) (bool, error)
GetConnectionPolicy(ctx context.Context, device BluetoothDevice, attributionSource content.AttributionSource) (int32, error)
GetAudioState(ctx context.Context, device BluetoothDevice, attributionSource content.AttributionSource) (int32, error)
ConnectAudio(ctx context.Context, attributionSource content.AttributionSource) (int32, error)
DisconnectAudio(ctx context.Context, attributionSource content.AttributionSource) (int32, error)
SetAudioRouteAllowed(ctx context.Context, allowed bool, attributionSource content.AttributionSource) error
GetAudioRouteAllowed(ctx context.Context, attributionSource content.AttributionSource) (bool, error)
SetForceScoAudio(ctx context.Context, forced bool, attributionSource content.AttributionSource) error
StartScoUsingVirtualVoiceCall(ctx context.Context, attributionSource content.AttributionSource) (bool, error)
StopScoUsingVirtualVoiceCall(ctx context.Context, attributionSource content.AttributionSource) (bool, error)
SetActiveDevice(ctx context.Context, device BluetoothDevice, attributionSource content.AttributionSource) (bool, error)
GetActiveDevice(ctx context.Context, attributionSource content.AttributionSource) (BluetoothDevice, error)
IsInbandRingingEnabled(ctx context.Context, attributionSource content.AttributionSource) (bool, error)
IsNoiseReductionSupported(ctx context.Context, device BluetoothDevice, attributionSource content.AttributionSource) (bool, error)
IsVoiceRecognitionSupported(ctx context.Context, device BluetoothDevice, attributionSource content.AttributionSource) (bool, error)
}
IBluetoothHeadsetServer is the server-side interface that user implementations provide to NewBluetoothHeadsetStub. It contains only the business methods, without AsBinder (which is provided by the stub itself).
type IBluetoothHearingAid ¶
type IBluetoothHearingAid interface {
AsBinder() binder.IBinder
Connect(ctx context.Context, device BluetoothDevice, attributionSource content.AttributionSource) (bool, error)
Disconnect(ctx context.Context, device BluetoothDevice, attributionSource content.AttributionSource) (bool, error)
GetConnectedDevices(ctx context.Context, attributionSource content.AttributionSource) ([]BluetoothDevice, error)
GetDevicesMatchingConnectionStates(ctx context.Context, states []int32, attributionSource content.AttributionSource) ([]BluetoothDevice, error)
GetConnectionState(ctx context.Context, device BluetoothDevice, attributionSource content.AttributionSource) (int32, error)
SetActiveDevice(ctx context.Context, device BluetoothDevice, attributionSource content.AttributionSource) (bool, error)
GetActiveDevices(ctx context.Context, attributionSource content.AttributionSource) ([]BluetoothDevice, error)
SetConnectionPolicy(ctx context.Context, device BluetoothDevice, connectionPolicy int32, attributionSource content.AttributionSource) (bool, error)
GetConnectionPolicy(ctx context.Context, device BluetoothDevice, attributionSource content.AttributionSource) (int32, error)
SetVolume(ctx context.Context, volume int32, attributionSource content.AttributionSource) error
GetHiSyncId(ctx context.Context, device BluetoothDevice, attributionSource content.AttributionSource) (int64, error)
GetDeviceSide(ctx context.Context, device BluetoothDevice, attributionSource content.AttributionSource) (int32, error)
GetDeviceMode(ctx context.Context, device BluetoothDevice, attributionSource content.AttributionSource) (int32, error)
GetAdvertisementServiceData(ctx context.Context, device BluetoothDevice, attributionSource content.AttributionSource) (BluetoothHearingAidAdvertisementServiceData, error)
}
func NewBluetoothHearingAidStub ¶
func NewBluetoothHearingAidStub( impl IBluetoothHearingAidServer, ) IBluetoothHearingAid
NewBluetoothHearingAidStub creates a server-side IBluetoothHearingAid wrapping the given server implementation. The returned value satisfies IBluetoothHearingAid and can be passed to proxy methods; its AsBinder() returns a *binder.StubBinder that is auto-registered with the binder driver on first use.
type IBluetoothHearingAidServer ¶
type IBluetoothHearingAidServer interface {
Connect(ctx context.Context, device BluetoothDevice, attributionSource content.AttributionSource) (bool, error)
Disconnect(ctx context.Context, device BluetoothDevice, attributionSource content.AttributionSource) (bool, error)
GetConnectedDevices(ctx context.Context, attributionSource content.AttributionSource) ([]BluetoothDevice, error)
GetDevicesMatchingConnectionStates(ctx context.Context, states []int32, attributionSource content.AttributionSource) ([]BluetoothDevice, error)
GetConnectionState(ctx context.Context, device BluetoothDevice, attributionSource content.AttributionSource) (int32, error)
SetActiveDevice(ctx context.Context, device BluetoothDevice, attributionSource content.AttributionSource) (bool, error)
GetActiveDevices(ctx context.Context, attributionSource content.AttributionSource) ([]BluetoothDevice, error)
SetConnectionPolicy(ctx context.Context, device BluetoothDevice, connectionPolicy int32, attributionSource content.AttributionSource) (bool, error)
GetConnectionPolicy(ctx context.Context, device BluetoothDevice, attributionSource content.AttributionSource) (int32, error)
SetVolume(ctx context.Context, volume int32, attributionSource content.AttributionSource) error
GetHiSyncId(ctx context.Context, device BluetoothDevice, attributionSource content.AttributionSource) (int64, error)
GetDeviceSide(ctx context.Context, device BluetoothDevice, attributionSource content.AttributionSource) (int32, error)
GetDeviceMode(ctx context.Context, device BluetoothDevice, attributionSource content.AttributionSource) (int32, error)
GetAdvertisementServiceData(ctx context.Context, device BluetoothDevice, attributionSource content.AttributionSource) (BluetoothHearingAidAdvertisementServiceData, error)
}
IBluetoothHearingAidServer is the server-side interface that user implementations provide to NewBluetoothHearingAidStub. It contains only the business methods, without AsBinder (which is provided by the stub itself).
type IBluetoothHidDevice ¶
type IBluetoothHidDevice interface {
AsBinder() binder.IBinder
RegisterApp(ctx context.Context, sdp BluetoothHidDeviceAppSdpSettings, inQos BluetoothHidDeviceAppQosSettings, outQos BluetoothHidDeviceAppQosSettings, callback IBluetoothHidDeviceCallback, attributionSource content.AttributionSource) (bool, error)
UnregisterApp(ctx context.Context, attributionSource content.AttributionSource) (bool, error)
SendReport(ctx context.Context, device BluetoothDevice, id int32, data []byte, attributionSource content.AttributionSource) (bool, error)
ReplyReport(ctx context.Context, device BluetoothDevice, type_ byte, id byte, data []byte, attributionSource content.AttributionSource) (bool, error)
ReportError(ctx context.Context, device BluetoothDevice, error_ byte, attributionSource content.AttributionSource) (bool, error)
Unplug(ctx context.Context, device BluetoothDevice, attributionSource content.AttributionSource) (bool, error)
Connect(ctx context.Context, device BluetoothDevice, attributionSource content.AttributionSource) (bool, error)
Disconnect(ctx context.Context, device BluetoothDevice, attributionSource content.AttributionSource) (bool, error)
GetConnectedDevices(ctx context.Context, attributionSource content.AttributionSource) ([]BluetoothDevice, error)
GetDevicesMatchingConnectionStates(ctx context.Context, states []int32, attributionSource content.AttributionSource) ([]BluetoothDevice, error)
GetConnectionState(ctx context.Context, device BluetoothDevice, attributionSource content.AttributionSource) (int32, error)
GetUserAppName(ctx context.Context, attributionSource content.AttributionSource) (string, error)
SetConnectionPolicy(ctx context.Context, device BluetoothDevice, connectionPolicy int32, attributionSource content.AttributionSource) (bool, error)
}
func NewBluetoothHidDeviceStub ¶
func NewBluetoothHidDeviceStub( impl IBluetoothHidDeviceServer, ) IBluetoothHidDevice
NewBluetoothHidDeviceStub creates a server-side IBluetoothHidDevice wrapping the given server implementation. The returned value satisfies IBluetoothHidDevice and can be passed to proxy methods; its AsBinder() returns a *binder.StubBinder that is auto-registered with the binder driver on first use.
type IBluetoothHidDeviceCallback ¶
type IBluetoothHidDeviceCallback interface {
AsBinder() binder.IBinder
OnAppStatusChanged(ctx context.Context, device BluetoothDevice, registered bool) error
OnConnectionStateChanged(ctx context.Context, device BluetoothDevice, state int32) error
OnGetReport(ctx context.Context, device BluetoothDevice, type_ byte, id byte, bufferSize int32) error
OnSetReport(ctx context.Context, device BluetoothDevice, type_ byte, id byte, data []byte) error
OnSetProtocol(ctx context.Context, device BluetoothDevice, protocol byte) error
OnInterruptData(ctx context.Context, device BluetoothDevice, reportId byte, data []byte) error
OnVirtualCableUnplug(ctx context.Context, device BluetoothDevice) error
}
func NewBluetoothHidDeviceCallbackStub ¶
func NewBluetoothHidDeviceCallbackStub( impl IBluetoothHidDeviceCallbackServer, ) IBluetoothHidDeviceCallback
NewBluetoothHidDeviceCallbackStub creates a server-side IBluetoothHidDeviceCallback wrapping the given server implementation. The returned value satisfies IBluetoothHidDeviceCallback and can be passed to proxy methods; its AsBinder() returns a *binder.StubBinder that is auto-registered with the binder driver on first use.
type IBluetoothHidDeviceCallbackServer ¶
type IBluetoothHidDeviceCallbackServer interface {
OnAppStatusChanged(ctx context.Context, device BluetoothDevice, registered bool) error
OnConnectionStateChanged(ctx context.Context, device BluetoothDevice, state int32) error
OnGetReport(ctx context.Context, device BluetoothDevice, type_ byte, id byte, bufferSize int32) error
OnSetReport(ctx context.Context, device BluetoothDevice, type_ byte, id byte, data []byte) error
OnSetProtocol(ctx context.Context, device BluetoothDevice, protocol byte) error
OnInterruptData(ctx context.Context, device BluetoothDevice, reportId byte, data []byte) error
OnVirtualCableUnplug(ctx context.Context, device BluetoothDevice) error
}
IBluetoothHidDeviceCallbackServer is the server-side interface that user implementations provide to NewBluetoothHidDeviceCallbackStub. It contains only the business methods, without AsBinder (which is provided by the stub itself).
type IBluetoothHidDeviceServer ¶
type IBluetoothHidDeviceServer interface {
RegisterApp(ctx context.Context, sdp BluetoothHidDeviceAppSdpSettings, inQos BluetoothHidDeviceAppQosSettings, outQos BluetoothHidDeviceAppQosSettings, callback IBluetoothHidDeviceCallback, attributionSource content.AttributionSource) (bool, error)
UnregisterApp(ctx context.Context, attributionSource content.AttributionSource) (bool, error)
SendReport(ctx context.Context, device BluetoothDevice, id int32, data []byte, attributionSource content.AttributionSource) (bool, error)
ReplyReport(ctx context.Context, device BluetoothDevice, type_ byte, id byte, data []byte, attributionSource content.AttributionSource) (bool, error)
ReportError(ctx context.Context, device BluetoothDevice, error_ byte, attributionSource content.AttributionSource) (bool, error)
Unplug(ctx context.Context, device BluetoothDevice, attributionSource content.AttributionSource) (bool, error)
Connect(ctx context.Context, device BluetoothDevice, attributionSource content.AttributionSource) (bool, error)
Disconnect(ctx context.Context, device BluetoothDevice, attributionSource content.AttributionSource) (bool, error)
GetConnectedDevices(ctx context.Context, attributionSource content.AttributionSource) ([]BluetoothDevice, error)
GetDevicesMatchingConnectionStates(ctx context.Context, states []int32, attributionSource content.AttributionSource) ([]BluetoothDevice, error)
GetConnectionState(ctx context.Context, device BluetoothDevice, attributionSource content.AttributionSource) (int32, error)
GetUserAppName(ctx context.Context, attributionSource content.AttributionSource) (string, error)
SetConnectionPolicy(ctx context.Context, device BluetoothDevice, connectionPolicy int32, attributionSource content.AttributionSource) (bool, error)
}
IBluetoothHidDeviceServer is the server-side interface that user implementations provide to NewBluetoothHidDeviceStub. It contains only the business methods, without AsBinder (which is provided by the stub itself).
type IBluetoothHidHost ¶
type IBluetoothHidHost interface {
AsBinder() binder.IBinder
Connect(ctx context.Context, device BluetoothDevice, attributionSource content.AttributionSource) (bool, error)
Disconnect(ctx context.Context, device BluetoothDevice, attributionSource content.AttributionSource) (bool, error)
GetConnectedDevices(ctx context.Context, attributionSource content.AttributionSource) ([]BluetoothDevice, error)
GetDevicesMatchingConnectionStates(ctx context.Context, states []int32, attributionSource content.AttributionSource) ([]BluetoothDevice, error)
GetConnectionState(ctx context.Context, device BluetoothDevice, attributionSource content.AttributionSource) (int32, error)
SetConnectionPolicy(ctx context.Context, device BluetoothDevice, connectionPolicy int32, attributionSource content.AttributionSource) (bool, error)
GetConnectionPolicy(ctx context.Context, device BluetoothDevice, attributionSource content.AttributionSource) (int32, error)
SetPreferredTransport(ctx context.Context, device BluetoothDevice, transport int32, attributionSource content.AttributionSource) (bool, error)
GetPreferredTransport(ctx context.Context, device BluetoothDevice, attributionSource content.AttributionSource) (int32, error)
GetProtocolMode(ctx context.Context, device BluetoothDevice, attributionSource content.AttributionSource) (bool, error)
VirtualUnplug(ctx context.Context, device BluetoothDevice, attributionSource content.AttributionSource) (bool, error)
SetProtocolMode(ctx context.Context, device BluetoothDevice, protocolMode int32, attributionSource content.AttributionSource) (bool, error)
GetReport(ctx context.Context, device BluetoothDevice, reportType byte, reportId byte, bufferSize int32, attributionSource content.AttributionSource) (bool, error)
SetReport(ctx context.Context, device BluetoothDevice, reportType byte, report string, attributionSource content.AttributionSource) (bool, error)
SendData(ctx context.Context, device BluetoothDevice, report string, attributionSource content.AttributionSource) (bool, error)
GetIdleTime(ctx context.Context, device BluetoothDevice, attributionSource content.AttributionSource) (bool, error)
SetIdleTime(ctx context.Context, device BluetoothDevice, idleTime byte, attributionSource content.AttributionSource) (bool, error)
}
func NewBluetoothHidHostStub ¶
func NewBluetoothHidHostStub( impl IBluetoothHidHostServer, ) IBluetoothHidHost
NewBluetoothHidHostStub creates a server-side IBluetoothHidHost wrapping the given server implementation. The returned value satisfies IBluetoothHidHost and can be passed to proxy methods; its AsBinder() returns a *binder.StubBinder that is auto-registered with the binder driver on first use.
type IBluetoothHidHostServer ¶
type IBluetoothHidHostServer interface {
Connect(ctx context.Context, device BluetoothDevice, attributionSource content.AttributionSource) (bool, error)
Disconnect(ctx context.Context, device BluetoothDevice, attributionSource content.AttributionSource) (bool, error)
GetConnectedDevices(ctx context.Context, attributionSource content.AttributionSource) ([]BluetoothDevice, error)
GetDevicesMatchingConnectionStates(ctx context.Context, states []int32, attributionSource content.AttributionSource) ([]BluetoothDevice, error)
GetConnectionState(ctx context.Context, device BluetoothDevice, attributionSource content.AttributionSource) (int32, error)
SetConnectionPolicy(ctx context.Context, device BluetoothDevice, connectionPolicy int32, attributionSource content.AttributionSource) (bool, error)
GetConnectionPolicy(ctx context.Context, device BluetoothDevice, attributionSource content.AttributionSource) (int32, error)
SetPreferredTransport(ctx context.Context, device BluetoothDevice, transport int32, attributionSource content.AttributionSource) (bool, error)
GetPreferredTransport(ctx context.Context, device BluetoothDevice, attributionSource content.AttributionSource) (int32, error)
GetProtocolMode(ctx context.Context, device BluetoothDevice, attributionSource content.AttributionSource) (bool, error)
VirtualUnplug(ctx context.Context, device BluetoothDevice, attributionSource content.AttributionSource) (bool, error)
SetProtocolMode(ctx context.Context, device BluetoothDevice, protocolMode int32, attributionSource content.AttributionSource) (bool, error)
GetReport(ctx context.Context, device BluetoothDevice, reportType byte, reportId byte, bufferSize int32, attributionSource content.AttributionSource) (bool, error)
SetReport(ctx context.Context, device BluetoothDevice, reportType byte, report string, attributionSource content.AttributionSource) (bool, error)
SendData(ctx context.Context, device BluetoothDevice, report string, attributionSource content.AttributionSource) (bool, error)
GetIdleTime(ctx context.Context, device BluetoothDevice, attributionSource content.AttributionSource) (bool, error)
SetIdleTime(ctx context.Context, device BluetoothDevice, idleTime byte, attributionSource content.AttributionSource) (bool, error)
}
IBluetoothHidHostServer is the server-side interface that user implementations provide to NewBluetoothHidHostStub. It contains only the business methods, without AsBinder (which is provided by the stub itself).
type IBluetoothLeAudio ¶
type IBluetoothLeAudio interface {
AsBinder() binder.IBinder
Connect(ctx context.Context, device BluetoothDevice, attributionSource content.AttributionSource) (bool, error)
Disconnect(ctx context.Context, device BluetoothDevice, attributionSource content.AttributionSource) (bool, error)
GetConnectedDevices(ctx context.Context, attributionSource content.AttributionSource) ([]BluetoothDevice, error)
GetDevicesMatchingConnectionStates(ctx context.Context, states []int32, attributionSource content.AttributionSource) ([]BluetoothDevice, error)
GetConnectionState(ctx context.Context, device BluetoothDevice, attributionSource content.AttributionSource) (int32, error)
SetActiveDevice(ctx context.Context, device BluetoothDevice, attributionSource content.AttributionSource) (bool, error)
GetActiveDevices(ctx context.Context, attributionSource content.AttributionSource) ([]BluetoothDevice, error)
SetConnectionPolicy(ctx context.Context, device BluetoothDevice, connectionPolicy int32, attributionSource content.AttributionSource) (bool, error)
GetConnectionPolicy(ctx context.Context, device BluetoothDevice, attributionSource content.AttributionSource) (int32, error)
GetConnectedGroupLeadDevice(ctx context.Context, groupId int32, attributionSource content.AttributionSource) (BluetoothDevice, error)
GetCodecStatus(ctx context.Context, groupId int32, source content.AttributionSource) (BluetoothLeAudioCodecStatus, error)
SetCodecConfigPreference(ctx context.Context, groupId int32, inputCodecConfig BluetoothLeAudioCodecConfig, outputCodecConfig BluetoothLeAudioCodecConfig, source content.AttributionSource) error
SetBroadcastToUnicastFallbackGroup(ctx context.Context, groupId int32, attributionSource content.AttributionSource) error
GetBroadcastToUnicastFallbackGroup(ctx context.Context, attributionSource content.AttributionSource) (int32, error)
RegisterCallback(ctx context.Context, callback IBluetoothLeAudioCallback, attributionSource content.AttributionSource) error
UnregisterCallback(ctx context.Context, callback IBluetoothLeAudioCallback, attributionSource content.AttributionSource) error
SetCcidInformation(ctx context.Context, userUuid os.ParcelUuid, ccid int32, contextType int32, attributionSource content.AttributionSource) error
SetInCall(ctx context.Context, inCall bool, attributionSource content.AttributionSource) error
SetInactiveForHfpHandover(ctx context.Context, device BluetoothDevice, attributionSource content.AttributionSource) error
GetGroupId(ctx context.Context, device BluetoothDevice, attributionSource content.AttributionSource) (int32, error)
SetVolume(ctx context.Context, volume int32, attributionSource content.AttributionSource) error
GroupAddNode(ctx context.Context, group_id int32, device BluetoothDevice, attributionSource content.AttributionSource) (bool, error)
GroupRemoveNode(ctx context.Context, group_id int32, device BluetoothDevice, attributionSource content.AttributionSource) (bool, error)
GetAudioLocation(ctx context.Context, device BluetoothDevice, attributionSource content.AttributionSource) (int32, error)
IsInbandRingtoneEnabled(ctx context.Context, attributionSource content.AttributionSource, groupId int32) (bool, error)
RegisterLeBroadcastCallback(ctx context.Context, callback IBluetoothLeBroadcastCallback, attributionSource content.AttributionSource) error
UnregisterLeBroadcastCallback(ctx context.Context, callback IBluetoothLeBroadcastCallback, attributionSource content.AttributionSource) error
StartBroadcast(ctx context.Context, broadcastSettings BluetoothLeBroadcastSettings, attributionSource content.AttributionSource) error
StopBroadcast(ctx context.Context, broadcastId int32, attributionSource content.AttributionSource) error
UpdateBroadcast(ctx context.Context, broadcastId int32, broadcastSettings BluetoothLeBroadcastSettings, attributionSource content.AttributionSource) error
IsPlaying(ctx context.Context, broadcastId int32, attributionSource content.AttributionSource) (bool, error)
GetAllBroadcastMetadata(ctx context.Context, attributionSource content.AttributionSource) ([]BluetoothLeBroadcastMetadata, error)
GetMaximumNumberOfBroadcasts(ctx context.Context) (int32, error)
GetMaximumStreamsPerBroadcast(ctx context.Context) (int32, error)
GetMaximumSubgroupsPerBroadcast(ctx context.Context) (int32, error)
IsBroadcastActive(ctx context.Context, attributionSource content.AttributionSource) (bool, error)
}
func NewBluetoothLeAudioStub ¶
func NewBluetoothLeAudioStub( impl IBluetoothLeAudioServer, ) IBluetoothLeAudio
NewBluetoothLeAudioStub creates a server-side IBluetoothLeAudio wrapping the given server implementation. The returned value satisfies IBluetoothLeAudio and can be passed to proxy methods; its AsBinder() returns a *binder.StubBinder that is auto-registered with the binder driver on first use.
type IBluetoothLeAudioCallback ¶
type IBluetoothLeAudioCallback interface {
AsBinder() binder.IBinder
OnCodecConfigChanged(ctx context.Context, groupId int32, status BluetoothLeAudioCodecStatus) error
OnGroupNodeAdded(ctx context.Context, device BluetoothDevice, groupId int32) error
OnGroupNodeRemoved(ctx context.Context, device BluetoothDevice, groupId int32) error
OnGroupStatusChanged(ctx context.Context, groupId int32, groupStatus int32) error
OnGroupStreamStatusChanged(ctx context.Context, groupId int32, groupStreamStatus int32) error
OnBroadcastToUnicastFallbackGroupChanged(ctx context.Context, groupId int32) error
}
func NewBluetoothLeAudioCallbackStub ¶
func NewBluetoothLeAudioCallbackStub( impl IBluetoothLeAudioCallbackServer, ) IBluetoothLeAudioCallback
NewBluetoothLeAudioCallbackStub creates a server-side IBluetoothLeAudioCallback wrapping the given server implementation. The returned value satisfies IBluetoothLeAudioCallback and can be passed to proxy methods; its AsBinder() returns a *binder.StubBinder that is auto-registered with the binder driver on first use.
type IBluetoothLeAudioCallbackServer ¶
type IBluetoothLeAudioCallbackServer interface {
OnCodecConfigChanged(ctx context.Context, groupId int32, status BluetoothLeAudioCodecStatus) error
OnGroupNodeAdded(ctx context.Context, device BluetoothDevice, groupId int32) error
OnGroupNodeRemoved(ctx context.Context, device BluetoothDevice, groupId int32) error
OnGroupStatusChanged(ctx context.Context, groupId int32, groupStatus int32) error
OnGroupStreamStatusChanged(ctx context.Context, groupId int32, groupStreamStatus int32) error
OnBroadcastToUnicastFallbackGroupChanged(ctx context.Context, groupId int32) error
}
IBluetoothLeAudioCallbackServer is the server-side interface that user implementations provide to NewBluetoothLeAudioCallbackStub. It contains only the business methods, without AsBinder (which is provided by the stub itself).
type IBluetoothLeAudioServer ¶
type IBluetoothLeAudioServer interface {
Connect(ctx context.Context, device BluetoothDevice, attributionSource content.AttributionSource) (bool, error)
Disconnect(ctx context.Context, device BluetoothDevice, attributionSource content.AttributionSource) (bool, error)
GetConnectedDevices(ctx context.Context, attributionSource content.AttributionSource) ([]BluetoothDevice, error)
GetDevicesMatchingConnectionStates(ctx context.Context, states []int32, attributionSource content.AttributionSource) ([]BluetoothDevice, error)
GetConnectionState(ctx context.Context, device BluetoothDevice, attributionSource content.AttributionSource) (int32, error)
SetActiveDevice(ctx context.Context, device BluetoothDevice, attributionSource content.AttributionSource) (bool, error)
GetActiveDevices(ctx context.Context, attributionSource content.AttributionSource) ([]BluetoothDevice, error)
SetConnectionPolicy(ctx context.Context, device BluetoothDevice, connectionPolicy int32, attributionSource content.AttributionSource) (bool, error)
GetConnectionPolicy(ctx context.Context, device BluetoothDevice, attributionSource content.AttributionSource) (int32, error)
GetConnectedGroupLeadDevice(ctx context.Context, groupId int32, attributionSource content.AttributionSource) (BluetoothDevice, error)
GetCodecStatus(ctx context.Context, groupId int32, source content.AttributionSource) (BluetoothLeAudioCodecStatus, error)
SetCodecConfigPreference(ctx context.Context, groupId int32, inputCodecConfig BluetoothLeAudioCodecConfig, outputCodecConfig BluetoothLeAudioCodecConfig, source content.AttributionSource) error
SetBroadcastToUnicastFallbackGroup(ctx context.Context, groupId int32, attributionSource content.AttributionSource) error
GetBroadcastToUnicastFallbackGroup(ctx context.Context, attributionSource content.AttributionSource) (int32, error)
RegisterCallback(ctx context.Context, callback IBluetoothLeAudioCallback, attributionSource content.AttributionSource) error
UnregisterCallback(ctx context.Context, callback IBluetoothLeAudioCallback, attributionSource content.AttributionSource) error
SetCcidInformation(ctx context.Context, userUuid os.ParcelUuid, ccid int32, contextType int32, attributionSource content.AttributionSource) error
SetInCall(ctx context.Context, inCall bool, attributionSource content.AttributionSource) error
SetInactiveForHfpHandover(ctx context.Context, device BluetoothDevice, attributionSource content.AttributionSource) error
GetGroupId(ctx context.Context, device BluetoothDevice, attributionSource content.AttributionSource) (int32, error)
SetVolume(ctx context.Context, volume int32, attributionSource content.AttributionSource) error
GroupAddNode(ctx context.Context, group_id int32, device BluetoothDevice, attributionSource content.AttributionSource) (bool, error)
GroupRemoveNode(ctx context.Context, group_id int32, device BluetoothDevice, attributionSource content.AttributionSource) (bool, error)
GetAudioLocation(ctx context.Context, device BluetoothDevice, attributionSource content.AttributionSource) (int32, error)
IsInbandRingtoneEnabled(ctx context.Context, attributionSource content.AttributionSource, groupId int32) (bool, error)
RegisterLeBroadcastCallback(ctx context.Context, callback IBluetoothLeBroadcastCallback, attributionSource content.AttributionSource) error
UnregisterLeBroadcastCallback(ctx context.Context, callback IBluetoothLeBroadcastCallback, attributionSource content.AttributionSource) error
StartBroadcast(ctx context.Context, broadcastSettings BluetoothLeBroadcastSettings, attributionSource content.AttributionSource) error
StopBroadcast(ctx context.Context, broadcastId int32, attributionSource content.AttributionSource) error
UpdateBroadcast(ctx context.Context, broadcastId int32, broadcastSettings BluetoothLeBroadcastSettings, attributionSource content.AttributionSource) error
IsPlaying(ctx context.Context, broadcastId int32, attributionSource content.AttributionSource) (bool, error)
GetAllBroadcastMetadata(ctx context.Context, attributionSource content.AttributionSource) ([]BluetoothLeBroadcastMetadata, error)
GetMaximumNumberOfBroadcasts(ctx context.Context) (int32, error)
GetMaximumStreamsPerBroadcast(ctx context.Context) (int32, error)
GetMaximumSubgroupsPerBroadcast(ctx context.Context) (int32, error)
IsBroadcastActive(ctx context.Context, attributionSource content.AttributionSource) (bool, error)
}
IBluetoothLeAudioServer is the server-side interface that user implementations provide to NewBluetoothLeAudioStub. It contains only the business methods, without AsBinder (which is provided by the stub itself).
type IBluetoothLeBroadcastAssistant ¶
type IBluetoothLeBroadcastAssistant interface {
AsBinder() binder.IBinder
GetConnectionState(ctx context.Context, sink BluetoothDevice, source content.AttributionSource) (int32, error)
GetDevicesMatchingConnectionStates(ctx context.Context, states []int32, source content.AttributionSource) ([]BluetoothDevice, error)
GetConnectedDevices(ctx context.Context, source content.AttributionSource) ([]BluetoothDevice, error)
SetConnectionPolicy(ctx context.Context, device BluetoothDevice, connectionPolicy int32, source content.AttributionSource) (bool, error)
GetConnectionPolicy(ctx context.Context, device BluetoothDevice, source content.AttributionSource) (int32, error)
RegisterCallback(ctx context.Context, cb IBluetoothLeBroadcastAssistantCallback, source content.AttributionSource) error
UnregisterCallback(ctx context.Context, cb IBluetoothLeBroadcastAssistantCallback, source content.AttributionSource) error
StartSearchingForSources(ctx context.Context, filters []le.ScanFilter, source content.AttributionSource) error
StopSearchingForSources(ctx context.Context, source content.AttributionSource) error
IsSearchInProgress(ctx context.Context, source content.AttributionSource) (bool, error)
AddSource(ctx context.Context, sink BluetoothDevice, sourceMetadata BluetoothLeBroadcastMetadata, isGroupOp bool, source content.AttributionSource) error
ModifySource(ctx context.Context, sink BluetoothDevice, sourceId int32, updatedMetadata BluetoothLeBroadcastMetadata, source content.AttributionSource) error
RemoveSource(ctx context.Context, sink BluetoothDevice, sourceId int32, source content.AttributionSource) error
GetAllSources(ctx context.Context, sink BluetoothDevice, source content.AttributionSource) ([]BluetoothLeBroadcastReceiveState, error)
GetMaximumSourceCapacity(ctx context.Context, sink BluetoothDevice, source content.AttributionSource) (int32, error)
GetSourceMetadata(ctx context.Context, sink BluetoothDevice, sourceId int32, source content.AttributionSource) (BluetoothLeBroadcastMetadata, error)
}
func NewBluetoothLeBroadcastAssistantStub ¶
func NewBluetoothLeBroadcastAssistantStub( impl IBluetoothLeBroadcastAssistantServer, ) IBluetoothLeBroadcastAssistant
NewBluetoothLeBroadcastAssistantStub creates a server-side IBluetoothLeBroadcastAssistant wrapping the given server implementation. The returned value satisfies IBluetoothLeBroadcastAssistant and can be passed to proxy methods; its AsBinder() returns a *binder.StubBinder that is auto-registered with the binder driver on first use.
type IBluetoothLeBroadcastAssistantCallback ¶
type IBluetoothLeBroadcastAssistantCallback interface {
AsBinder() binder.IBinder
OnSearchStarted(ctx context.Context, reason int32) error
OnSearchStartFailed(ctx context.Context, reason int32) error
OnSearchStopped(ctx context.Context, reason int32) error
OnSearchStopFailed(ctx context.Context, reason int32) error
OnSourceFound(ctx context.Context, source BluetoothLeBroadcastMetadata) error
OnSourceAdded(ctx context.Context, sink BluetoothDevice, sourceId int32, reason int32) error
OnSourceAddFailed(ctx context.Context, sink BluetoothDevice, source BluetoothLeBroadcastMetadata, reason int32) error
OnSourceModified(ctx context.Context, sink BluetoothDevice, sourceId int32, reason int32) error
OnSourceModifyFailed(ctx context.Context, sink BluetoothDevice, sourceId int32, reason int32) error
OnSourceRemoved(ctx context.Context, sink BluetoothDevice, sourceId int32, reason int32) error
OnSourceRemoveFailed(ctx context.Context, sink BluetoothDevice, sourceId int32, reason int32) error
OnReceiveStateChanged(ctx context.Context, sink BluetoothDevice, sourceId int32, state BluetoothLeBroadcastReceiveState) error
OnSourceLost(ctx context.Context, broadcastId int32) error
}
func NewBluetoothLeBroadcastAssistantCallbackStub ¶
func NewBluetoothLeBroadcastAssistantCallbackStub( impl IBluetoothLeBroadcastAssistantCallbackServer, ) IBluetoothLeBroadcastAssistantCallback
NewBluetoothLeBroadcastAssistantCallbackStub creates a server-side IBluetoothLeBroadcastAssistantCallback wrapping the given server implementation. The returned value satisfies IBluetoothLeBroadcastAssistantCallback and can be passed to proxy methods; its AsBinder() returns a *binder.StubBinder that is auto-registered with the binder driver on first use.
type IBluetoothLeBroadcastAssistantCallbackServer ¶
type IBluetoothLeBroadcastAssistantCallbackServer interface {
OnSearchStarted(ctx context.Context, reason int32) error
OnSearchStartFailed(ctx context.Context, reason int32) error
OnSearchStopped(ctx context.Context, reason int32) error
OnSearchStopFailed(ctx context.Context, reason int32) error
OnSourceFound(ctx context.Context, source BluetoothLeBroadcastMetadata) error
OnSourceAdded(ctx context.Context, sink BluetoothDevice, sourceId int32, reason int32) error
OnSourceAddFailed(ctx context.Context, sink BluetoothDevice, source BluetoothLeBroadcastMetadata, reason int32) error
OnSourceModified(ctx context.Context, sink BluetoothDevice, sourceId int32, reason int32) error
OnSourceModifyFailed(ctx context.Context, sink BluetoothDevice, sourceId int32, reason int32) error
OnSourceRemoved(ctx context.Context, sink BluetoothDevice, sourceId int32, reason int32) error
OnSourceRemoveFailed(ctx context.Context, sink BluetoothDevice, sourceId int32, reason int32) error
OnReceiveStateChanged(ctx context.Context, sink BluetoothDevice, sourceId int32, state BluetoothLeBroadcastReceiveState) error
OnSourceLost(ctx context.Context, broadcastId int32) error
}
IBluetoothLeBroadcastAssistantCallbackServer is the server-side interface that user implementations provide to NewBluetoothLeBroadcastAssistantCallbackStub. It contains only the business methods, without AsBinder (which is provided by the stub itself).
type IBluetoothLeBroadcastAssistantServer ¶
type IBluetoothLeBroadcastAssistantServer interface {
GetConnectionState(ctx context.Context, sink BluetoothDevice, source content.AttributionSource) (int32, error)
GetDevicesMatchingConnectionStates(ctx context.Context, states []int32, source content.AttributionSource) ([]BluetoothDevice, error)
GetConnectedDevices(ctx context.Context, source content.AttributionSource) ([]BluetoothDevice, error)
SetConnectionPolicy(ctx context.Context, device BluetoothDevice, connectionPolicy int32, source content.AttributionSource) (bool, error)
GetConnectionPolicy(ctx context.Context, device BluetoothDevice, source content.AttributionSource) (int32, error)
RegisterCallback(ctx context.Context, cb IBluetoothLeBroadcastAssistantCallback, source content.AttributionSource) error
UnregisterCallback(ctx context.Context, cb IBluetoothLeBroadcastAssistantCallback, source content.AttributionSource) error
StartSearchingForSources(ctx context.Context, filters []le.ScanFilter, source content.AttributionSource) error
StopSearchingForSources(ctx context.Context, source content.AttributionSource) error
IsSearchInProgress(ctx context.Context, source content.AttributionSource) (bool, error)
AddSource(ctx context.Context, sink BluetoothDevice, sourceMetadata BluetoothLeBroadcastMetadata, isGroupOp bool, source content.AttributionSource) error
ModifySource(ctx context.Context, sink BluetoothDevice, sourceId int32, updatedMetadata BluetoothLeBroadcastMetadata, source content.AttributionSource) error
RemoveSource(ctx context.Context, sink BluetoothDevice, sourceId int32, source content.AttributionSource) error
GetAllSources(ctx context.Context, sink BluetoothDevice, source content.AttributionSource) ([]BluetoothLeBroadcastReceiveState, error)
GetMaximumSourceCapacity(ctx context.Context, sink BluetoothDevice, source content.AttributionSource) (int32, error)
GetSourceMetadata(ctx context.Context, sink BluetoothDevice, sourceId int32, source content.AttributionSource) (BluetoothLeBroadcastMetadata, error)
}
IBluetoothLeBroadcastAssistantServer is the server-side interface that user implementations provide to NewBluetoothLeBroadcastAssistantStub. It contains only the business methods, without AsBinder (which is provided by the stub itself).
type IBluetoothLeBroadcastCallback ¶
type IBluetoothLeBroadcastCallback interface {
AsBinder() binder.IBinder
OnBroadcastStarted(ctx context.Context, reason int32, broadcastId int32) error
OnBroadcastStartFailed(ctx context.Context, reason int32) error
OnBroadcastStopped(ctx context.Context, reason int32, broadcastId int32) error
OnBroadcastStopFailed(ctx context.Context, reason int32) error
OnPlaybackStarted(ctx context.Context, reason int32, broadcastId int32) error
OnPlaybackStopped(ctx context.Context, reason int32, broadcastId int32) error
OnBroadcastUpdated(ctx context.Context, reason int32, broadcastId int32) error
OnBroadcastUpdateFailed(ctx context.Context, reason int32, broadcastId int32) error
OnBroadcastMetadataChanged(ctx context.Context, broadcastId int32, metadata BluetoothLeBroadcastMetadata) error
}
func NewBluetoothLeBroadcastCallbackStub ¶
func NewBluetoothLeBroadcastCallbackStub( impl IBluetoothLeBroadcastCallbackServer, ) IBluetoothLeBroadcastCallback
NewBluetoothLeBroadcastCallbackStub creates a server-side IBluetoothLeBroadcastCallback wrapping the given server implementation. The returned value satisfies IBluetoothLeBroadcastCallback and can be passed to proxy methods; its AsBinder() returns a *binder.StubBinder that is auto-registered with the binder driver on first use.
type IBluetoothLeBroadcastCallbackServer ¶
type IBluetoothLeBroadcastCallbackServer interface {
OnBroadcastStarted(ctx context.Context, reason int32, broadcastId int32) error
OnBroadcastStartFailed(ctx context.Context, reason int32) error
OnBroadcastStopped(ctx context.Context, reason int32, broadcastId int32) error
OnBroadcastStopFailed(ctx context.Context, reason int32) error
OnPlaybackStarted(ctx context.Context, reason int32, broadcastId int32) error
OnPlaybackStopped(ctx context.Context, reason int32, broadcastId int32) error
OnBroadcastUpdated(ctx context.Context, reason int32, broadcastId int32) error
OnBroadcastUpdateFailed(ctx context.Context, reason int32, broadcastId int32) error
OnBroadcastMetadataChanged(ctx context.Context, broadcastId int32, metadata BluetoothLeBroadcastMetadata) error
}
IBluetoothLeBroadcastCallbackServer is the server-side interface that user implementations provide to NewBluetoothLeBroadcastCallbackStub. It contains only the business methods, without AsBinder (which is provided by the stub itself).
type IBluetoothLeCallControl ¶
type IBluetoothLeCallControl interface {
AsBinder() binder.IBinder
RegisterBearer(ctx context.Context, token string, callback IBluetoothLeCallControlCallback, uci string, uriSchemes []string, capabilities int32, provider string, technology int32, attributionSource content.AttributionSource) error
UnregisterBearer(ctx context.Context, token string, attributionSource content.AttributionSource) error
RequestResult(ctx context.Context, ccid int32, requestId int32, result int32, attributionSource content.AttributionSource) error
CallAdded(ctx context.Context, ccid int32, call BluetoothLeCall, attributionSource content.AttributionSource) error
CallRemoved(ctx context.Context, ccid int32, callId os.ParcelUuid, reason int32, attributionSource content.AttributionSource) error
CallStateChanged(ctx context.Context, ccid int32, callId os.ParcelUuid, state int32, attributionSource content.AttributionSource) error
CurrentCallsList(ctx context.Context, ccid int32, calls []BluetoothLeCall, attributionSource content.AttributionSource) error
NetworkStateChanged(ctx context.Context, ccid int32, provider string, technology int32, attributionSource content.AttributionSource) error
}
func NewBluetoothLeCallControlStub ¶
func NewBluetoothLeCallControlStub( impl IBluetoothLeCallControlServer, ) IBluetoothLeCallControl
NewBluetoothLeCallControlStub creates a server-side IBluetoothLeCallControl wrapping the given server implementation. The returned value satisfies IBluetoothLeCallControl and can be passed to proxy methods; its AsBinder() returns a *binder.StubBinder that is auto-registered with the binder driver on first use.
type IBluetoothLeCallControlCallback ¶
type IBluetoothLeCallControlCallback interface {
AsBinder() binder.IBinder
OnBearerRegistered(ctx context.Context, ccid int32) error
OnAcceptCall(ctx context.Context, requestId int32, uuid os.ParcelUuid) error
OnTerminateCall(ctx context.Context, requestId int32, uuid os.ParcelUuid) error
OnHoldCall(ctx context.Context, requestId int32, uuid os.ParcelUuid) error
OnUnholdCall(ctx context.Context, requestId int32, uuid os.ParcelUuid) error
OnPlaceCall(ctx context.Context, requestId int32, uuid os.ParcelUuid, uri string) error
OnJoinCalls(ctx context.Context, requestId int32, uuids []os.ParcelUuid) error
}
func NewBluetoothLeCallControlCallbackStub ¶
func NewBluetoothLeCallControlCallbackStub( impl IBluetoothLeCallControlCallbackServer, ) IBluetoothLeCallControlCallback
NewBluetoothLeCallControlCallbackStub creates a server-side IBluetoothLeCallControlCallback wrapping the given server implementation. The returned value satisfies IBluetoothLeCallControlCallback and can be passed to proxy methods; its AsBinder() returns a *binder.StubBinder that is auto-registered with the binder driver on first use.
type IBluetoothLeCallControlCallbackServer ¶
type IBluetoothLeCallControlCallbackServer interface {
OnBearerRegistered(ctx context.Context, ccid int32) error
OnAcceptCall(ctx context.Context, requestId int32, uuid os.ParcelUuid) error
OnTerminateCall(ctx context.Context, requestId int32, uuid os.ParcelUuid) error
OnHoldCall(ctx context.Context, requestId int32, uuid os.ParcelUuid) error
OnUnholdCall(ctx context.Context, requestId int32, uuid os.ParcelUuid) error
OnPlaceCall(ctx context.Context, requestId int32, uuid os.ParcelUuid, uri string) error
OnJoinCalls(ctx context.Context, requestId int32, uuids []os.ParcelUuid) error
}
IBluetoothLeCallControlCallbackServer is the server-side interface that user implementations provide to NewBluetoothLeCallControlCallbackStub. It contains only the business methods, without AsBinder (which is provided by the stub itself).
type IBluetoothLeCallControlServer ¶
type IBluetoothLeCallControlServer interface {
RegisterBearer(ctx context.Context, token string, callback IBluetoothLeCallControlCallback, uci string, uriSchemes []string, capabilities int32, provider string, technology int32, attributionSource content.AttributionSource) error
UnregisterBearer(ctx context.Context, token string, attributionSource content.AttributionSource) error
RequestResult(ctx context.Context, ccid int32, requestId int32, result int32, attributionSource content.AttributionSource) error
CallAdded(ctx context.Context, ccid int32, call BluetoothLeCall, attributionSource content.AttributionSource) error
CallRemoved(ctx context.Context, ccid int32, callId os.ParcelUuid, reason int32, attributionSource content.AttributionSource) error
CallStateChanged(ctx context.Context, ccid int32, callId os.ParcelUuid, state int32, attributionSource content.AttributionSource) error
CurrentCallsList(ctx context.Context, ccid int32, calls []BluetoothLeCall, attributionSource content.AttributionSource) error
NetworkStateChanged(ctx context.Context, ccid int32, provider string, technology int32, attributionSource content.AttributionSource) error
}
IBluetoothLeCallControlServer is the server-side interface that user implementations provide to NewBluetoothLeCallControlStub. It contains only the business methods, without AsBinder (which is provided by the stub itself).
type IBluetoothManager ¶
type IBluetoothManager interface {
AsBinder() binder.IBinder
RegisterAdapter(ctx context.Context, callback IBluetoothManagerCallback) (binder.IBinder, error)
UnregisterAdapter(ctx context.Context, callback IBluetoothManagerCallback) error
GetState(ctx context.Context) (int32, error)
GetAddress(ctx context.Context, attributionSource content.AttributionSource) (string, error)
GetName(ctx context.Context, attributionSource content.AttributionSource) (string, error)
IsHearingAidProfileSupported(ctx context.Context) (bool, error)
IsBleScanAvailable(ctx context.Context) (bool, error)
Enable(ctx context.Context, attributionSource content.AttributionSource) (bool, error)
EnableBle(ctx context.Context, attributionSource content.AttributionSource, b binder.IBinder) (bool, error)
EnableNoAutoConnect(ctx context.Context, attributionSource content.AttributionSource) (bool, error)
Disable(ctx context.Context, attributionSource content.AttributionSource, persist bool) (bool, error)
DisableBle(ctx context.Context, attributionSource content.AttributionSource, b binder.IBinder) (bool, error)
FactoryReset(ctx context.Context, attributionSource content.AttributionSource) (bool, error)
SetBtHciSnoopLogMode(ctx context.Context, mode int32) (int32, error)
GetBtHciSnoopLogMode(ctx context.Context) (int32, error)
IsAutoOnSupported(ctx context.Context) (bool, error)
IsAutoOnEnabled(ctx context.Context) (bool, error)
SetAutoOnEnabled(ctx context.Context, status bool) error
GetServiceMessenger(ctx context.Context) (os.Messenger, error)
}
func NewBluetoothManagerStub ¶
func NewBluetoothManagerStub( impl IBluetoothManagerServer, ) IBluetoothManager
NewBluetoothManagerStub creates a server-side IBluetoothManager wrapping the given server implementation. The returned value satisfies IBluetoothManager and can be passed to proxy methods; its AsBinder() returns a *binder.StubBinder that is auto-registered with the binder driver on first use.
type IBluetoothManagerCallback ¶
type IBluetoothManagerCallback interface {
AsBinder() binder.IBinder
OnBluetoothServiceUp(ctx context.Context, bluetoothService binder.IBinder) error
OnBluetoothServiceDown(ctx context.Context) error
OnBluetoothOn(ctx context.Context) error
OnBluetoothOff(ctx context.Context) error
}
func NewBluetoothManagerCallbackStub ¶
func NewBluetoothManagerCallbackStub( impl IBluetoothManagerCallbackServer, ) IBluetoothManagerCallback
NewBluetoothManagerCallbackStub creates a server-side IBluetoothManagerCallback wrapping the given server implementation. The returned value satisfies IBluetoothManagerCallback and can be passed to proxy methods; its AsBinder() returns a *binder.StubBinder that is auto-registered with the binder driver on first use.
type IBluetoothManagerCallbackServer ¶
type IBluetoothManagerCallbackServer interface {
OnBluetoothServiceUp(ctx context.Context, bluetoothService binder.IBinder) error
OnBluetoothServiceDown(ctx context.Context) error
OnBluetoothOn(ctx context.Context) error
OnBluetoothOff(ctx context.Context) error
}
IBluetoothManagerCallbackServer is the server-side interface that user implementations provide to NewBluetoothManagerCallbackStub. It contains only the business methods, without AsBinder (which is provided by the stub itself).
type IBluetoothManagerServer ¶
type IBluetoothManagerServer interface {
RegisterAdapter(ctx context.Context, callback IBluetoothManagerCallback) (binder.IBinder, error)
UnregisterAdapter(ctx context.Context, callback IBluetoothManagerCallback) error
GetState(ctx context.Context) (int32, error)
GetAddress(ctx context.Context, attributionSource content.AttributionSource) (string, error)
GetName(ctx context.Context, attributionSource content.AttributionSource) (string, error)
IsHearingAidProfileSupported(ctx context.Context) (bool, error)
IsBleScanAvailable(ctx context.Context) (bool, error)
Enable(ctx context.Context, attributionSource content.AttributionSource) (bool, error)
EnableBle(ctx context.Context, attributionSource content.AttributionSource, b binder.IBinder) (bool, error)
EnableNoAutoConnect(ctx context.Context, attributionSource content.AttributionSource) (bool, error)
Disable(ctx context.Context, attributionSource content.AttributionSource, persist bool) (bool, error)
DisableBle(ctx context.Context, attributionSource content.AttributionSource, b binder.IBinder) (bool, error)
FactoryReset(ctx context.Context, attributionSource content.AttributionSource) (bool, error)
SetBtHciSnoopLogMode(ctx context.Context, mode int32) (int32, error)
GetBtHciSnoopLogMode(ctx context.Context) (int32, error)
IsAutoOnSupported(ctx context.Context) (bool, error)
IsAutoOnEnabled(ctx context.Context) (bool, error)
SetAutoOnEnabled(ctx context.Context, status bool) error
GetServiceMessenger(ctx context.Context) (os.Messenger, error)
}
IBluetoothManagerServer is the server-side interface that user implementations provide to NewBluetoothManagerStub. It contains only the business methods, without AsBinder (which is provided by the stub itself).
type IBluetoothMap ¶
type IBluetoothMap interface {
AsBinder() binder.IBinder
GetState(ctx context.Context, attributionSource content.AttributionSource) (int32, error)
GetClient(ctx context.Context, attributionSource content.AttributionSource) (BluetoothDevice, error)
Disconnect(ctx context.Context, device BluetoothDevice, attributionSource content.AttributionSource) (bool, error)
IsConnected(ctx context.Context, device BluetoothDevice, attributionSource content.AttributionSource) (bool, error)
GetConnectedDevices(ctx context.Context, attributionSource content.AttributionSource) ([]BluetoothDevice, error)
GetDevicesMatchingConnectionStates(ctx context.Context, states []int32, attributionSource content.AttributionSource) ([]BluetoothDevice, error)
GetConnectionState(ctx context.Context, device BluetoothDevice, attributionSource content.AttributionSource) (int32, error)
SetConnectionPolicy(ctx context.Context, device BluetoothDevice, connectionPolicy int32, attributionSource content.AttributionSource) (bool, error)
GetConnectionPolicy(ctx context.Context, device BluetoothDevice, attributionSource content.AttributionSource) (int32, error)
}
func NewBluetoothMapStub ¶
func NewBluetoothMapStub( impl IBluetoothMapServer, ) IBluetoothMap
NewBluetoothMapStub creates a server-side IBluetoothMap wrapping the given server implementation. The returned value satisfies IBluetoothMap and can be passed to proxy methods; its AsBinder() returns a *binder.StubBinder that is auto-registered with the binder driver on first use.
type IBluetoothMapClient ¶
type IBluetoothMapClient interface {
AsBinder() binder.IBinder
Connect(ctx context.Context, device BluetoothDevice, attributionSource content.AttributionSource) (bool, error)
Disconnect(ctx context.Context, device BluetoothDevice, attributionSource content.AttributionSource) (bool, error)
GetConnectedDevices(ctx context.Context, attributionSource content.AttributionSource) ([]BluetoothDevice, error)
GetDevicesMatchingConnectionStates(ctx context.Context, states []int32, attributionSource content.AttributionSource) ([]BluetoothDevice, error)
GetConnectionState(ctx context.Context, device BluetoothDevice, attributionSource content.AttributionSource) (int32, error)
SetConnectionPolicy(ctx context.Context, device BluetoothDevice, connectionPolicy int32, attributionSource content.AttributionSource) (bool, error)
GetConnectionPolicy(ctx context.Context, device BluetoothDevice, attributionSource content.AttributionSource) (int32, error)
SendMessage(ctx context.Context, device BluetoothDevice, contacts []net.Uri, message string, sentIntent types.PendingIntent, deliveryIntent types.PendingIntent, attributionSource content.AttributionSource) (bool, error)
}
func NewBluetoothMapClientStub ¶
func NewBluetoothMapClientStub( impl IBluetoothMapClientServer, ) IBluetoothMapClient
NewBluetoothMapClientStub creates a server-side IBluetoothMapClient wrapping the given server implementation. The returned value satisfies IBluetoothMapClient and can be passed to proxy methods; its AsBinder() returns a *binder.StubBinder that is auto-registered with the binder driver on first use.
type IBluetoothMapClientServer ¶
type IBluetoothMapClientServer interface {
Connect(ctx context.Context, device BluetoothDevice, attributionSource content.AttributionSource) (bool, error)
Disconnect(ctx context.Context, device BluetoothDevice, attributionSource content.AttributionSource) (bool, error)
GetConnectedDevices(ctx context.Context, attributionSource content.AttributionSource) ([]BluetoothDevice, error)
GetDevicesMatchingConnectionStates(ctx context.Context, states []int32, attributionSource content.AttributionSource) ([]BluetoothDevice, error)
GetConnectionState(ctx context.Context, device BluetoothDevice, attributionSource content.AttributionSource) (int32, error)
SetConnectionPolicy(ctx context.Context, device BluetoothDevice, connectionPolicy int32, attributionSource content.AttributionSource) (bool, error)
GetConnectionPolicy(ctx context.Context, device BluetoothDevice, attributionSource content.AttributionSource) (int32, error)
SendMessage(ctx context.Context, device BluetoothDevice, contacts []net.Uri, message string, sentIntent types.PendingIntent, deliveryIntent types.PendingIntent, attributionSource content.AttributionSource) (bool, error)
}
IBluetoothMapClientServer is the server-side interface that user implementations provide to NewBluetoothMapClientStub. It contains only the business methods, without AsBinder (which is provided by the stub itself).
type IBluetoothMapServer ¶
type IBluetoothMapServer interface {
GetState(ctx context.Context, attributionSource content.AttributionSource) (int32, error)
GetClient(ctx context.Context, attributionSource content.AttributionSource) (BluetoothDevice, error)
Disconnect(ctx context.Context, device BluetoothDevice, attributionSource content.AttributionSource) (bool, error)
IsConnected(ctx context.Context, device BluetoothDevice, attributionSource content.AttributionSource) (bool, error)
GetConnectedDevices(ctx context.Context, attributionSource content.AttributionSource) ([]BluetoothDevice, error)
GetDevicesMatchingConnectionStates(ctx context.Context, states []int32, attributionSource content.AttributionSource) ([]BluetoothDevice, error)
GetConnectionState(ctx context.Context, device BluetoothDevice, attributionSource content.AttributionSource) (int32, error)
SetConnectionPolicy(ctx context.Context, device BluetoothDevice, connectionPolicy int32, attributionSource content.AttributionSource) (bool, error)
GetConnectionPolicy(ctx context.Context, device BluetoothDevice, attributionSource content.AttributionSource) (int32, error)
}
IBluetoothMapServer is the server-side interface that user implementations provide to NewBluetoothMapStub. It contains only the business methods, without AsBinder (which is provided by the stub itself).
type IBluetoothMcpServiceManager ¶
type IBluetoothMcpServiceManager interface {
AsBinder() binder.IBinder
SetDeviceAuthorized(ctx context.Context, device BluetoothDevice, isAuthorized bool, source content.AttributionSource) error
}
func NewBluetoothMcpServiceManagerStub ¶
func NewBluetoothMcpServiceManagerStub( impl IBluetoothMcpServiceManagerServer, ) IBluetoothMcpServiceManager
NewBluetoothMcpServiceManagerStub creates a server-side IBluetoothMcpServiceManager wrapping the given server implementation. The returned value satisfies IBluetoothMcpServiceManager and can be passed to proxy methods; its AsBinder() returns a *binder.StubBinder that is auto-registered with the binder driver on first use.
type IBluetoothMcpServiceManagerServer ¶
type IBluetoothMcpServiceManagerServer interface {
SetDeviceAuthorized(ctx context.Context, device BluetoothDevice, isAuthorized bool, source content.AttributionSource) error
}
IBluetoothMcpServiceManagerServer is the server-side interface that user implementations provide to NewBluetoothMcpServiceManagerStub. It contains only the business methods, without AsBinder (which is provided by the stub itself).
type IBluetoothMetadataListener ¶
type IBluetoothMetadataListener interface {
AsBinder() binder.IBinder
OnMetadataChanged(ctx context.Context, devices BluetoothDevice, key int32, value []byte) error
}
func NewBluetoothMetadataListenerStub ¶
func NewBluetoothMetadataListenerStub( impl IBluetoothMetadataListenerServer, ) IBluetoothMetadataListener
NewBluetoothMetadataListenerStub creates a server-side IBluetoothMetadataListener wrapping the given server implementation. The returned value satisfies IBluetoothMetadataListener and can be passed to proxy methods; its AsBinder() returns a *binder.StubBinder that is auto-registered with the binder driver on first use.
type IBluetoothMetadataListenerServer ¶
type IBluetoothMetadataListenerServer interface {
OnMetadataChanged(ctx context.Context, devices BluetoothDevice, key int32, value []byte) error
}
IBluetoothMetadataListenerServer is the server-side interface that user implementations provide to NewBluetoothMetadataListenerStub. It contains only the business methods, without AsBinder (which is provided by the stub itself).
type IBluetoothOobDataCallback ¶
type IBluetoothOobDataCallback interface {
AsBinder() binder.IBinder
OnOobData(ctx context.Context, transport int32, oobData OobData) error
OnError(ctx context.Context, errorCode int32) error
}
func NewBluetoothOobDataCallbackStub ¶
func NewBluetoothOobDataCallbackStub( impl IBluetoothOobDataCallbackServer, ) IBluetoothOobDataCallback
NewBluetoothOobDataCallbackStub creates a server-side IBluetoothOobDataCallback wrapping the given server implementation. The returned value satisfies IBluetoothOobDataCallback and can be passed to proxy methods; its AsBinder() returns a *binder.StubBinder that is auto-registered with the binder driver on first use.
type IBluetoothOobDataCallbackServer ¶
type IBluetoothOobDataCallbackServer interface {
OnOobData(ctx context.Context, transport int32, oobData OobData) error
OnError(ctx context.Context, errorCode int32) error
}
IBluetoothOobDataCallbackServer is the server-side interface that user implementations provide to NewBluetoothOobDataCallbackStub. It contains only the business methods, without AsBinder (which is provided by the stub itself).
type IBluetoothPan ¶
type IBluetoothPan interface {
AsBinder() binder.IBinder
IsTetheringOn(ctx context.Context, attributionSource content.AttributionSource) (bool, error)
SetBluetoothTethering(ctx context.Context, callback IBluetoothPanCallback, id int32, value bool, attributionSource content.AttributionSource) error
Connect(ctx context.Context, device BluetoothDevice, attributionSource content.AttributionSource) (bool, error)
Disconnect(ctx context.Context, device BluetoothDevice, attributionSource content.AttributionSource) (bool, error)
GetConnectedDevices(ctx context.Context, attributionSource content.AttributionSource) ([]BluetoothDevice, error)
GetDevicesMatchingConnectionStates(ctx context.Context, states []int32, attributionSource content.AttributionSource) ([]BluetoothDevice, error)
GetConnectionState(ctx context.Context, device BluetoothDevice, attributionSource content.AttributionSource) (int32, error)
SetConnectionPolicy(ctx context.Context, device BluetoothDevice, connectionPolicy int32, attributionSource content.AttributionSource) (bool, error)
}
func NewBluetoothPanStub ¶
func NewBluetoothPanStub( impl IBluetoothPanServer, ) IBluetoothPan
NewBluetoothPanStub creates a server-side IBluetoothPan wrapping the given server implementation. The returned value satisfies IBluetoothPan and can be passed to proxy methods; its AsBinder() returns a *binder.StubBinder that is auto-registered with the binder driver on first use.
type IBluetoothPanCallback ¶
type IBluetoothPanCallback interface {
AsBinder() binder.IBinder
OnAvailable(ctx context.Context, iface string) error
}
func NewBluetoothPanCallbackStub ¶
func NewBluetoothPanCallbackStub( impl IBluetoothPanCallbackServer, ) IBluetoothPanCallback
NewBluetoothPanCallbackStub creates a server-side IBluetoothPanCallback wrapping the given server implementation. The returned value satisfies IBluetoothPanCallback and can be passed to proxy methods; its AsBinder() returns a *binder.StubBinder that is auto-registered with the binder driver on first use.
type IBluetoothPanCallbackServer ¶
IBluetoothPanCallbackServer is the server-side interface that user implementations provide to NewBluetoothPanCallbackStub. It contains only the business methods, without AsBinder (which is provided by the stub itself).
type IBluetoothPanServer ¶
type IBluetoothPanServer interface {
IsTetheringOn(ctx context.Context, attributionSource content.AttributionSource) (bool, error)
SetBluetoothTethering(ctx context.Context, callback IBluetoothPanCallback, id int32, value bool, attributionSource content.AttributionSource) error
Connect(ctx context.Context, device BluetoothDevice, attributionSource content.AttributionSource) (bool, error)
Disconnect(ctx context.Context, device BluetoothDevice, attributionSource content.AttributionSource) (bool, error)
GetConnectedDevices(ctx context.Context, attributionSource content.AttributionSource) ([]BluetoothDevice, error)
GetDevicesMatchingConnectionStates(ctx context.Context, states []int32, attributionSource content.AttributionSource) ([]BluetoothDevice, error)
GetConnectionState(ctx context.Context, device BluetoothDevice, attributionSource content.AttributionSource) (int32, error)
SetConnectionPolicy(ctx context.Context, device BluetoothDevice, connectionPolicy int32, attributionSource content.AttributionSource) (bool, error)
}
IBluetoothPanServer is the server-side interface that user implementations provide to NewBluetoothPanStub. It contains only the business methods, without AsBinder (which is provided by the stub itself).
type IBluetoothPbap ¶
type IBluetoothPbap interface {
AsBinder() binder.IBinder
GetConnectedDevices(ctx context.Context, attributionSource content.AttributionSource) ([]BluetoothDevice, error)
GetDevicesMatchingConnectionStates(ctx context.Context, states []int32, attributionSource content.AttributionSource) ([]BluetoothDevice, error)
GetConnectionState(ctx context.Context, device BluetoothDevice, attributionSource content.AttributionSource) (int32, error)
Disconnect(ctx context.Context, device BluetoothDevice, attributionSource content.AttributionSource) error
SetConnectionPolicy(ctx context.Context, device BluetoothDevice, connectionPolicy int32, attributionSource content.AttributionSource) (bool, error)
}
func NewBluetoothPbapStub ¶
func NewBluetoothPbapStub( impl IBluetoothPbapServer, ) IBluetoothPbap
NewBluetoothPbapStub creates a server-side IBluetoothPbap wrapping the given server implementation. The returned value satisfies IBluetoothPbap and can be passed to proxy methods; its AsBinder() returns a *binder.StubBinder that is auto-registered with the binder driver on first use.
type IBluetoothPbapClient ¶
type IBluetoothPbapClient interface {
AsBinder() binder.IBinder
Connect(ctx context.Context, device BluetoothDevice, attributionSource content.AttributionSource) (bool, error)
Disconnect(ctx context.Context, device BluetoothDevice, attributionSource content.AttributionSource) (bool, error)
GetConnectedDevices(ctx context.Context, attributionSource content.AttributionSource) ([]BluetoothDevice, error)
GetDevicesMatchingConnectionStates(ctx context.Context, states []int32, attributionSource content.AttributionSource) ([]BluetoothDevice, error)
GetConnectionState(ctx context.Context, device BluetoothDevice, attributionSource content.AttributionSource) (int32, error)
SetConnectionPolicy(ctx context.Context, device BluetoothDevice, connectionPolicy int32, attributionSource content.AttributionSource) (bool, error)
GetConnectionPolicy(ctx context.Context, device BluetoothDevice, attributionSource content.AttributionSource) (int32, error)
}
func NewBluetoothPbapClientStub ¶
func NewBluetoothPbapClientStub( impl IBluetoothPbapClientServer, ) IBluetoothPbapClient
NewBluetoothPbapClientStub creates a server-side IBluetoothPbapClient wrapping the given server implementation. The returned value satisfies IBluetoothPbapClient and can be passed to proxy methods; its AsBinder() returns a *binder.StubBinder that is auto-registered with the binder driver on first use.
type IBluetoothPbapClientServer ¶
type IBluetoothPbapClientServer interface {
Connect(ctx context.Context, device BluetoothDevice, attributionSource content.AttributionSource) (bool, error)
Disconnect(ctx context.Context, device BluetoothDevice, attributionSource content.AttributionSource) (bool, error)
GetConnectedDevices(ctx context.Context, attributionSource content.AttributionSource) ([]BluetoothDevice, error)
GetDevicesMatchingConnectionStates(ctx context.Context, states []int32, attributionSource content.AttributionSource) ([]BluetoothDevice, error)
GetConnectionState(ctx context.Context, device BluetoothDevice, attributionSource content.AttributionSource) (int32, error)
SetConnectionPolicy(ctx context.Context, device BluetoothDevice, connectionPolicy int32, attributionSource content.AttributionSource) (bool, error)
GetConnectionPolicy(ctx context.Context, device BluetoothDevice, attributionSource content.AttributionSource) (int32, error)
}
IBluetoothPbapClientServer is the server-side interface that user implementations provide to NewBluetoothPbapClientStub. It contains only the business methods, without AsBinder (which is provided by the stub itself).
type IBluetoothPbapServer ¶
type IBluetoothPbapServer interface {
GetConnectedDevices(ctx context.Context, attributionSource content.AttributionSource) ([]BluetoothDevice, error)
GetDevicesMatchingConnectionStates(ctx context.Context, states []int32, attributionSource content.AttributionSource) ([]BluetoothDevice, error)
GetConnectionState(ctx context.Context, device BluetoothDevice, attributionSource content.AttributionSource) (int32, error)
Disconnect(ctx context.Context, device BluetoothDevice, attributionSource content.AttributionSource) error
SetConnectionPolicy(ctx context.Context, device BluetoothDevice, connectionPolicy int32, attributionSource content.AttributionSource) (bool, error)
}
IBluetoothPbapServer is the server-side interface that user implementations provide to NewBluetoothPbapStub. It contains only the business methods, without AsBinder (which is provided by the stub itself).
type IBluetoothPreferredAudioProfilesCallback ¶
type IBluetoothPreferredAudioProfilesCallback interface {
AsBinder() binder.IBinder
OnPreferredAudioProfilesChanged(ctx context.Context, device BluetoothDevice, preferredAudioProfiles os.Bundle, status int32) error
}
func NewBluetoothPreferredAudioProfilesCallbackStub ¶
func NewBluetoothPreferredAudioProfilesCallbackStub( impl IBluetoothPreferredAudioProfilesCallbackServer, ) IBluetoothPreferredAudioProfilesCallback
NewBluetoothPreferredAudioProfilesCallbackStub creates a server-side IBluetoothPreferredAudioProfilesCallback wrapping the given server implementation. The returned value satisfies IBluetoothPreferredAudioProfilesCallback and can be passed to proxy methods; its AsBinder() returns a *binder.StubBinder that is auto-registered with the binder driver on first use.
type IBluetoothPreferredAudioProfilesCallbackServer ¶
type IBluetoothPreferredAudioProfilesCallbackServer interface {
OnPreferredAudioProfilesChanged(ctx context.Context, device BluetoothDevice, preferredAudioProfiles os.Bundle, status int32) error
}
IBluetoothPreferredAudioProfilesCallbackServer is the server-side interface that user implementations provide to NewBluetoothPreferredAudioProfilesCallbackStub. It contains only the business methods, without AsBinder (which is provided by the stub itself).
type IBluetoothProfileCallback ¶ added in v0.0.7
type IBluetoothProfileCallback interface {
AsBinder() binder.IBinder
GetProfileReply(ctx context.Context, binder_ binder.IBinder) error
}
func NewBluetoothProfileCallbackStub ¶ added in v0.0.7
func NewBluetoothProfileCallbackStub( impl IBluetoothProfileCallbackServer, ) IBluetoothProfileCallback
NewBluetoothProfileCallbackStub creates a server-side IBluetoothProfileCallback wrapping the given server implementation. The returned value satisfies IBluetoothProfileCallback and can be passed to proxy methods; its AsBinder() returns a *binder.StubBinder that is auto-registered with the binder driver on first use.
type IBluetoothProfileCallbackServer ¶ added in v0.0.7
type IBluetoothProfileCallbackServer interface {
GetProfileReply(ctx context.Context, binder_ binder.IBinder) error
}
IBluetoothProfileCallbackServer is the server-side interface that user implementations provide to NewBluetoothProfileCallbackStub. It contains only the business methods, without AsBinder (which is provided by the stub itself).
type IBluetoothProfileServiceConnection ¶
type IBluetoothProfileServiceConnection interface {
AsBinder() binder.IBinder
OnServiceConnected(ctx context.Context, comp content.ComponentName, service binder.IBinder) error
OnServiceDisconnected(ctx context.Context, comp content.ComponentName) error
}
func NewBluetoothProfileServiceConnectionStub ¶
func NewBluetoothProfileServiceConnectionStub( impl IBluetoothProfileServiceConnectionServer, ) IBluetoothProfileServiceConnection
NewBluetoothProfileServiceConnectionStub creates a server-side IBluetoothProfileServiceConnection wrapping the given server implementation. The returned value satisfies IBluetoothProfileServiceConnection and can be passed to proxy methods; its AsBinder() returns a *binder.StubBinder that is auto-registered with the binder driver on first use.
type IBluetoothProfileServiceConnectionServer ¶
type IBluetoothProfileServiceConnectionServer interface {
OnServiceConnected(ctx context.Context, comp content.ComponentName, service binder.IBinder) error
OnServiceDisconnected(ctx context.Context, comp content.ComponentName) error
}
IBluetoothProfileServiceConnectionServer is the server-side interface that user implementations provide to NewBluetoothProfileServiceConnectionStub. It contains only the business methods, without AsBinder (which is provided by the stub itself).
type IBluetoothQualityReportReadyCallback ¶
type IBluetoothQualityReportReadyCallback interface {
AsBinder() binder.IBinder
OnBluetoothQualityReportReady(ctx context.Context, device BluetoothDevice, bluetoothQualityReport BluetoothQualityReport, status int32) error
}
func NewBluetoothQualityReportReadyCallbackStub ¶
func NewBluetoothQualityReportReadyCallbackStub( impl IBluetoothQualityReportReadyCallbackServer, ) IBluetoothQualityReportReadyCallback
NewBluetoothQualityReportReadyCallbackStub creates a server-side IBluetoothQualityReportReadyCallback wrapping the given server implementation. The returned value satisfies IBluetoothQualityReportReadyCallback and can be passed to proxy methods; its AsBinder() returns a *binder.StubBinder that is auto-registered with the binder driver on first use.
type IBluetoothQualityReportReadyCallbackServer ¶
type IBluetoothQualityReportReadyCallbackServer interface {
OnBluetoothQualityReportReady(ctx context.Context, device BluetoothDevice, bluetoothQualityReport BluetoothQualityReport, status int32) error
}
IBluetoothQualityReportReadyCallbackServer is the server-side interface that user implementations provide to NewBluetoothQualityReportReadyCallbackStub. It contains only the business methods, without AsBinder (which is provided by the stub itself).
type IBluetoothSap ¶
type IBluetoothSap interface {
AsBinder() binder.IBinder
GetState(ctx context.Context, attributionSource content.AttributionSource) (int32, error)
GetClient(ctx context.Context, attributionSource content.AttributionSource) (BluetoothDevice, error)
Disconnect(ctx context.Context, device BluetoothDevice, attributionSource content.AttributionSource) (bool, error)
IsConnected(ctx context.Context, device BluetoothDevice, attributionSource content.AttributionSource) (bool, error)
GetConnectedDevices(ctx context.Context, attributionSource content.AttributionSource) ([]BluetoothDevice, error)
GetDevicesMatchingConnectionStates(ctx context.Context, states []int32, attributionSource content.AttributionSource) ([]BluetoothDevice, error)
GetConnectionState(ctx context.Context, device BluetoothDevice, attributionSource content.AttributionSource) (int32, error)
SetConnectionPolicy(ctx context.Context, device BluetoothDevice, connectionPolicy int32, attributionSource content.AttributionSource) (bool, error)
GetConnectionPolicy(ctx context.Context, device BluetoothDevice, attributionSource content.AttributionSource) (int32, error)
}
func NewBluetoothSapStub ¶
func NewBluetoothSapStub( impl IBluetoothSapServer, ) IBluetoothSap
NewBluetoothSapStub creates a server-side IBluetoothSap wrapping the given server implementation. The returned value satisfies IBluetoothSap and can be passed to proxy methods; its AsBinder() returns a *binder.StubBinder that is auto-registered with the binder driver on first use.
type IBluetoothSapServer ¶
type IBluetoothSapServer interface {
GetState(ctx context.Context, attributionSource content.AttributionSource) (int32, error)
GetClient(ctx context.Context, attributionSource content.AttributionSource) (BluetoothDevice, error)
Disconnect(ctx context.Context, device BluetoothDevice, attributionSource content.AttributionSource) (bool, error)
IsConnected(ctx context.Context, device BluetoothDevice, attributionSource content.AttributionSource) (bool, error)
GetConnectedDevices(ctx context.Context, attributionSource content.AttributionSource) ([]BluetoothDevice, error)
GetDevicesMatchingConnectionStates(ctx context.Context, states []int32, attributionSource content.AttributionSource) ([]BluetoothDevice, error)
GetConnectionState(ctx context.Context, device BluetoothDevice, attributionSource content.AttributionSource) (int32, error)
SetConnectionPolicy(ctx context.Context, device BluetoothDevice, connectionPolicy int32, attributionSource content.AttributionSource) (bool, error)
GetConnectionPolicy(ctx context.Context, device BluetoothDevice, attributionSource content.AttributionSource) (int32, error)
}
IBluetoothSapServer is the server-side interface that user implementations provide to NewBluetoothSapStub. It contains only the business methods, without AsBinder (which is provided by the stub itself).
type IBluetoothScan ¶ added in v0.0.7
type IBluetoothScan interface {
AsBinder() binder.IBinder
RegisterScanner(ctx context.Context, callback le.IScannerCallback, workSource os.WorkSource, attributionSource content.AttributionSource) error
UnregisterScanner(ctx context.Context, scannerId int32, attributionSource content.AttributionSource) error
StartScan(ctx context.Context, scannerId int32, settings le.ScanSettings, filters []le.ScanFilter, attributionSource content.AttributionSource) error
RegisterPiAndStartScan(ctx context.Context, intent types.PendingIntent, settings le.ScanSettings, filters []le.ScanFilter, attributionSource content.AttributionSource) error
StopScan(ctx context.Context, scannerId int32, attributionSource content.AttributionSource) error
StopScanForIntent(ctx context.Context, intent types.PendingIntent, attributionSource content.AttributionSource) error
FlushPendingBatchResults(ctx context.Context, scannerId int32, attributionSource content.AttributionSource) error
RegisterSync(ctx context.Context, scanResult le.ScanResult, skip int32, timeout int32, callback le.IPeriodicAdvertisingCallback, attributionSource content.AttributionSource) error
UnregisterSync(ctx context.Context, callback le.IPeriodicAdvertisingCallback, attributionSource content.AttributionSource) error
TransferSync(ctx context.Context, bda BluetoothDevice, serviceData int32, syncHandle int32, attributionSource content.AttributionSource) error
TransferSetInfo(ctx context.Context, bda BluetoothDevice, serviceData int32, advertisingHandle int32, callback le.IPeriodicAdvertisingCallback, attributionSource content.AttributionSource) error
NumHwTrackFiltersAvailable(ctx context.Context, attributionSource content.AttributionSource) (int32, error)
}
func NewBluetoothScanStub ¶ added in v0.0.7
func NewBluetoothScanStub( impl IBluetoothScanServer, ) IBluetoothScan
NewBluetoothScanStub creates a server-side IBluetoothScan wrapping the given server implementation. The returned value satisfies IBluetoothScan and can be passed to proxy methods; its AsBinder() returns a *binder.StubBinder that is auto-registered with the binder driver on first use.
type IBluetoothScanServer ¶ added in v0.0.7
type IBluetoothScanServer interface {
RegisterScanner(ctx context.Context, callback le.IScannerCallback, workSource os.WorkSource, attributionSource content.AttributionSource) error
UnregisterScanner(ctx context.Context, scannerId int32, attributionSource content.AttributionSource) error
StartScan(ctx context.Context, scannerId int32, settings le.ScanSettings, filters []le.ScanFilter, attributionSource content.AttributionSource) error
RegisterPiAndStartScan(ctx context.Context, intent types.PendingIntent, settings le.ScanSettings, filters []le.ScanFilter, attributionSource content.AttributionSource) error
StopScan(ctx context.Context, scannerId int32, attributionSource content.AttributionSource) error
StopScanForIntent(ctx context.Context, intent types.PendingIntent, attributionSource content.AttributionSource) error
FlushPendingBatchResults(ctx context.Context, scannerId int32, attributionSource content.AttributionSource) error
RegisterSync(ctx context.Context, scanResult le.ScanResult, skip int32, timeout int32, callback le.IPeriodicAdvertisingCallback, attributionSource content.AttributionSource) error
UnregisterSync(ctx context.Context, callback le.IPeriodicAdvertisingCallback, attributionSource content.AttributionSource) error
TransferSync(ctx context.Context, bda BluetoothDevice, serviceData int32, syncHandle int32, attributionSource content.AttributionSource) error
TransferSetInfo(ctx context.Context, bda BluetoothDevice, serviceData int32, advertisingHandle int32, callback le.IPeriodicAdvertisingCallback, attributionSource content.AttributionSource) error
NumHwTrackFiltersAvailable(ctx context.Context, attributionSource content.AttributionSource) (int32, error)
}
IBluetoothScanServer is the server-side interface that user implementations provide to NewBluetoothScanStub. It contains only the business methods, without AsBinder (which is provided by the stub itself).
type IBluetoothServer ¶
type IBluetoothServer interface {
GetUuids(ctx context.Context, attributionSource content.AttributionSource) ([]os.ParcelUuid, error)
SetName(ctx context.Context, name string, attributionSource content.AttributionSource) (bool, error)
GetIdentityAddress(ctx context.Context, address string) (string, error)
GetIdentityAddressWithType(ctx context.Context, address string) (BluetoothDeviceBluetoothAddress, error)
GetName(ctx context.Context, attributionSource content.AttributionSource) (string, error)
GetNameLengthForAdvertise(ctx context.Context, attributionSource content.AttributionSource) (int32, error)
GetScanMode(ctx context.Context, attributionSource content.AttributionSource) (int32, error)
SetScanMode(ctx context.Context, mode int32, attributionSource content.AttributionSource) (int32, error)
GetDiscoverableTimeout(ctx context.Context, attributionSource content.AttributionSource) (int64, error)
SetDiscoverableTimeout(ctx context.Context, timeout int64, attributionSource content.AttributionSource) (int32, error)
StartDiscovery(ctx context.Context, attributionSource content.AttributionSource) (bool, error)
CancelDiscovery(ctx context.Context, attributionSource content.AttributionSource) (bool, error)
IsDiscovering(ctx context.Context, attributionSource content.AttributionSource) (bool, error)
GetDiscoveryEndMillis(ctx context.Context, attributionSource content.AttributionSource) (int64, error)
GetAdapterConnectionState(ctx context.Context) (int32, error)
GetProfileConnectionState(ctx context.Context, profile int32, source content.AttributionSource) (int32, error)
GetBondedDevices(ctx context.Context, attributionSource content.AttributionSource) ([]BluetoothDevice, error)
CreateBond(ctx context.Context, device BluetoothDevice, transport int32, attributionSource content.AttributionSource) (bool, error)
CreateBondOutOfBand(ctx context.Context, device BluetoothDevice, transport int32, p192Data OobData, p256Data OobData, attributionSource content.AttributionSource) (bool, error)
CancelBondProcess(ctx context.Context, device BluetoothDevice, attributionSource content.AttributionSource) (bool, error)
RemoveBond(ctx context.Context, device BluetoothDevice, attributionSource content.AttributionSource) (bool, error)
GetBondState(ctx context.Context, device BluetoothDevice, attributionSource content.AttributionSource) (int32, error)
IsBondingInitiatedLocally(ctx context.Context, device BluetoothDevice, attributionSource content.AttributionSource) (bool, error)
GetSupportedProfiles(ctx context.Context, attributionSource content.AttributionSource) ([]int32, error)
GetConnectionState(ctx context.Context, device BluetoothDevice, attributionSource content.AttributionSource) (int32, error)
GetConnectionHandle(ctx context.Context, device BluetoothDevice, transport int32, attributionSource content.AttributionSource) (int32, error)
GetRemoteName(ctx context.Context, device BluetoothDevice, attributionSource content.AttributionSource) (string, error)
GetRemoteType(ctx context.Context, device BluetoothDevice, attributionSource content.AttributionSource) (int32, error)
GetRemoteAlias(ctx context.Context, device BluetoothDevice, attributionSource content.AttributionSource) (string, error)
SetRemoteAlias(ctx context.Context, device BluetoothDevice, name string, attributionSource content.AttributionSource) (int32, error)
GetRemoteClass(ctx context.Context, device BluetoothDevice, attributionSource content.AttributionSource) (int32, error)
GetRemoteUuids(ctx context.Context, device BluetoothDevice, attributionSource content.AttributionSource) ([]os.ParcelUuid, error)
FetchRemoteUuids(ctx context.Context, device BluetoothDevice, transport int32, attributionSource content.AttributionSource) (bool, error)
SdpSearch(ctx context.Context, device BluetoothDevice, uuid os.ParcelUuid, attributionSource content.AttributionSource) (bool, error)
GetBatteryLevel(ctx context.Context, device BluetoothDevice, attributionSource content.AttributionSource) (int32, error)
GetMaxConnectedAudioDevices(ctx context.Context, attributionSource content.AttributionSource) (int32, error)
SetPin(ctx context.Context, device BluetoothDevice, accept bool, len_ int32, pinCode []byte, attributionSource content.AttributionSource) (bool, error)
SetPasskey(ctx context.Context, device BluetoothDevice, accept bool, len_ int32, passkey []byte, attributionSource content.AttributionSource) (bool, error)
SetPairingConfirmation(ctx context.Context, device BluetoothDevice, accept bool, attributionSource content.AttributionSource) (bool, error)
GetPhonebookAccessPermission(ctx context.Context, device BluetoothDevice, attributionSource content.AttributionSource) (int32, error)
SetSilenceMode(ctx context.Context, device BluetoothDevice, silence bool, attributionSource content.AttributionSource) (bool, error)
GetSilenceMode(ctx context.Context, device BluetoothDevice, attributionSource content.AttributionSource) (bool, error)
SetPhonebookAccessPermission(ctx context.Context, device BluetoothDevice, value int32, attributionSource content.AttributionSource) (bool, error)
GetMessageAccessPermission(ctx context.Context, device BluetoothDevice, attributionSource content.AttributionSource) (int32, error)
SetMessageAccessPermission(ctx context.Context, device BluetoothDevice, value int32, attributionSource content.AttributionSource) (bool, error)
GetSimAccessPermission(ctx context.Context, device BluetoothDevice, attributionSource content.AttributionSource) (int32, error)
SetSimAccessPermission(ctx context.Context, device BluetoothDevice, value int32, attributionSource content.AttributionSource) (bool, error)
LogL2capcocServerConnection(ctx context.Context, device BluetoothDevice, port int32, isSecured bool, result int32, socketCreationTimeMillis int64, socketCreationLatencyMillis int64, socketConnectionTimeMillis int64, timeoutMillis int64) error
GetSocketManager(ctx context.Context) (IBluetoothSocketManager, error)
LogL2capcocClientConnection(ctx context.Context, device BluetoothDevice, port int32, isSecured bool, result int32, socketCreationTimeNanos int64, socketCreationLatencyNanos int64, socketConnectionTimeNanos int64) error
IsMultiAdvertisementSupported(ctx context.Context) (bool, error)
IsOffloadedFilteringSupported(ctx context.Context) (bool, error)
IsOffloadedScanBatchingSupported(ctx context.Context) (bool, error)
IsActivityAndEnergyReportingSupported(ctx context.Context) (bool, error)
IsLe2MPhySupported(ctx context.Context) (bool, error)
IsLeCodedPhySupported(ctx context.Context) (bool, error)
IsLeExtendedAdvertisingSupported(ctx context.Context) (bool, error)
IsLePeriodicAdvertisingSupported(ctx context.Context) (bool, error)
IsLeAudioSupported(ctx context.Context) (bool, error)
IsLeAudioBroadcastSourceSupported(ctx context.Context) (bool, error)
IsLeAudioBroadcastAssistantSupported(ctx context.Context) (bool, error)
IsDistanceMeasurementSupported(ctx context.Context, attributionSource content.AttributionSource) (int32, error)
GetLeMaximumAdvertisingDataLength(ctx context.Context) (int32, error)
RegisterMetadataListener(ctx context.Context, listener IBluetoothMetadataListener, device BluetoothDevice, attributionSource content.AttributionSource) (bool, error)
UnregisterMetadataListener(ctx context.Context, listener IBluetoothMetadataListener, device BluetoothDevice, attributionSource content.AttributionSource) (bool, error)
SetMetadata(ctx context.Context, device BluetoothDevice, key int32, value []byte, attributionSource content.AttributionSource) (bool, error)
GetMetadata(ctx context.Context, device BluetoothDevice, key int32, attributionSource content.AttributionSource) ([]byte, error)
RequestActivityInfo(ctx context.Context, listener IBluetoothActivityEnergyInfoListener, attributionSource content.AttributionSource) error
ConnectAllEnabledProfiles(ctx context.Context, device BluetoothDevice, attributionSource content.AttributionSource) (int32, error)
DisconnectAllEnabledProfiles(ctx context.Context, device BluetoothDevice, attributionSource content.AttributionSource) (int32, error)
SetActiveDevice(ctx context.Context, device BluetoothDevice, profiles int32, attributionSource content.AttributionSource) (bool, error)
GetActiveDevices(ctx context.Context, profile int32, attributionSource content.AttributionSource) ([]BluetoothDevice, error)
GetMostRecentlyConnectedDevices(ctx context.Context, attributionSource content.AttributionSource) ([]BluetoothDevice, error)
RemoveActiveDevice(ctx context.Context, profiles int32, attributionSource content.AttributionSource) (bool, error)
RegisterBluetoothConnectionCallback(ctx context.Context, callback IBluetoothConnectionCallback, attributionSource content.AttributionSource) error
UnregisterBluetoothConnectionCallback(ctx context.Context, callback IBluetoothConnectionCallback, attributionSource content.AttributionSource) error
CanBondWithoutDialog(ctx context.Context, device BluetoothDevice, attributionSource content.AttributionSource) (bool, error)
GetPackageNameOfBondingApplication(ctx context.Context, device BluetoothDevice, attributionSource content.AttributionSource) (string, error)
GenerateLocalOobData(ctx context.Context, transport int32, callback IBluetoothOobDataCallback, attributionSource content.AttributionSource) error
AllowLowLatencyAudio(ctx context.Context, allowed bool, device BluetoothDevice) (bool, error)
IsRequestAudioPolicyAsSinkSupported(ctx context.Context, device BluetoothDevice, attributionSource content.AttributionSource) (int32, error)
RequestAudioPolicyAsSink(ctx context.Context, device BluetoothDevice, policies BluetoothSinkAudioPolicy, attributionSource content.AttributionSource) (int32, error)
GetRequestedAudioPolicyAsSink(ctx context.Context, device BluetoothDevice, attributionSource content.AttributionSource) (BluetoothSinkAudioPolicy, error)
StartRfcommListener(ctx context.Context, name string, uuid os.ParcelUuid, intent types.PendingIntent, attributionSource content.AttributionSource) (int32, error)
StopRfcommListener(ctx context.Context, uuid os.ParcelUuid, attributionSource content.AttributionSource) (int32, error)
RetrievePendingSocketForServiceRecord(ctx context.Context, uuid os.ParcelUuid, attributionSource content.AttributionSource) (IncomingRfcommSocketInfo, error)
SetPreferredAudioProfiles(ctx context.Context, device BluetoothDevice, modeToProfileBundle os.Bundle, source content.AttributionSource) (int32, error)
GetPreferredAudioProfiles(ctx context.Context, device BluetoothDevice, source content.AttributionSource) (os.Bundle, error)
IsDualModeAudioEnabled(ctx context.Context, attributionSource content.AttributionSource) (int32, error)
RegisterPreferredAudioProfilesChangedCallback(ctx context.Context, callback IBluetoothPreferredAudioProfilesCallback, attributionSource content.AttributionSource) (int32, error)
UnregisterPreferredAudioProfilesChangedCallback(ctx context.Context, callback IBluetoothPreferredAudioProfilesCallback, attributionSource content.AttributionSource) (int32, error)
NotifyActiveDeviceChangeApplied(ctx context.Context, device BluetoothDevice, attributionSource content.AttributionSource) (int32, error)
RegisterBluetoothQualityReportReadyCallback(ctx context.Context, callback IBluetoothQualityReportReadyCallback, attributionSource content.AttributionSource) (int32, error)
UnregisterBluetoothQualityReportReadyCallback(ctx context.Context, callback IBluetoothQualityReportReadyCallback, attributionSource content.AttributionSource) (int32, error)
RegisterHciVendorSpecificCallback(ctx context.Context, callback IBluetoothHciVendorSpecificCallback, eventCodes []int32) error
UnregisterHciVendorSpecificCallback(ctx context.Context, callback IBluetoothHciVendorSpecificCallback) error
SendHciVendorSpecificCommand(ctx context.Context, ocf int32, parameters []byte, callback IBluetoothHciVendorSpecificCallback) error
GetOffloadedTransportDiscoveryDataScanSupported(ctx context.Context, attributionSource content.AttributionSource) (int32, error)
GetBluetoothGatt(ctx context.Context) (binder.IBinder, error)
GetBluetoothScan(ctx context.Context) (binder.IBinder, error)
GetProfile(ctx context.Context, profile int32) (binder.IBinder, error)
GetProfileOneway(ctx context.Context, profile int32, callback IBluetoothProfileCallback) error
SetActiveAudioDevicePolicy(ctx context.Context, device BluetoothDevice, activeAudioDevicePolicy int32, source content.AttributionSource) (int32, error)
GetActiveAudioDevicePolicy(ctx context.Context, device BluetoothDevice, source content.AttributionSource) (int32, error)
SetMicrophonePreferredForCalls(ctx context.Context, device BluetoothDevice, enabled bool, source content.AttributionSource) (int32, error)
IsMicrophonePreferredForCalls(ctx context.Context, device BluetoothDevice, source content.AttributionSource) (bool, error)
SetOnHeadDetectionEnabled(ctx context.Context, device BluetoothDevice, enableState int32, source content.AttributionSource) (int32, error)
SetOnHead(ctx context.Context, device BluetoothDevice, state int32, source content.AttributionSource) (int32, error)
IsLeCocSocketOffloadSupported(ctx context.Context, source content.AttributionSource) (bool, error)
IsRfcommSocketOffloadSupported(ctx context.Context, source content.AttributionSource) (bool, error)
GetBluetoothAdvertise(ctx context.Context) (binder.IBinder, error)
GetDistanceMeasurement(ctx context.Context) (binder.IBinder, error)
GetKeyMissingCount(ctx context.Context, device BluetoothDevice, source content.AttributionSource) (int32, error)
GetEncryptionStatus(ctx context.Context, device BluetoothDevice, source content.AttributionSource, transport int32) (EncryptionStatusInnerParcel, error)
IsConnected(ctx context.Context, device BluetoothDevice, source content.AttributionSource, transport int32) (bool, error)
}
IBluetoothServer is the server-side interface that user implementations provide to NewBluetoothStub. It contains only the business methods, without AsBinder (which is provided by the stub itself).
type IBluetoothSocketManager ¶
type IBluetoothSocketManager interface {
AsBinder() binder.IBinder
ConnectSocket(ctx context.Context, device BluetoothDevice, type_ int32, uuid *os.ParcelUuid, port int32, flag int32, attributionSource content.AttributionSource) (int32, error)
ConnectSocketWithOffload(ctx context.Context, device BluetoothDevice, type_ int32, uuid *os.ParcelUuid, port int32, flag int32, dataPath int32, socketName string, hubId int64, endpointId int64, maximumPacketSize int32, attributionSource content.AttributionSource) (int32, error)
CreateSocketChannel(ctx context.Context, type_ int32, serviceName string, uuid *os.ParcelUuid, port int32, flag int32, attributionSource content.AttributionSource) (int32, error)
CreateSocketChannelWithOffload(ctx context.Context, type_ int32, serviceName string, uuid *os.ParcelUuid, port int32, flag int32, dataPath int32, socketName string, hubId int64, endpointId int64, maximumPacketSize int32, attributionSource content.AttributionSource) (int32, error)
RequestMaximumTxDataLength(ctx context.Context, device BluetoothDevice, attributionSource content.AttributionSource) error
GetL2capLocalChannelId(ctx context.Context, connectionUuid os.ParcelUuid, attributionSource content.AttributionSource) (int32, error)
GetL2capRemoteChannelId(ctx context.Context, connectionUuid os.ParcelUuid, attributionSource content.AttributionSource) (int32, error)
}
func NewBluetoothSocketManagerStub ¶
func NewBluetoothSocketManagerStub( impl IBluetoothSocketManagerServer, ) IBluetoothSocketManager
NewBluetoothSocketManagerStub creates a server-side IBluetoothSocketManager wrapping the given server implementation. The returned value satisfies IBluetoothSocketManager and can be passed to proxy methods; its AsBinder() returns a *binder.StubBinder that is auto-registered with the binder driver on first use.
type IBluetoothSocketManagerServer ¶
type IBluetoothSocketManagerServer interface {
ConnectSocket(ctx context.Context, device BluetoothDevice, type_ int32, uuid *os.ParcelUuid, port int32, flag int32, attributionSource content.AttributionSource) (int32, error)
ConnectSocketWithOffload(ctx context.Context, device BluetoothDevice, type_ int32, uuid *os.ParcelUuid, port int32, flag int32, dataPath int32, socketName string, hubId int64, endpointId int64, maximumPacketSize int32, attributionSource content.AttributionSource) (int32, error)
CreateSocketChannel(ctx context.Context, type_ int32, serviceName string, uuid *os.ParcelUuid, port int32, flag int32, attributionSource content.AttributionSource) (int32, error)
CreateSocketChannelWithOffload(ctx context.Context, type_ int32, serviceName string, uuid *os.ParcelUuid, port int32, flag int32, dataPath int32, socketName string, hubId int64, endpointId int64, maximumPacketSize int32, attributionSource content.AttributionSource) (int32, error)
RequestMaximumTxDataLength(ctx context.Context, device BluetoothDevice, attributionSource content.AttributionSource) error
GetL2capLocalChannelId(ctx context.Context, connectionUuid os.ParcelUuid, attributionSource content.AttributionSource) (int32, error)
GetL2capRemoteChannelId(ctx context.Context, connectionUuid os.ParcelUuid, attributionSource content.AttributionSource) (int32, error)
}
IBluetoothSocketManagerServer is the server-side interface that user implementations provide to NewBluetoothSocketManagerStub. It contains only the business methods, without AsBinder (which is provided by the stub itself).
type IBluetoothVolumeControl ¶
type IBluetoothVolumeControl interface {
AsBinder() binder.IBinder
GetConnectedDevices(ctx context.Context, attributionSource content.AttributionSource) ([]BluetoothDevice, error)
GetDevicesMatchingConnectionStates(ctx context.Context, states []int32, attributionSource content.AttributionSource) ([]BluetoothDevice, error)
GetConnectionState(ctx context.Context, device BluetoothDevice, attributionSource content.AttributionSource) (int32, error)
SetConnectionPolicy(ctx context.Context, device BluetoothDevice, connectionPolicy int32, attributionSource content.AttributionSource) (bool, error)
GetConnectionPolicy(ctx context.Context, device BluetoothDevice, attributionSource content.AttributionSource) (int32, error)
IsVolumeOffsetAvailable(ctx context.Context, device BluetoothDevice, attributionSource content.AttributionSource) (bool, error)
GetNumberOfVolumeOffsetInstances(ctx context.Context, device BluetoothDevice, attributionSource content.AttributionSource) (int32, error)
SetVolumeOffset(ctx context.Context, device BluetoothDevice, instanceId int32, volumeOffset int32, attributionSource content.AttributionSource) error
SetDeviceVolume(ctx context.Context, device BluetoothDevice, volume int32, isGroupOp bool, attributionSource content.AttributionSource) error
RegisterCallback(ctx context.Context, callback IBluetoothVolumeControlCallback, attributionSource content.AttributionSource) error
UnregisterCallback(ctx context.Context, callback IBluetoothVolumeControlCallback, attributionSource content.AttributionSource) error
NotifyNewRegisteredCallback(ctx context.Context, callback IBluetoothVolumeControlCallback, attributionSource content.AttributionSource) error
GetNumberOfAudioInputControlServices(ctx context.Context, attributionSource content.AttributionSource, device BluetoothDevice) (int32, error)
RegisterAudioInputControlCallback(ctx context.Context, attributionSource content.AttributionSource, device BluetoothDevice, instanceId int32, callback IAudioInputCallback) error
UnregisterAudioInputControlCallback(ctx context.Context, attributionSource content.AttributionSource, device BluetoothDevice, instanceId int32, callback IAudioInputCallback) error
GetAudioInputGainSettingUnit(ctx context.Context, attributionSource content.AttributionSource, device BluetoothDevice, instanceId int32) (int32, error)
GetAudioInputGainSettingMin(ctx context.Context, attributionSource content.AttributionSource, device BluetoothDevice, instanceId int32) (int32, error)
GetAudioInputGainSettingMax(ctx context.Context, attributionSource content.AttributionSource, device BluetoothDevice, instanceId int32) (int32, error)
GetAudioInputDescription(ctx context.Context, attributionSource content.AttributionSource, device BluetoothDevice, instanceId int32) (string, error)
IsAudioInputDescriptionWritable(ctx context.Context, attributionSource content.AttributionSource, device BluetoothDevice, instanceId int32) (bool, error)
SetAudioInputDescription(ctx context.Context, attributionSource content.AttributionSource, device BluetoothDevice, instanceId int32, description string) (bool, error)
GetAudioInputStatus(ctx context.Context, attributionSource content.AttributionSource, device BluetoothDevice, instanceId int32) (int32, error)
GetAudioInputType(ctx context.Context, attributionSource content.AttributionSource, device BluetoothDevice, instanceId int32) (int32, error)
GetAudioInputGainSetting(ctx context.Context, attributionSource content.AttributionSource, device BluetoothDevice, instanceId int32) (int32, error)
SetAudioInputGainSetting(ctx context.Context, attributionSource content.AttributionSource, device BluetoothDevice, instanceId int32, gainSetting int32) (bool, error)
GetAudioInputGainMode(ctx context.Context, attributionSource content.AttributionSource, device BluetoothDevice, instanceId int32) (int32, error)
SetAudioInputGainMode(ctx context.Context, attributionSource content.AttributionSource, device BluetoothDevice, instanceId int32, gainMode int32) (bool, error)
GetAudioInputMute(ctx context.Context, attributionSource content.AttributionSource, device BluetoothDevice, instanceId int32) (int32, error)
SetAudioInputMute(ctx context.Context, attributionSource content.AttributionSource, device BluetoothDevice, instanceId int32, mute int32) (bool, error)
}
func NewBluetoothVolumeControlStub ¶
func NewBluetoothVolumeControlStub( impl IBluetoothVolumeControlServer, ) IBluetoothVolumeControl
NewBluetoothVolumeControlStub creates a server-side IBluetoothVolumeControl wrapping the given server implementation. The returned value satisfies IBluetoothVolumeControl and can be passed to proxy methods; its AsBinder() returns a *binder.StubBinder that is auto-registered with the binder driver on first use.
type IBluetoothVolumeControlCallback ¶
type IBluetoothVolumeControlCallback interface {
AsBinder() binder.IBinder
OnVolumeOffsetChanged(ctx context.Context, device BluetoothDevice, instanceId int32, volumeOffset int32) error
OnVolumeOffsetAudioLocationChanged(ctx context.Context, device BluetoothDevice, instanceId int32, audioLocation int32) error
OnVolumeOffsetAudioDescriptionChanged(ctx context.Context, device BluetoothDevice, instanceId int32, audioDescription string) error
OnDeviceVolumeChanged(ctx context.Context, device BluetoothDevice, volume int32) error
}
func NewBluetoothVolumeControlCallbackStub ¶
func NewBluetoothVolumeControlCallbackStub( impl IBluetoothVolumeControlCallbackServer, ) IBluetoothVolumeControlCallback
NewBluetoothVolumeControlCallbackStub creates a server-side IBluetoothVolumeControlCallback wrapping the given server implementation. The returned value satisfies IBluetoothVolumeControlCallback and can be passed to proxy methods; its AsBinder() returns a *binder.StubBinder that is auto-registered with the binder driver on first use.
type IBluetoothVolumeControlCallbackServer ¶
type IBluetoothVolumeControlCallbackServer interface {
OnVolumeOffsetChanged(ctx context.Context, device BluetoothDevice, instanceId int32, volumeOffset int32) error
OnVolumeOffsetAudioLocationChanged(ctx context.Context, device BluetoothDevice, instanceId int32, audioLocation int32) error
OnVolumeOffsetAudioDescriptionChanged(ctx context.Context, device BluetoothDevice, instanceId int32, audioDescription string) error
OnDeviceVolumeChanged(ctx context.Context, device BluetoothDevice, volume int32) error
}
IBluetoothVolumeControlCallbackServer is the server-side interface that user implementations provide to NewBluetoothVolumeControlCallbackStub. It contains only the business methods, without AsBinder (which is provided by the stub itself).
type IBluetoothVolumeControlServer ¶
type IBluetoothVolumeControlServer interface {
GetConnectedDevices(ctx context.Context, attributionSource content.AttributionSource) ([]BluetoothDevice, error)
GetDevicesMatchingConnectionStates(ctx context.Context, states []int32, attributionSource content.AttributionSource) ([]BluetoothDevice, error)
GetConnectionState(ctx context.Context, device BluetoothDevice, attributionSource content.AttributionSource) (int32, error)
SetConnectionPolicy(ctx context.Context, device BluetoothDevice, connectionPolicy int32, attributionSource content.AttributionSource) (bool, error)
GetConnectionPolicy(ctx context.Context, device BluetoothDevice, attributionSource content.AttributionSource) (int32, error)
IsVolumeOffsetAvailable(ctx context.Context, device BluetoothDevice, attributionSource content.AttributionSource) (bool, error)
GetNumberOfVolumeOffsetInstances(ctx context.Context, device BluetoothDevice, attributionSource content.AttributionSource) (int32, error)
SetVolumeOffset(ctx context.Context, device BluetoothDevice, instanceId int32, volumeOffset int32, attributionSource content.AttributionSource) error
SetDeviceVolume(ctx context.Context, device BluetoothDevice, volume int32, isGroupOp bool, attributionSource content.AttributionSource) error
RegisterCallback(ctx context.Context, callback IBluetoothVolumeControlCallback, attributionSource content.AttributionSource) error
UnregisterCallback(ctx context.Context, callback IBluetoothVolumeControlCallback, attributionSource content.AttributionSource) error
NotifyNewRegisteredCallback(ctx context.Context, callback IBluetoothVolumeControlCallback, attributionSource content.AttributionSource) error
GetNumberOfAudioInputControlServices(ctx context.Context, attributionSource content.AttributionSource, device BluetoothDevice) (int32, error)
RegisterAudioInputControlCallback(ctx context.Context, attributionSource content.AttributionSource, device BluetoothDevice, instanceId int32, callback IAudioInputCallback) error
UnregisterAudioInputControlCallback(ctx context.Context, attributionSource content.AttributionSource, device BluetoothDevice, instanceId int32, callback IAudioInputCallback) error
GetAudioInputGainSettingUnit(ctx context.Context, attributionSource content.AttributionSource, device BluetoothDevice, instanceId int32) (int32, error)
GetAudioInputGainSettingMin(ctx context.Context, attributionSource content.AttributionSource, device BluetoothDevice, instanceId int32) (int32, error)
GetAudioInputGainSettingMax(ctx context.Context, attributionSource content.AttributionSource, device BluetoothDevice, instanceId int32) (int32, error)
GetAudioInputDescription(ctx context.Context, attributionSource content.AttributionSource, device BluetoothDevice, instanceId int32) (string, error)
IsAudioInputDescriptionWritable(ctx context.Context, attributionSource content.AttributionSource, device BluetoothDevice, instanceId int32) (bool, error)
SetAudioInputDescription(ctx context.Context, attributionSource content.AttributionSource, device BluetoothDevice, instanceId int32, description string) (bool, error)
GetAudioInputStatus(ctx context.Context, attributionSource content.AttributionSource, device BluetoothDevice, instanceId int32) (int32, error)
GetAudioInputType(ctx context.Context, attributionSource content.AttributionSource, device BluetoothDevice, instanceId int32) (int32, error)
GetAudioInputGainSetting(ctx context.Context, attributionSource content.AttributionSource, device BluetoothDevice, instanceId int32) (int32, error)
SetAudioInputGainSetting(ctx context.Context, attributionSource content.AttributionSource, device BluetoothDevice, instanceId int32, gainSetting int32) (bool, error)
GetAudioInputGainMode(ctx context.Context, attributionSource content.AttributionSource, device BluetoothDevice, instanceId int32) (int32, error)
SetAudioInputGainMode(ctx context.Context, attributionSource content.AttributionSource, device BluetoothDevice, instanceId int32, gainMode int32) (bool, error)
GetAudioInputMute(ctx context.Context, attributionSource content.AttributionSource, device BluetoothDevice, instanceId int32) (int32, error)
SetAudioInputMute(ctx context.Context, attributionSource content.AttributionSource, device BluetoothDevice, instanceId int32, mute int32) (bool, error)
}
IBluetoothVolumeControlServer is the server-side interface that user implementations provide to NewBluetoothVolumeControlStub. It contains only the business methods, without AsBinder (which is provided by the stub itself).
type IDistanceMeasurement ¶ added in v0.0.7
type IDistanceMeasurement interface {
AsBinder() binder.IBinder
GetSupportedDistanceMeasurementMethods(ctx context.Context, attributionSource content.AttributionSource) ([]le.DistanceMeasurementMethod, error)
StartDistanceMeasurement(ctx context.Context, uuid os.ParcelUuid, params le.DistanceMeasurementParams, callback le.IDistanceMeasurementCallback, attributionSource content.AttributionSource) error
StopDistanceMeasurement(ctx context.Context, uuid os.ParcelUuid, device BluetoothDevice, method int32, attributionSource content.AttributionSource) (int32, error)
GetChannelSoundingMaxSupportedSecurityLevel(ctx context.Context, remoteDevice BluetoothDevice, attributionSource content.AttributionSource) (int32, error)
GetLocalChannelSoundingMaxSupportedSecurityLevel(ctx context.Context, attributionSource content.AttributionSource) (int32, error)
GetChannelSoundingSupportedSecurityLevels(ctx context.Context, attributionSource content.AttributionSource) ([]int32, error)
}
func NewDistanceMeasurementStub ¶ added in v0.0.7
func NewDistanceMeasurementStub( impl IDistanceMeasurementServer, ) IDistanceMeasurement
NewDistanceMeasurementStub creates a server-side IDistanceMeasurement wrapping the given server implementation. The returned value satisfies IDistanceMeasurement and can be passed to proxy methods; its AsBinder() returns a *binder.StubBinder that is auto-registered with the binder driver on first use.
type IDistanceMeasurementServer ¶ added in v0.0.7
type IDistanceMeasurementServer interface {
GetSupportedDistanceMeasurementMethods(ctx context.Context, attributionSource content.AttributionSource) ([]le.DistanceMeasurementMethod, error)
StartDistanceMeasurement(ctx context.Context, uuid os.ParcelUuid, params le.DistanceMeasurementParams, callback le.IDistanceMeasurementCallback, attributionSource content.AttributionSource) error
StopDistanceMeasurement(ctx context.Context, uuid os.ParcelUuid, device BluetoothDevice, method int32, attributionSource content.AttributionSource) (int32, error)
GetChannelSoundingMaxSupportedSecurityLevel(ctx context.Context, remoteDevice BluetoothDevice, attributionSource content.AttributionSource) (int32, error)
GetLocalChannelSoundingMaxSupportedSecurityLevel(ctx context.Context, attributionSource content.AttributionSource) (int32, error)
GetChannelSoundingSupportedSecurityLevels(ctx context.Context, attributionSource content.AttributionSource) ([]int32, error)
}
IDistanceMeasurementServer is the server-side interface that user implementations provide to NewDistanceMeasurementStub. It contains only the business methods, without AsBinder (which is provided by the stub itself).
type IncomingRfcommSocketInfo ¶
type IncomingRfcommSocketInfo struct {
Pfd int32
BluetoothDevice BluetoothDevice
Status int32
}
func (*IncomingRfcommSocketInfo) MarshalParcel ¶
func (s *IncomingRfcommSocketInfo) MarshalParcel( p *parcel.Parcel, ) error
func (*IncomingRfcommSocketInfo) UnmarshalParcel ¶
func (s *IncomingRfcommSocketInfo) UnmarshalParcel( p *parcel.Parcel, ) error
Source Files
¶
- bluetoothactivityenergyinfo.go
- bluetoothaudioconfig.go
- bluetoothavrcpplayersettings.go
- bluetoothbroadcastaudioscanbaseconfig.go
- bluetoothclass.go
- bluetoothcodecconfig.go
- bluetoothcodecstatus.go
- bluetoothcodectype.go
- bluetoothdevice.bluetoothaddress.go
- bluetoothdevice.go
- bluetoothgattcharacteristic.go
- bluetoothgattdescriptor.go
- bluetoothgattincludedservice.go
- bluetoothgattservice.go
- bluetoothhappresetinfo.go
- bluetoothheadsetclientcall.go
- bluetoothhearingaid.advertisementservicedata.go
- bluetoothhiddeviceappqossettings.go
- bluetoothhiddeviceappsdpsettings.go
- bluetoothleaudiocodecconfig.go
- bluetoothleaudiocodecstatus.go
- bluetoothleaudiocontentmetadata.go
- bluetoothlebroadcastmetadata.go
- bluetoothlebroadcastreceivestate.go
- bluetoothlebroadcastsettings.go
- bluetoothlecall.go
- bluetoothqualityreport.go
- bluetoothsinkaudiopolicy.go
- bufferconstraints.go
- encryptionstatus.innerparcel.go
- iadapter.go
- iaudioinputcallback.go
- ibluetooth.go
- ibluetootha2dp.go
- ibluetootha2dpsink.go
- ibluetoothactivityenergyinfolistener.go
- ibluetoothadvertise.go
- ibluetoothavrcpcontroller.go
- ibluetoothavrcptarget.go
- ibluetoothbattery.go
- ibluetoothcallback.go
- ibluetoothconnectioncallback.go
- ibluetoothcsipsetcoordinator.go
- ibluetoothcsipsetcoordinatorcallback.go
- ibluetoothcsipsetcoordinatorlockcallback.go
- ibluetoothgatt.go
- ibluetoothgattcallback.go
- ibluetoothgattservercallback.go
- ibluetoothhapclient.go
- ibluetoothhapclientcallback.go
- ibluetoothhcivendorspecificcallback.go
- ibluetoothheadset.go
- ibluetoothheadsetclient.go
- ibluetoothhearingaid.go
- ibluetoothhiddevice.go
- ibluetoothhiddevicecallback.go
- ibluetoothhidhost.go
- ibluetoothleaudio.go
- ibluetoothleaudiocallback.go
- ibluetoothlebroadcastassistant.go
- ibluetoothlebroadcastassistantcallback.go
- ibluetoothlebroadcastcallback.go
- ibluetoothlecallcontrol.go
- ibluetoothlecallcontrolcallback.go
- ibluetoothmanager.go
- ibluetoothmanagercallback.go
- ibluetoothmap.go
- ibluetoothmapclient.go
- ibluetoothmcpservicemanager.go
- ibluetoothmetadatalistener.go
- ibluetoothoobdatacallback.go
- ibluetoothpan.go
- ibluetoothpancallback.go
- ibluetoothpbap.go
- ibluetoothpbapclient.go
- ibluetoothpreferredaudioprofilescallback.go
- ibluetoothprofilecallback.go
- ibluetoothprofileserviceconnection.go
- ibluetoothqualityreportreadycallback.go
- ibluetoothsap.go
- ibluetoothscan.go
- ibluetoothsocketmanager.go
- ibluetoothvolumecontrol.go
- ibluetoothvolumecontrolcallback.go
- idistancemeasurement.go
- incomingrfcommsocketinfo.go
- oobdata.go
- state.go