harmony 鸿蒙js-apidiff-communication

  • 2023-06-24
  • 浏览 (419)

Change Type Old Version New Version d.ts File
Added NA Module name: ohos.bluetoothManager
Class name: bluetoothManager
@ohos.bluetoothManager.d.ts
Added NA Module name: ohos.bluetoothManager
Class name: bluetoothManager
Method or attribute name: function getState(): BluetoothState;
@ohos.bluetoothManager.d.ts
Added NA Module name: ohos.bluetoothManager
Class name: bluetoothManager
Method or attribute name: function getBtConnectionState(): ProfileConnectionState;
@ohos.bluetoothManager.d.ts
Added NA Module name: ohos.bluetoothManager
Class name: bluetoothManager
Method or attribute name: function pairDevice(deviceId: string): void;
@ohos.bluetoothManager.d.ts
Added NA Module name: ohos.bluetoothManager
Class name: bluetoothManager
Method or attribute name: function cancelPairedDevice(deviceId: string): void;
@ohos.bluetoothManager.d.ts
Added NA Module name: ohos.bluetoothManager
Class name: bluetoothManager
Method or attribute name: function getRemoteDeviceName(deviceId: string): string;
@ohos.bluetoothManager.d.ts
Added NA Module name: ohos.bluetoothManager
Class name: bluetoothManager
Method or attribute name: function getRemoteDeviceClass(deviceId: string): DeviceClass;
@ohos.bluetoothManager.d.ts
Added NA Module name: ohos.bluetoothManager
Class name: bluetoothManager
Method or attribute name: function enableBluetooth(): void;
@ohos.bluetoothManager.d.ts
Added NA Module name: ohos.bluetoothManager
Class name: bluetoothManager
Method or attribute name: function disableBluetooth(): void;
@ohos.bluetoothManager.d.ts
Added NA Module name: ohos.bluetoothManager
Class name: bluetoothManager
Method or attribute name: function getLocalName(): string;
@ohos.bluetoothManager.d.ts
Added NA Module name: ohos.bluetoothManager
Class name: bluetoothManager
Method or attribute name: function getPairedDevices(): Array<string>;
@ohos.bluetoothManager.d.ts
Added NA Module name: ohos.bluetoothManager
Class name: bluetoothManager
Method or attribute name: function getProfileConnectionState(profileId: ProfileId): ProfileConnectionState;
@ohos.bluetoothManager.d.ts
Added NA Module name: ohos.bluetoothManager
Class name: bluetoothManager
Method or attribute name: function setDevicePairingConfirmation(device: string, accept: boolean): void;
@ohos.bluetoothManager.d.ts
Added NA Module name: ohos.bluetoothManager
Class name: bluetoothManager
Method or attribute name: function setLocalName(name: string): void;
@ohos.bluetoothManager.d.ts
Added NA Module name: ohos.bluetoothManager
Class name: bluetoothManager
Method or attribute name: function setBluetoothScanMode(mode: ScanMode, duration: number): void;
@ohos.bluetoothManager.d.ts
Added NA Module name: ohos.bluetoothManager
Class name: bluetoothManager
Method or attribute name: function getBluetoothScanMode(): ScanMode;
@ohos.bluetoothManager.d.ts
Added NA Module name: ohos.bluetoothManager
Class name: bluetoothManager
Method or attribute name: function startBluetoothDiscovery(): void;
@ohos.bluetoothManager.d.ts
Added NA Module name: ohos.bluetoothManager
Class name: bluetoothManager
Method or attribute name: function stopBluetoothDiscovery(): void;
@ohos.bluetoothManager.d.ts
Added NA Module name: ohos.bluetoothManager
Class name: bluetoothManager
Method or attribute name: function on(type: “bluetoothDeviceFind”, callback: Callback<Array<string>>): void;
@ohos.bluetoothManager.d.ts
Added NA Module name: ohos.bluetoothManager
Class name: bluetoothManager
Method or attribute name: function off(type: “bluetoothDeviceFind”, callback?: Callback<Array<string>>): void;
@ohos.bluetoothManager.d.ts
Added NA Module name: ohos.bluetoothManager
Class name: bluetoothManager
Method or attribute name: function on(type: “bondStateChange”, callback: Callback<BondStateParam>): void;
@ohos.bluetoothManager.d.ts
Added NA Module name: ohos.bluetoothManager
Class name: bluetoothManager
Method or attribute name: function off(type: “bondStateChange”, callback?: Callback<BondStateParam>): void;
@ohos.bluetoothManager.d.ts
Added NA Module name: ohos.bluetoothManager
Class name: bluetoothManager
Method or attribute name: function on(type: “pinRequired”, callback: Callback<PinRequiredParam>): void;
@ohos.bluetoothManager.d.ts
Added NA Module name: ohos.bluetoothManager
Class name: bluetoothManager
Method or attribute name: function off(type: “pinRequired”, callback?: Callback<PinRequiredParam>): void;
@ohos.bluetoothManager.d.ts
Added NA Module name: ohos.bluetoothManager
Class name: bluetoothManager
Method or attribute name: function on(type: “stateChange”, callback: Callback<BluetoothState>): void;
@ohos.bluetoothManager.d.ts
Added NA Module name: ohos.bluetoothManager
Class name: bluetoothManager
Method or attribute name: function off(type: “stateChange”, callback?: Callback<BluetoothState>): void;
@ohos.bluetoothManager.d.ts
Added NA Module name: ohos.bluetoothManager
Class name: bluetoothManager
Method or attribute name: function sppListen(name: string, option: SppOption, callback: AsyncCallback<number>): void;
@ohos.bluetoothManager.d.ts
Added NA Module name: ohos.bluetoothManager
Class name: bluetoothManager
Method or attribute name: function sppAccept(serverSocket: number, callback: AsyncCallback<number>): void;
@ohos.bluetoothManager.d.ts
Added NA Module name: ohos.bluetoothManager
Class name: bluetoothManager
Method or attribute name: function sppConnect(device: string, option: SppOption, callback: AsyncCallback<number>): void;
@ohos.bluetoothManager.d.ts
Added NA Module name: ohos.bluetoothManager
Class name: bluetoothManager
Method or attribute name: function sppCloseServerSocket(socket: number): void;
@ohos.bluetoothManager.d.ts
Added NA Module name: ohos.bluetoothManager
Class name: bluetoothManager
Method or attribute name: function sppCloseClientSocket(socket: number): void;
@ohos.bluetoothManager.d.ts
Added NA Module name: ohos.bluetoothManager
Class name: bluetoothManager
Method or attribute name: function sppWrite(clientSocket: number, data: ArrayBuffer): void;
@ohos.bluetoothManager.d.ts
Added NA Module name: ohos.bluetoothManager
Class name: bluetoothManager
Method or attribute name: function on(type: “sppRead”, clientSocket: number, callback: Callback<ArrayBuffer>): void;
@ohos.bluetoothManager.d.ts
Added NA Module name: ohos.bluetoothManager
Class name: bluetoothManager
Method or attribute name: function off(type: “sppRead”, clientSocket: number, callback?: Callback<ArrayBuffer>): void;
@ohos.bluetoothManager.d.ts
Added NA Module name: ohos.bluetoothManager
Class name: bluetoothManager
Method or attribute name: function getProfileInstance(profileId: ProfileId): A2dpSourceProfile |HandsFreeAudioGatewayProfile |HidHostProfile |PanProfile;
@ohos.bluetoothManager.d.ts
Added NA Module name: ohos.bluetoothManager
Class name: BaseProfile
@ohos.bluetoothManager.d.ts
Added NA Module name: ohos.bluetoothManager
Class name: BaseProfile
Method or attribute name: getConnectionDevices(): Array<string>;
@ohos.bluetoothManager.d.ts
Added NA Module name: ohos.bluetoothManager
Class name: BaseProfile
Method or attribute name: getDeviceState(device: string): ProfileConnectionState;
@ohos.bluetoothManager.d.ts
Added NA Module name: ohos.bluetoothManager
Class name: A2dpSourceProfile
@ohos.bluetoothManager.d.ts
Added NA Module name: ohos.bluetoothManager
Class name: A2dpSourceProfile
Method or attribute name: connect(device: string): void;
@ohos.bluetoothManager.d.ts
Added NA Module name: ohos.bluetoothManager
Class name: A2dpSourceProfile
Method or attribute name: disconnect(device: string): void;
@ohos.bluetoothManager.d.ts
Added NA Module name: ohos.bluetoothManager
Class name: A2dpSourceProfile
Method or attribute name: on(type: “connectionStateChange”, callback: Callback<StateChangeParam>): void;
@ohos.bluetoothManager.d.ts
Added NA Module name: ohos.bluetoothManager
Class name: A2dpSourceProfile
Method or attribute name: off(type: “connectionStateChange”, callback?: Callback<StateChangeParam>): void;
@ohos.bluetoothManager.d.ts
Added NA Module name: ohos.bluetoothManager
Class name: A2dpSourceProfile
Method or attribute name: getPlayingState(device: string): PlayingState;
@ohos.bluetoothManager.d.ts
Added NA Module name: ohos.bluetoothManager
Class name: HandsFreeAudioGatewayProfile
@ohos.bluetoothManager.d.ts
Added NA Module name: ohos.bluetoothManager
Class name: HandsFreeAudioGatewayProfile
Method or attribute name: connect(device: string): void;
@ohos.bluetoothManager.d.ts
Added NA Module name: ohos.bluetoothManager
Class name: HandsFreeAudioGatewayProfile
Method or attribute name: disconnect(device: string): void;
@ohos.bluetoothManager.d.ts
Added NA Module name: ohos.bluetoothManager
Class name: HandsFreeAudioGatewayProfile
Method or attribute name: on(type: “connectionStateChange”, callback: Callback<StateChangeParam>): void;
@ohos.bluetoothManager.d.ts
Added NA Module name: ohos.bluetoothManager
Class name: HandsFreeAudioGatewayProfile
Method or attribute name: off(type: “connectionStateChange”, callback?: Callback<StateChangeParam>): void;
@ohos.bluetoothManager.d.ts
Added NA Module name: ohos.bluetoothManager
Class name: HidHostProfile
@ohos.bluetoothManager.d.ts
Added NA Module name: ohos.bluetoothManager
Class name: HidHostProfile
Method or attribute name: connect(device: string): void;
@ohos.bluetoothManager.d.ts
Added NA Module name: ohos.bluetoothManager
Class name: HidHostProfile
Method or attribute name: disconnect(device: string): void;
@ohos.bluetoothManager.d.ts
Added NA Module name: ohos.bluetoothManager
Class name: HidHostProfile
Method or attribute name: on(type: “connectionStateChange”, callback: Callback<StateChangeParam>): void;
@ohos.bluetoothManager.d.ts
Added NA Module name: ohos.bluetoothManager
Class name: HidHostProfile
Method or attribute name: off(type: “connectionStateChange”, callback?: Callback<StateChangeParam>): void;
@ohos.bluetoothManager.d.ts
Added NA Module name: ohos.bluetoothManager
Class name: PanProfile
@ohos.bluetoothManager.d.ts
Added NA Module name: ohos.bluetoothManager
Class name: PanProfile
Method or attribute name: disconnect(device: string): void;
@ohos.bluetoothManager.d.ts
Added NA Module name: ohos.bluetoothManager
Class name: PanProfile
Method or attribute name: on(type: “connectionStateChange”, callback: Callback<StateChangeParam>): void;
@ohos.bluetoothManager.d.ts
Added NA Module name: ohos.bluetoothManager
Class name: PanProfile
Method or attribute name: off(type: “connectionStateChange”, callback?: Callback<StateChangeParam>): void;
@ohos.bluetoothManager.d.ts
Added NA Module name: ohos.bluetoothManager
Class name: PanProfile
Method or attribute name: setTethering(enable: boolean): void;
@ohos.bluetoothManager.d.ts
Added NA Module name: ohos.bluetoothManager
Class name: PanProfile
Method or attribute name: isTetheringOn(): boolean;
@ohos.bluetoothManager.d.ts
Added NA Module name: ohos.bluetoothManager
Class name: BLE
@ohos.bluetoothManager.d.ts
Added NA Module name: ohos.bluetoothManager
Class name: BLE
Method or attribute name: function createGattServer(): GattServer;
@ohos.bluetoothManager.d.ts
Added NA Module name: ohos.bluetoothManager
Class name: BLE
Method or attribute name: function createGattClientDevice(deviceId: string): GattClientDevice;
@ohos.bluetoothManager.d.ts
Added NA Module name: ohos.bluetoothManager
Class name: BLE
Method or attribute name: function getConnectedBLEDevices(): Array<string>;
@ohos.bluetoothManager.d.ts
Added NA Module name: ohos.bluetoothManager
Class name: BLE
Method or attribute name: function startBLEScan(filters: Array<ScanFilter>, options?: ScanOptions): void;
@ohos.bluetoothManager.d.ts
Added NA Module name: ohos.bluetoothManager
Class name: BLE
Method or attribute name: function stopBLEScan(): void;
@ohos.bluetoothManager.d.ts
Added NA Module name: ohos.bluetoothManager
Class name: BLE
Method or attribute name: function on(type: “BLEDeviceFind”, callback: Callback<Array<ScanResult>>): void;
@ohos.bluetoothManager.d.ts
Added NA Module name: ohos.bluetoothManager
Class name: BLE
Method or attribute name: function off(type: “BLEDeviceFind”, callback?: Callback<Array<ScanResult>>): void;
@ohos.bluetoothManager.d.ts
Added NA Module name: ohos.bluetoothManager
Class name: GattServer
@ohos.bluetoothManager.d.ts
Added NA Module name: ohos.bluetoothManager
Class name: GattServer
Method or attribute name: startAdvertising(setting: AdvertiseSetting, advData: AdvertiseData, advResponse?: AdvertiseData): void;
@ohos.bluetoothManager.d.ts
Added NA Module name: ohos.bluetoothManager
Class name: GattServer
Method or attribute name: stopAdvertising(): void;
@ohos.bluetoothManager.d.ts
Added NA Module name: ohos.bluetoothManager
Class name: GattServer
Method or attribute name: addService(service: GattService): void;
@ohos.bluetoothManager.d.ts
Added NA Module name: ohos.bluetoothManager
Class name: GattServer
Method or attribute name: removeService(serviceUuid: string): void;
@ohos.bluetoothManager.d.ts
Added NA Module name: ohos.bluetoothManager
Class name: GattServer
Method or attribute name: close(): void;
@ohos.bluetoothManager.d.ts
Added NA Module name: ohos.bluetoothManager
Class name: GattServer
Method or attribute name: notifyCharacteristicChanged(deviceId: string, notifyCharacteristic: NotifyCharacteristic): void;
@ohos.bluetoothManager.d.ts
Added NA Module name: ohos.bluetoothManager
Class name: GattServer
Method or attribute name: sendResponse(serverResponse: ServerResponse): void;
@ohos.bluetoothManager.d.ts
Added NA Module name: ohos.bluetoothManager
Class name: GattServer
Method or attribute name: on(type: “characteristicRead”, callback: Callback<CharacteristicReadRequest>): void;
@ohos.bluetoothManager.d.ts
Added NA Module name: ohos.bluetoothManager
Class name: GattServer
Method or attribute name: off(type: “characteristicRead”, callback?: Callback<CharacteristicReadRequest>): void;
@ohos.bluetoothManager.d.ts
Added NA Module name: ohos.bluetoothManager
Class name: GattServer
Method or attribute name: on(type: “characteristicWrite”, callback: Callback<CharacteristicWriteRequest>): void;
@ohos.bluetoothManager.d.ts
Added NA Module name: ohos.bluetoothManager
Class name: GattServer
Method or attribute name: off(type: “characteristicWrite”, callback?: Callback<CharacteristicWriteRequest>): void;
@ohos.bluetoothManager.d.ts
Added NA Module name: ohos.bluetoothManager
Class name: GattServer
Method or attribute name: on(type: “descriptorRead”, callback: Callback<DescriptorReadRequest>): void;
@ohos.bluetoothManager.d.ts
Added NA Module name: ohos.bluetoothManager
Class name: GattServer
Method or attribute name: off(type: “descriptorRead”, callback?: Callback<DescriptorReadRequest>): void;
@ohos.bluetoothManager.d.ts
Added NA Module name: ohos.bluetoothManager
Class name: GattServer
Method or attribute name: on(type: “descriptorWrite”, callback: Callback<DescriptorWriteRequest>): void;
@ohos.bluetoothManager.d.ts
Added NA Module name: ohos.bluetoothManager
Class name: GattServer
Method or attribute name: off(type: “descriptorWrite”, callback?: Callback<DescriptorWriteRequest>): void;
@ohos.bluetoothManager.d.ts
Added NA Module name: ohos.bluetoothManager
Class name: GattServer
Method or attribute name: on(type: “connectStateChange”, callback: Callback<BLEConnectChangedState>): void;
@ohos.bluetoothManager.d.ts
Added NA Module name: ohos.bluetoothManager
Class name: GattServer
Method or attribute name: off(type: “connectStateChange”, callback?: Callback<BLEConnectChangedState>): void;
@ohos.bluetoothManager.d.ts
Added NA Module name: ohos.bluetoothManager
Class name: GattClientDevice
@ohos.bluetoothManager.d.ts
Added NA Module name: ohos.bluetoothManager
Class name: GattClientDevice
Method or attribute name: connect(): void;
@ohos.bluetoothManager.d.ts
Added NA Module name: ohos.bluetoothManager
Class name: GattClientDevice
Method or attribute name: disconnect(): void;
@ohos.bluetoothManager.d.ts
Added NA Module name: ohos.bluetoothManager
Class name: GattClientDevice
Method or attribute name: close(): void;
@ohos.bluetoothManager.d.ts
Added NA Module name: ohos.bluetoothManager
Class name: GattClientDevice
Method or attribute name: getDeviceName(callback: AsyncCallback<string>): void;
@ohos.bluetoothManager.d.ts
Added NA Module name: ohos.bluetoothManager
Class name: GattClientDevice
Method or attribute name: getDeviceName(): Promise<string>;
@ohos.bluetoothManager.d.ts
Added NA Module name: ohos.bluetoothManager
Class name: GattClientDevice
Method or attribute name: getServices(callback: AsyncCallback<Array<GattService>>): void;
@ohos.bluetoothManager.d.ts
Added NA Module name: ohos.bluetoothManager
Class name: GattClientDevice
Method or attribute name: getServices(): Promise<Array<GattService>>;
@ohos.bluetoothManager.d.ts
Added NA Module name: ohos.bluetoothManager
Class name: GattClientDevice
Method or attribute name: readCharacteristicValue(characteristic: BLECharacteristic, callback: AsyncCallback<BLECharacteristic>): void;
@ohos.bluetoothManager.d.ts
Added NA Module name: ohos.bluetoothManager
Class name: GattClientDevice
Method or attribute name: readCharacteristicValue(characteristic: BLECharacteristic): Promise<BLECharacteristic>;
@ohos.bluetoothManager.d.ts
Added NA Module name: ohos.bluetoothManager
Class name: GattClientDevice
Method or attribute name: readDescriptorValue(descriptor: BLEDescriptor, callback: AsyncCallback<BLEDescriptor>): void;
@ohos.bluetoothManager.d.ts
Added NA Module name: ohos.bluetoothManager
Class name: GattClientDevice
Method or attribute name: readDescriptorValue(descriptor: BLEDescriptor): Promise<BLEDescriptor>;
@ohos.bluetoothManager.d.ts
Added NA Module name: ohos.bluetoothManager
Class name: GattClientDevice
Method or attribute name: writeCharacteristicValue(characteristic: BLECharacteristic): void;
@ohos.bluetoothManager.d.ts
Added NA Module name: ohos.bluetoothManager
Class name: GattClientDevice
Method or attribute name: writeDescriptorValue(descriptor: BLEDescriptor): void;
@ohos.bluetoothManager.d.ts
Added NA Module name: ohos.bluetoothManager
Class name: GattClientDevice
Method or attribute name: getRssiValue(callback: AsyncCallback<number>): void;
@ohos.bluetoothManager.d.ts
Added NA Module name: ohos.bluetoothManager
Class name: GattClientDevice
Method or attribute name: getRssiValue(): Promise<number>;
@ohos.bluetoothManager.d.ts
Added NA Module name: ohos.bluetoothManager
Class name: GattClientDevice
Method or attribute name: setBLEMtuSize(mtu: number): void;
@ohos.bluetoothManager.d.ts
Added NA Module name: ohos.bluetoothManager
Class name: GattClientDevice
Method or attribute name: setNotifyCharacteristicChanged(characteristic: BLECharacteristic, enable: boolean): void;
@ohos.bluetoothManager.d.ts
Added NA Module name: ohos.bluetoothManager
Class name: GattClientDevice
Method or attribute name: on(type: “BLECharacteristicChange”, callback: Callback<BLECharacteristic>): void;
@ohos.bluetoothManager.d.ts
Added NA Module name: ohos.bluetoothManager
Class name: GattClientDevice
Method or attribute name: off(type: “BLECharacteristicChange”, callback?: Callback<BLECharacteristic>): void;
@ohos.bluetoothManager.d.ts
Added NA Module name: ohos.bluetoothManager
Class name: GattClientDevice
Method or attribute name: on(type: “BLEConnectionStateChange”, callback: Callback<BLEConnectChangedState>): void;
@ohos.bluetoothManager.d.ts
Added NA Module name: ohos.bluetoothManager
Class name: GattClientDevice
Method or attribute name: off(type: “BLEConnectionStateChange”, callback?: Callback<BLEConnectChangedState>): void;
@ohos.bluetoothManager.d.ts
Added NA Module name: ohos.bluetoothManager
Class name: GattService
@ohos.bluetoothManager.d.ts
Added NA Module name: ohos.bluetoothManager
Class name: GattService
Method or attribute name: serviceUuid: string;
@ohos.bluetoothManager.d.ts
Added NA Module name: ohos.bluetoothManager
Class name: GattService
Method or attribute name: isPrimary: boolean;
@ohos.bluetoothManager.d.ts
Added NA Module name: ohos.bluetoothManager
Class name: GattService
Method or attribute name: characteristics: Array<BLECharacteristic>;
@ohos.bluetoothManager.d.ts
Added NA Module name: ohos.bluetoothManager
Class name: GattService
Method or attribute name: includeServices?: Array<GattService>;
@ohos.bluetoothManager.d.ts
Added NA Module name: ohos.bluetoothManager
Class name: BLECharacteristic
@ohos.bluetoothManager.d.ts
Added NA Module name: ohos.bluetoothManager
Class name: BLECharacteristic
Method or attribute name: serviceUuid: string;
@ohos.bluetoothManager.d.ts
Added NA Module name: ohos.bluetoothManager
Class name: BLECharacteristic
Method or attribute name: characteristicUuid: string;
@ohos.bluetoothManager.d.ts
Added NA Module name: ohos.bluetoothManager
Class name: BLECharacteristic
Method or attribute name: characteristicValue: ArrayBuffer;
@ohos.bluetoothManager.d.ts
Added NA Module name: ohos.bluetoothManager
Class name: BLECharacteristic
Method or attribute name: descriptors: Array<BLEDescriptor>;
@ohos.bluetoothManager.d.ts
Added NA Module name: ohos.bluetoothManager
Class name: BLEDescriptor
@ohos.bluetoothManager.d.ts
Added NA Module name: ohos.bluetoothManager
Class name: BLEDescriptor
Method or attribute name: serviceUuid: string;
@ohos.bluetoothManager.d.ts
Added NA Module name: ohos.bluetoothManager
Class name: BLEDescriptor
Method or attribute name: characteristicUuid: string;
@ohos.bluetoothManager.d.ts
Added NA Module name: ohos.bluetoothManager
Class name: BLEDescriptor
Method or attribute name: descriptorUuid: string;
@ohos.bluetoothManager.d.ts
Added NA Module name: ohos.bluetoothManager
Class name: BLEDescriptor
Method or attribute name: descriptorValue: ArrayBuffer;
@ohos.bluetoothManager.d.ts
Added NA Module name: ohos.bluetoothManager
Class name: NotifyCharacteristic
@ohos.bluetoothManager.d.ts
Added NA Module name: ohos.bluetoothManager
Class name: NotifyCharacteristic
Method or attribute name: serviceUuid: string;
@ohos.bluetoothManager.d.ts
Added NA Module name: ohos.bluetoothManager
Class name: NotifyCharacteristic
Method or attribute name: characteristicUuid: string;
@ohos.bluetoothManager.d.ts
Added NA Module name: ohos.bluetoothManager
Class name: NotifyCharacteristic
Method or attribute name: characteristicValue: ArrayBuffer;
@ohos.bluetoothManager.d.ts
Added NA Module name: ohos.bluetoothManager
Class name: NotifyCharacteristic
Method or attribute name: confirm: boolean;
@ohos.bluetoothManager.d.ts
Added NA Module name: ohos.bluetoothManager
Class name: CharacteristicReadRequest
@ohos.bluetoothManager.d.ts
Added NA Module name: ohos.bluetoothManager
Class name: CharacteristicReadRequest
Method or attribute name: deviceId: string;
@ohos.bluetoothManager.d.ts
Added NA Module name: ohos.bluetoothManager
Class name: CharacteristicReadRequest
Method or attribute name: transId: number;
@ohos.bluetoothManager.d.ts
Added NA Module name: ohos.bluetoothManager
Class name: CharacteristicReadRequest
Method or attribute name: offset: number;
@ohos.bluetoothManager.d.ts
Added NA Module name: ohos.bluetoothManager
Class name: CharacteristicReadRequest
Method or attribute name: characteristicUuid: string;
@ohos.bluetoothManager.d.ts
Added NA Module name: ohos.bluetoothManager
Class name: CharacteristicReadRequest
Method or attribute name: serviceUuid: string;
@ohos.bluetoothManager.d.ts
Added NA Module name: ohos.bluetoothManager
Class name: CharacteristicWriteRequest
@ohos.bluetoothManager.d.ts
Added NA Module name: ohos.bluetoothManager
Class name: CharacteristicWriteRequest
Method or attribute name: deviceId: string;
@ohos.bluetoothManager.d.ts
Added NA Module name: ohos.bluetoothManager
Class name: CharacteristicWriteRequest
Method or attribute name: transId: number;
@ohos.bluetoothManager.d.ts
Added NA Module name: ohos.bluetoothManager
Class name: CharacteristicWriteRequest
Method or attribute name: offset: number;
@ohos.bluetoothManager.d.ts
Added NA Module name: ohos.bluetoothManager
Class name: CharacteristicWriteRequest
Method or attribute name: isPrep: boolean;
@ohos.bluetoothManager.d.ts
Added NA Module name: ohos.bluetoothManager
Class name: CharacteristicWriteRequest
Method or attribute name: needRsp: boolean;
@ohos.bluetoothManager.d.ts
Added NA Module name: ohos.bluetoothManager
Class name: CharacteristicWriteRequest
Method or attribute name: value: ArrayBuffer;
@ohos.bluetoothManager.d.ts
Added NA Module name: ohos.bluetoothManager
Class name: CharacteristicWriteRequest
Method or attribute name: characteristicUuid: string;
@ohos.bluetoothManager.d.ts
Added NA Module name: ohos.bluetoothManager
Class name: CharacteristicWriteRequest
Method or attribute name: serviceUuid: string;
@ohos.bluetoothManager.d.ts
Added NA Module name: ohos.bluetoothManager
Class name: DescriptorReadRequest
@ohos.bluetoothManager.d.ts
Added NA Module name: ohos.bluetoothManager
Class name: DescriptorReadRequest
Method or attribute name: deviceId: string;
@ohos.bluetoothManager.d.ts
Added NA Module name: ohos.bluetoothManager
Class name: DescriptorReadRequest
Method or attribute name: transId: number;
@ohos.bluetoothManager.d.ts
Added NA Module name: ohos.bluetoothManager
Class name: DescriptorReadRequest
Method or attribute name: offset: number;
@ohos.bluetoothManager.d.ts
Added NA Module name: ohos.bluetoothManager
Class name: DescriptorReadRequest
Method or attribute name: descriptorUuid: string;
@ohos.bluetoothManager.d.ts
Added NA Module name: ohos.bluetoothManager
Class name: DescriptorReadRequest
Method or attribute name: characteristicUuid: string;
@ohos.bluetoothManager.d.ts
Added NA Module name: ohos.bluetoothManager
Class name: DescriptorReadRequest
Method or attribute name: serviceUuid: string;
@ohos.bluetoothManager.d.ts
Added NA Module name: ohos.bluetoothManager
Class name: DescriptorWriteRequest
@ohos.bluetoothManager.d.ts
Added NA Module name: ohos.bluetoothManager
Class name: DescriptorWriteRequest
Method or attribute name: deviceId: string;
@ohos.bluetoothManager.d.ts
Added NA Module name: ohos.bluetoothManager
Class name: DescriptorWriteRequest
Method or attribute name: transId: number;
@ohos.bluetoothManager.d.ts
Added NA Module name: ohos.bluetoothManager
Class name: DescriptorWriteRequest
Method or attribute name: offset: number;
@ohos.bluetoothManager.d.ts
Added NA Module name: ohos.bluetoothManager
Class name: DescriptorWriteRequest
Method or attribute name: isPrep: boolean;
@ohos.bluetoothManager.d.ts
Added NA Module name: ohos.bluetoothManager
Class name: DescriptorWriteRequest
Method or attribute name: needRsp: boolean;
@ohos.bluetoothManager.d.ts
Added NA Module name: ohos.bluetoothManager
Class name: DescriptorWriteRequest
Method or attribute name: value: ArrayBuffer;
@ohos.bluetoothManager.d.ts
Added NA Module name: ohos.bluetoothManager
Class name: DescriptorWriteRequest
Method or attribute name: descriptorUuid: string;
@ohos.bluetoothManager.d.ts
Added NA Module name: ohos.bluetoothManager
Class name: DescriptorWriteRequest
Method or attribute name: characteristicUuid: string;
@ohos.bluetoothManager.d.ts
Added NA Module name: ohos.bluetoothManager
Class name: DescriptorWriteRequest
Method or attribute name: serviceUuid: string;
@ohos.bluetoothManager.d.ts
Added NA Module name: ohos.bluetoothManager
Class name: ServerResponse
@ohos.bluetoothManager.d.ts
Added NA Module name: ohos.bluetoothManager
Class name: ServerResponse
Method or attribute name: deviceId: string;
@ohos.bluetoothManager.d.ts
Added NA Module name: ohos.bluetoothManager
Class name: ServerResponse
Method or attribute name: transId: number;
@ohos.bluetoothManager.d.ts
Added NA Module name: ohos.bluetoothManager
Class name: ServerResponse
Method or attribute name: status: number;
@ohos.bluetoothManager.d.ts
Added NA Module name: ohos.bluetoothManager
Class name: ServerResponse
Method or attribute name: offset: number;
@ohos.bluetoothManager.d.ts
Added NA Module name: ohos.bluetoothManager
Class name: ServerResponse
Method or attribute name: value: ArrayBuffer;
@ohos.bluetoothManager.d.ts
Added NA Module name: ohos.bluetoothManager
Class name: BLEConnectChangedState
@ohos.bluetoothManager.d.ts
Added NA Module name: ohos.bluetoothManager
Class name: BLEConnectChangedState
Method or attribute name: deviceId: string;
@ohos.bluetoothManager.d.ts
Added NA Module name: ohos.bluetoothManager
Class name: BLEConnectChangedState
Method or attribute name: state: ProfileConnectionState;
@ohos.bluetoothManager.d.ts
Added NA Module name: ohos.bluetoothManager
Class name: ScanResult
@ohos.bluetoothManager.d.ts
Added NA Module name: ohos.bluetoothManager
Class name: ScanResult
Method or attribute name: deviceId: string;
@ohos.bluetoothManager.d.ts
Added NA Module name: ohos.bluetoothManager
Class name: ScanResult
Method or attribute name: rssi: number;
@ohos.bluetoothManager.d.ts
Added NA Module name: ohos.bluetoothManager
Class name: ScanResult
Method or attribute name: data: ArrayBuffer;
@ohos.bluetoothManager.d.ts
Added NA Module name: ohos.bluetoothManager
Class name: AdvertiseSetting
@ohos.bluetoothManager.d.ts
Added NA Module name: ohos.bluetoothManager
Class name: AdvertiseSetting
Method or attribute name: interval?: number;
@ohos.bluetoothManager.d.ts
Added NA Module name: ohos.bluetoothManager
Class name: AdvertiseSetting
Method or attribute name: txPower?: number;
@ohos.bluetoothManager.d.ts
Added NA Module name: ohos.bluetoothManager
Class name: AdvertiseSetting
Method or attribute name: connectable?: boolean;
@ohos.bluetoothManager.d.ts
Added NA Module name: ohos.bluetoothManager
Class name: AdvertiseData
@ohos.bluetoothManager.d.ts
Added NA Module name: ohos.bluetoothManager
Class name: AdvertiseData
Method or attribute name: serviceUuids: Array<string>;
@ohos.bluetoothManager.d.ts
Added NA Module name: ohos.bluetoothManager
Class name: AdvertiseData
Method or attribute name: manufactureData: Array<ManufactureData>;
@ohos.bluetoothManager.d.ts
Added NA Module name: ohos.bluetoothManager
Class name: AdvertiseData
Method or attribute name: serviceData: Array<ServiceData>;
@ohos.bluetoothManager.d.ts
Added NA Module name: ohos.bluetoothManager
Class name: ManufactureData
@ohos.bluetoothManager.d.ts
Added NA Module name: ohos.bluetoothManager
Class name: ManufactureData
Method or attribute name: manufactureId: number;
@ohos.bluetoothManager.d.ts
Added NA Module name: ohos.bluetoothManager
Class name: ManufactureData
Method or attribute name: manufactureValue: ArrayBuffer;
@ohos.bluetoothManager.d.ts
Added NA Module name: ohos.bluetoothManager
Class name: ServiceData
@ohos.bluetoothManager.d.ts
Added NA Module name: ohos.bluetoothManager
Class name: ServiceData
Method or attribute name: serviceUuid: string;
@ohos.bluetoothManager.d.ts
Added NA Module name: ohos.bluetoothManager
Class name: ServiceData
Method or attribute name: serviceValue: ArrayBuffer;
@ohos.bluetoothManager.d.ts
Added NA Module name: ohos.bluetoothManager
Class name: ScanFilter
@ohos.bluetoothManager.d.ts
Added NA Module name: ohos.bluetoothManager
Class name: ScanFilter
Method or attribute name: deviceId?: string;
@ohos.bluetoothManager.d.ts
Added NA Module name: ohos.bluetoothManager
Class name: ScanFilter
Method or attribute name: name?: string;
@ohos.bluetoothManager.d.ts
Added NA Module name: ohos.bluetoothManager
Class name: ScanFilter
Method or attribute name: serviceUuid?: string;
@ohos.bluetoothManager.d.ts
Added NA Module name: ohos.bluetoothManager
Class name: ScanFilter
Method or attribute name: serviceUuidMask?: string;
@ohos.bluetoothManager.d.ts
Added NA Module name: ohos.bluetoothManager
Class name: ScanFilter
Method or attribute name: serviceSolicitationUuid?: string;
@ohos.bluetoothManager.d.ts
Added NA Module name: ohos.bluetoothManager
Class name: ScanFilter
Method or attribute name: serviceSolicitationUuidMask?: string;
@ohos.bluetoothManager.d.ts
Added NA Module name: ohos.bluetoothManager
Class name: ScanFilter
Method or attribute name: serviceData?: ArrayBuffer;
@ohos.bluetoothManager.d.ts
Added NA Module name: ohos.bluetoothManager
Class name: ScanFilter
Method or attribute name: serviceDataMask?: ArrayBuffer;
@ohos.bluetoothManager.d.ts
Added NA Module name: ohos.bluetoothManager
Class name: ScanFilter
Method or attribute name: manufactureId?: number;
@ohos.bluetoothManager.d.ts
Added NA Module name: ohos.bluetoothManager
Class name: ScanFilter
Method or attribute name: manufactureData?: ArrayBuffer;
@ohos.bluetoothManager.d.ts
Added NA Module name: ohos.bluetoothManager
Class name: ScanFilter
Method or attribute name: manufactureDataMask?: ArrayBuffer;
@ohos.bluetoothManager.d.ts
Added NA Module name: ohos.bluetoothManager
Class name: ScanOptions
@ohos.bluetoothManager.d.ts
Added NA Module name: ohos.bluetoothManager
Class name: ScanOptions
Method or attribute name: interval?: number;
@ohos.bluetoothManager.d.ts
Added NA Module name: ohos.bluetoothManager
Class name: ScanOptions
Method or attribute name: dutyMode?: ScanDuty;
@ohos.bluetoothManager.d.ts
Added NA Module name: ohos.bluetoothManager
Class name: ScanOptions
Method or attribute name: matchMode?: MatchMode;
@ohos.bluetoothManager.d.ts
Added NA Module name: ohos.bluetoothManager
Class name: SppOption
@ohos.bluetoothManager.d.ts
Added NA Module name: ohos.bluetoothManager
Class name: SppOption
Method or attribute name: uuid: string;
@ohos.bluetoothManager.d.ts
Added NA Module name: ohos.bluetoothManager
Class name: SppOption
Method or attribute name: secure: boolean;
@ohos.bluetoothManager.d.ts
Added NA Module name: ohos.bluetoothManager
Class name: SppOption
Method or attribute name: type: SppType;
@ohos.bluetoothManager.d.ts
Added NA Module name: ohos.bluetoothManager
Class name: PinRequiredParam
@ohos.bluetoothManager.d.ts
Added NA Module name: ohos.bluetoothManager
Class name: PinRequiredParam
Method or attribute name: deviceId: string;
@ohos.bluetoothManager.d.ts
Added NA Module name: ohos.bluetoothManager
Class name: PinRequiredParam
Method or attribute name: pinCode: string;
@ohos.bluetoothManager.d.ts
Added NA Module name: ohos.bluetoothManager
Class name: DeviceClass
@ohos.bluetoothManager.d.ts
Added NA Module name: ohos.bluetoothManager
Class name: DeviceClass
Method or attribute name: majorClass: MajorClass;
@ohos.bluetoothManager.d.ts
Added NA Module name: ohos.bluetoothManager
Class name: DeviceClass
Method or attribute name: majorMinorClass: MajorMinorClass;
@ohos.bluetoothManager.d.ts
Added NA Module name: ohos.bluetoothManager
Class name: DeviceClass
Method or attribute name: classOfDevice: number;
@ohos.bluetoothManager.d.ts
Added NA Module name: ohos.bluetoothManager
Class name: BondStateParam
@ohos.bluetoothManager.d.ts
Added NA Module name: ohos.bluetoothManager
Class name: BondStateParam
Method or attribute name: deviceId: string;
@ohos.bluetoothManager.d.ts
Added NA Module name: ohos.bluetoothManager
Class name: BondStateParam
Method or attribute name: state: BondState;
@ohos.bluetoothManager.d.ts
Added NA Module name: ohos.bluetoothManager
Class name: StateChangeParam
@ohos.bluetoothManager.d.ts
Added NA Module name: ohos.bluetoothManager
Class name: StateChangeParam
Method or attribute name: deviceId: string;
@ohos.bluetoothManager.d.ts
Added NA Module name: ohos.bluetoothManager
Class name: StateChangeParam
Method or attribute name: state: ProfileConnectionState;
@ohos.bluetoothManager.d.ts
Added NA Module name: ohos.bluetoothManager
Class name: ScanDuty
@ohos.bluetoothManager.d.ts
Added NA Module name: ohos.bluetoothManager
Class name: ScanDuty
Method or attribute name: SCAN_MODE_LOW_POWER = 0
@ohos.bluetoothManager.d.ts
Added NA Module name: ohos.bluetoothManager
Class name: ScanDuty
Method or attribute name: SCAN_MODE_BALANCED = 1
@ohos.bluetoothManager.d.ts
Added NA Module name: ohos.bluetoothManager
Class name: ScanDuty
Method or attribute name: SCAN_MODE_LOW_LATENCY = 2
@ohos.bluetoothManager.d.ts
Added NA Module name: ohos.bluetoothManager
Class name: MatchMode
@ohos.bluetoothManager.d.ts
Added NA Module name: ohos.bluetoothManager
Class name: MatchMode
Method or attribute name: MATCH_MODE_AGGRESSIVE = 1
@ohos.bluetoothManager.d.ts
Added NA Module name: ohos.bluetoothManager
Class name: MatchMode
Method or attribute name: MATCH_MODE_STICKY = 2
@ohos.bluetoothManager.d.ts
Added NA Module name: ohos.bluetoothManager
Class name: ProfileConnectionState
@ohos.bluetoothManager.d.ts
Added NA Module name: ohos.bluetoothManager
Class name: ProfileConnectionState
Method or attribute name: STATE_DISCONNECTED = 0
@ohos.bluetoothManager.d.ts
Added NA Module name: ohos.bluetoothManager
Class name: ProfileConnectionState
Method or attribute name: STATE_CONNECTING = 1
@ohos.bluetoothManager.d.ts
Added NA Module name: ohos.bluetoothManager
Class name: ProfileConnectionState
Method or attribute name: STATE_CONNECTED = 2
@ohos.bluetoothManager.d.ts
Added NA Module name: ohos.bluetoothManager
Class name: ProfileConnectionState
Method or attribute name: STATE_DISCONNECTING = 3
@ohos.bluetoothManager.d.ts
Added NA Module name: ohos.bluetoothManager
Class name: BluetoothState
@ohos.bluetoothManager.d.ts
Added NA Module name: ohos.bluetoothManager
Class name: BluetoothState
Method or attribute name: STATE_OFF = 0
@ohos.bluetoothManager.d.ts
Added NA Module name: ohos.bluetoothManager
Class name: BluetoothState
Method or attribute name: STATE_TURNING_ON = 1
@ohos.bluetoothManager.d.ts
Added NA Module name: ohos.bluetoothManager
Class name: BluetoothState
Method or attribute name: STATE_ON = 2
@ohos.bluetoothManager.d.ts
Added NA Module name: ohos.bluetoothManager
Class name: BluetoothState
Method or attribute name: STATE_TURNING_OFF = 3
@ohos.bluetoothManager.d.ts
Added NA Module name: ohos.bluetoothManager
Class name: BluetoothState
Method or attribute name: STATE_BLE_TURNING_ON = 4
@ohos.bluetoothManager.d.ts
Added NA Module name: ohos.bluetoothManager
Class name: BluetoothState
Method or attribute name: STATE_BLE_ON = 5
@ohos.bluetoothManager.d.ts
Added NA Module name: ohos.bluetoothManager
Class name: BluetoothState
Method or attribute name: STATE_BLE_TURNING_OFF = 6
@ohos.bluetoothManager.d.ts
Added NA Module name: ohos.bluetoothManager
Class name: SppType
@ohos.bluetoothManager.d.ts
Added NA Module name: ohos.bluetoothManager
Class name: SppType
Method or attribute name: SPP_RFCOMM
@ohos.bluetoothManager.d.ts
Added NA Module name: ohos.bluetoothManager
Class name: ScanMode
@ohos.bluetoothManager.d.ts
Added NA Module name: ohos.bluetoothManager
Class name: ScanMode
Method or attribute name: SCAN_MODE_NONE = 0
@ohos.bluetoothManager.d.ts
Added NA Module name: ohos.bluetoothManager
Class name: ScanMode
Method or attribute name: SCAN_MODE_CONNECTABLE = 1
@ohos.bluetoothManager.d.ts
Added NA Module name: ohos.bluetoothManager
Class name: ScanMode
Method or attribute name: SCAN_MODE_GENERAL_DISCOVERABLE = 2
@ohos.bluetoothManager.d.ts
Added NA Module name: ohos.bluetoothManager
Class name: ScanMode
Method or attribute name: SCAN_MODE_LIMITED_DISCOVERABLE = 3
@ohos.bluetoothManager.d.ts
Added NA Module name: ohos.bluetoothManager
Class name: ScanMode
Method or attribute name: SCAN_MODE_CONNECTABLE_GENERAL_DISCOVERABLE = 4
@ohos.bluetoothManager.d.ts
Added NA Module name: ohos.bluetoothManager
Class name: ScanMode
Method or attribute name: SCAN_MODE_CONNECTABLE_LIMITED_DISCOVERABLE = 5
@ohos.bluetoothManager.d.ts
Added NA Module name: ohos.bluetoothManager
Class name: BondState
@ohos.bluetoothManager.d.ts
Added NA Module name: ohos.bluetoothManager
Class name: BondState
Method or attribute name: BOND_STATE_INVALID = 0
@ohos.bluetoothManager.d.ts
Added NA Module name: ohos.bluetoothManager
Class name: BondState
Method or attribute name: BOND_STATE_BONDING = 1
@ohos.bluetoothManager.d.ts
Added NA Module name: ohos.bluetoothManager
Class name: BondState
Method or attribute name: BOND_STATE_BONDED = 2
@ohos.bluetoothManager.d.ts
Added NA Module name: ohos.bluetoothManager
Class name: MajorClass
@ohos.bluetoothManager.d.ts
Added NA Module name: ohos.bluetoothManager
Class name: MajorClass
Method or attribute name: MAJOR_MISC = 0x0000
@ohos.bluetoothManager.d.ts
Added NA Module name: ohos.bluetoothManager
Class name: MajorClass
Method or attribute name: MAJOR_COMPUTER = 0x0100
@ohos.bluetoothManager.d.ts
Added NA Module name: ohos.bluetoothManager
Class name: MajorClass
Method or attribute name: MAJOR_PHONE = 0x0200
@ohos.bluetoothManager.d.ts
Added NA Module name: ohos.bluetoothManager
Class name: MajorClass
Method or attribute name: MAJOR_NETWORKING = 0x0300
@ohos.bluetoothManager.d.ts
Added NA Module name: ohos.bluetoothManager
Class name: MajorClass
Method or attribute name: MAJOR_AUDIO_VIDEO = 0x0400
@ohos.bluetoothManager.d.ts
Added NA Module name: ohos.bluetoothManager
Class name: MajorClass
Method or attribute name: MAJOR_PERIPHERAL = 0x0500
@ohos.bluetoothManager.d.ts
Added NA Module name: ohos.bluetoothManager
Class name: MajorClass
Method or attribute name: MAJOR_IMAGING = 0x0600
@ohos.bluetoothManager.d.ts
Added NA Module name: ohos.bluetoothManager
Class name: MajorClass
Method or attribute name: MAJOR_WEARABLE = 0x0700
@ohos.bluetoothManager.d.ts
Added NA Module name: ohos.bluetoothManager
Class name: MajorClass
Method or attribute name: MAJOR_TOY = 0x0800
@ohos.bluetoothManager.d.ts
Added NA Module name: ohos.bluetoothManager
Class name: MajorClass
Method or attribute name: MAJOR_HEALTH = 0x0900
@ohos.bluetoothManager.d.ts
Added NA Module name: ohos.bluetoothManager
Class name: MajorClass
Method or attribute name: MAJOR_UNCATEGORIZED = 0x1F00
@ohos.bluetoothManager.d.ts
Added NA Module name: ohos.bluetoothManager
Class name: MajorMinorClass
@ohos.bluetoothManager.d.ts
Added NA Module name: ohos.bluetoothManager
Class name: MajorMinorClass
Method or attribute name: COMPUTER_UNCATEGORIZED = 0x0100
@ohos.bluetoothManager.d.ts
Added NA Module name: ohos.bluetoothManager
Class name: MajorMinorClass
Method or attribute name: COMPUTER_DESKTOP = 0x0104
@ohos.bluetoothManager.d.ts
Added NA Module name: ohos.bluetoothManager
Class name: MajorMinorClass
Method or attribute name: COMPUTER_SERVER = 0x0108
@ohos.bluetoothManager.d.ts
Added NA Module name: ohos.bluetoothManager
Class name: MajorMinorClass
Method or attribute name: COMPUTER_LAPTOP = 0x010C
@ohos.bluetoothManager.d.ts
Added NA Module name: ohos.bluetoothManager
Class name: MajorMinorClass
Method or attribute name: COMPUTER_HANDHELD_PC_PDA = 0x0110
@ohos.bluetoothManager.d.ts
Added NA Module name: ohos.bluetoothManager
Class name: MajorMinorClass
Method or attribute name: COMPUTER_PALM_SIZE_PC_PDA = 0x0114
@ohos.bluetoothManager.d.ts
Added NA Module name: ohos.bluetoothManager
Class name: MajorMinorClass
Method or attribute name: COMPUTER_WEARABLE = 0x0118
@ohos.bluetoothManager.d.ts
Added NA Module name: ohos.bluetoothManager
Class name: MajorMinorClass
Method or attribute name: COMPUTER_TABLET = 0x011C
@ohos.bluetoothManager.d.ts
Added NA Module name: ohos.bluetoothManager
Class name: MajorMinorClass
Method or attribute name: PHONE_UNCATEGORIZED = 0x0200
@ohos.bluetoothManager.d.ts
Added NA Module name: ohos.bluetoothManager
Class name: MajorMinorClass
Method or attribute name: PHONE_CELLULAR = 0x0204
@ohos.bluetoothManager.d.ts
Added NA Module name: ohos.bluetoothManager
Class name: MajorMinorClass
Method or attribute name: PHONE_CORDLESS = 0x0208
@ohos.bluetoothManager.d.ts
Added NA Module name: ohos.bluetoothManager
Class name: MajorMinorClass
Method or attribute name: PHONE_SMART = 0x020C
@ohos.bluetoothManager.d.ts
Added NA Module name: ohos.bluetoothManager
Class name: MajorMinorClass
Method or attribute name: PHONE_MODEM_OR_GATEWAY = 0x0210
@ohos.bluetoothManager.d.ts
Added NA Module name: ohos.bluetoothManager
Class name: MajorMinorClass
Method or attribute name: PHONE_ISDN = 0x0214
@ohos.bluetoothManager.d.ts
Added NA Module name: ohos.bluetoothManager
Class name: MajorMinorClass
Method or attribute name: NETWORK_FULLY_AVAILABLE = 0x0300
@ohos.bluetoothManager.d.ts
Added NA Module name: ohos.bluetoothManager
Class name: MajorMinorClass
Method or attribute name: NETWORK_1_TO_17_UTILIZED = 0x0320
@ohos.bluetoothManager.d.ts
Added NA Module name: ohos.bluetoothManager
Class name: MajorMinorClass
Method or attribute name: NETWORK_17_TO_33_UTILIZED = 0x0340
@ohos.bluetoothManager.d.ts
Added NA Module name: ohos.bluetoothManager
Class name: MajorMinorClass
Method or attribute name: NETWORK_33_TO_50_UTILIZED = 0x0360
@ohos.bluetoothManager.d.ts
Added NA Module name: ohos.bluetoothManager
Class name: MajorMinorClass
Method or attribute name: NETWORK_60_TO_67_UTILIZED = 0x0380
@ohos.bluetoothManager.d.ts
Added NA Module name: ohos.bluetoothManager
Class name: MajorMinorClass
Method or attribute name: NETWORK_67_TO_83_UTILIZED = 0x03A0
@ohos.bluetoothManager.d.ts
Added NA Module name: ohos.bluetoothManager
Class name: MajorMinorClass
Method or attribute name: NETWORK_83_TO_99_UTILIZED = 0x03C0
@ohos.bluetoothManager.d.ts
Added NA Module name: ohos.bluetoothManager
Class name: MajorMinorClass
Method or attribute name: NETWORK_NO_SERVICE = 0x03E0
@ohos.bluetoothManager.d.ts
Added NA Module name: ohos.bluetoothManager
Class name: MajorMinorClass
Method or attribute name: AUDIO_VIDEO_UNCATEGORIZED = 0x0400
@ohos.bluetoothManager.d.ts
Added NA Module name: ohos.bluetoothManager
Class name: MajorMinorClass
Method or attribute name: AUDIO_VIDEO_WEARABLE_HEADSET = 0x0404
@ohos.bluetoothManager.d.ts
Added NA Module name: ohos.bluetoothManager
Class name: MajorMinorClass
Method or attribute name: AUDIO_VIDEO_HANDSFREE = 0x0408
@ohos.bluetoothManager.d.ts
Added NA Module name: ohos.bluetoothManager
Class name: MajorMinorClass
Method or attribute name: AUDIO_VIDEO_MICROPHONE = 0x0410
@ohos.bluetoothManager.d.ts
Added NA Module name: ohos.bluetoothManager
Class name: MajorMinorClass
Method or attribute name: AUDIO_VIDEO_LOUDSPEAKER = 0x0414
@ohos.bluetoothManager.d.ts
Added NA Module name: ohos.bluetoothManager
Class name: MajorMinorClass
Method or attribute name: AUDIO_VIDEO_HEADPHONES = 0x0418
@ohos.bluetoothManager.d.ts
Added NA Module name: ohos.bluetoothManager
Class name: MajorMinorClass
Method or attribute name: AUDIO_VIDEO_PORTABLE_AUDIO = 0x041C
@ohos.bluetoothManager.d.ts
Added NA Module name: ohos.bluetoothManager
Class name: MajorMinorClass
Method or attribute name: AUDIO_VIDEO_CAR_AUDIO = 0x0420
@ohos.bluetoothManager.d.ts
Added NA Module name: ohos.bluetoothManager
Class name: MajorMinorClass
Method or attribute name: AUDIO_VIDEO_SET_TOP_BOX = 0x0424
@ohos.bluetoothManager.d.ts
Added NA Module name: ohos.bluetoothManager
Class name: MajorMinorClass
Method or attribute name: AUDIO_VIDEO_HIFI_AUDIO = 0x0428
@ohos.bluetoothManager.d.ts
Added NA Module name: ohos.bluetoothManager
Class name: MajorMinorClass
Method or attribute name: AUDIO_VIDEO_VCR = 0x042C
@ohos.bluetoothManager.d.ts
Added NA Module name: ohos.bluetoothManager
Class name: MajorMinorClass
Method or attribute name: AUDIO_VIDEO_VIDEO_CAMERA = 0x0430
@ohos.bluetoothManager.d.ts
Added NA Module name: ohos.bluetoothManager
Class name: MajorMinorClass
Method or attribute name: AUDIO_VIDEO_CAMCORDER = 0x0434
@ohos.bluetoothManager.d.ts
Added NA Module name: ohos.bluetoothManager
Class name: MajorMinorClass
Method or attribute name: AUDIO_VIDEO_VIDEO_MONITOR = 0x0438
@ohos.bluetoothManager.d.ts
Added NA Module name: ohos.bluetoothManager
Class name: MajorMinorClass
Method or attribute name: AUDIO_VIDEO_VIDEO_DISPLAY_AND_LOUDSPEAKER = 0x043C
@ohos.bluetoothManager.d.ts
Added NA Module name: ohos.bluetoothManager
Class name: MajorMinorClass
Method or attribute name: AUDIO_VIDEO_VIDEO_CONFERENCING = 0x0440
@ohos.bluetoothManager.d.ts
Added NA Module name: ohos.bluetoothManager
Class name: MajorMinorClass
Method or attribute name: AUDIO_VIDEO_VIDEO_GAMING_TOY = 0x0448
@ohos.bluetoothManager.d.ts
Added NA Module name: ohos.bluetoothManager
Class name: MajorMinorClass
Method or attribute name: PERIPHERAL_NON_KEYBOARD_NON_POINTING = 0x0500
@ohos.bluetoothManager.d.ts
Added NA Module name: ohos.bluetoothManager
Class name: MajorMinorClass
Method or attribute name: PERIPHERAL_KEYBOARD = 0x0540
@ohos.bluetoothManager.d.ts
Added NA Module name: ohos.bluetoothManager
Class name: MajorMinorClass
Method or attribute name: PERIPHERAL_POINTING_DEVICE = 0x0580
@ohos.bluetoothManager.d.ts
Added NA Module name: ohos.bluetoothManager
Class name: MajorMinorClass
Method or attribute name: PERIPHERAL_KEYBOARD_POINTING = 0x05C0
@ohos.bluetoothManager.d.ts
Added NA Module name: ohos.bluetoothManager
Class name: MajorMinorClass
Method or attribute name: PERIPHERAL_UNCATEGORIZED = 0x0500
@ohos.bluetoothManager.d.ts
Added NA Module name: ohos.bluetoothManager
Class name: MajorMinorClass
Method or attribute name: PERIPHERAL_JOYSTICK = 0x0504
@ohos.bluetoothManager.d.ts
Added NA Module name: ohos.bluetoothManager
Class name: MajorMinorClass
Method or attribute name: PERIPHERAL_GAMEPAD = 0x0508
@ohos.bluetoothManager.d.ts
Added NA Module name: ohos.bluetoothManager
Class name: MajorMinorClass
Method or attribute name: PERIPHERAL_REMOTE_CONTROL = 0x05C0
@ohos.bluetoothManager.d.ts
Added NA Module name: ohos.bluetoothManager
Class name: MajorMinorClass
Method or attribute name: PERIPHERAL_SENSING_DEVICE = 0x0510
@ohos.bluetoothManager.d.ts
Added NA Module name: ohos.bluetoothManager
Class name: MajorMinorClass
Method or attribute name: PERIPHERAL_DIGITIZER_TABLET = 0x0514
@ohos.bluetoothManager.d.ts
Added NA Module name: ohos.bluetoothManager
Class name: MajorMinorClass
Method or attribute name: PERIPHERAL_CARD_READER = 0x0518
@ohos.bluetoothManager.d.ts
Added NA Module name: ohos.bluetoothManager
Class name: MajorMinorClass
Method or attribute name: PERIPHERAL_DIGITAL_PEN = 0x051C
@ohos.bluetoothManager.d.ts
Added NA Module name: ohos.bluetoothManager
Class name: MajorMinorClass
Method or attribute name: PERIPHERAL_SCANNER_RFID = 0x0520
@ohos.bluetoothManager.d.ts
Added NA Module name: ohos.bluetoothManager
Class name: MajorMinorClass
Method or attribute name: PERIPHERAL_GESTURAL_INPUT = 0x0522
@ohos.bluetoothManager.d.ts
Added NA Module name: ohos.bluetoothManager
Class name: MajorMinorClass
Method or attribute name: IMAGING_UNCATEGORIZED = 0x0600
@ohos.bluetoothManager.d.ts
Added NA Module name: ohos.bluetoothManager
Class name: MajorMinorClass
Method or attribute name: IMAGING_DISPLAY = 0x0610
@ohos.bluetoothManager.d.ts
Added NA Module name: ohos.bluetoothManager
Class name: MajorMinorClass
Method or attribute name: IMAGING_CAMERA = 0x0620
@ohos.bluetoothManager.d.ts
Added NA Module name: ohos.bluetoothManager
Class name: MajorMinorClass
Method or attribute name: IMAGING_SCANNER = 0x0640
@ohos.bluetoothManager.d.ts
Added NA Module name: ohos.bluetoothManager
Class name: MajorMinorClass
Method or attribute name: IMAGING_PRINTER = 0x0680
@ohos.bluetoothManager.d.ts
Added NA Module name: ohos.bluetoothManager
Class name: MajorMinorClass
Method or attribute name: WEARABLE_UNCATEGORIZED = 0x0700
@ohos.bluetoothManager.d.ts
Added NA Module name: ohos.bluetoothManager
Class name: MajorMinorClass
Method or attribute name: WEARABLE_WRIST_WATCH = 0x0704
@ohos.bluetoothManager.d.ts
Added NA Module name: ohos.bluetoothManager
Class name: MajorMinorClass
Method or attribute name: WEARABLE_PAGER = 0x0708
@ohos.bluetoothManager.d.ts
Added NA Module name: ohos.bluetoothManager
Class name: MajorMinorClass
Method or attribute name: WEARABLE_JACKET = 0x070C
@ohos.bluetoothManager.d.ts
Added NA Module name: ohos.bluetoothManager
Class name: MajorMinorClass
Method or attribute name: WEARABLE_HELMET = 0x0710
@ohos.bluetoothManager.d.ts
Added NA Module name: ohos.bluetoothManager
Class name: MajorMinorClass
Method or attribute name: WEARABLE_GLASSES = 0x0714
@ohos.bluetoothManager.d.ts
Added NA Module name: ohos.bluetoothManager
Class name: MajorMinorClass
Method or attribute name: TOY_UNCATEGORIZED = 0x0800
@ohos.bluetoothManager.d.ts
Added NA Module name: ohos.bluetoothManager
Class name: MajorMinorClass
Method or attribute name: TOY_ROBOT = 0x0804
@ohos.bluetoothManager.d.ts
Added NA Module name: ohos.bluetoothManager
Class name: MajorMinorClass
Method or attribute name: TOY_VEHICLE = 0x0808
@ohos.bluetoothManager.d.ts
Added NA Module name: ohos.bluetoothManager
Class name: MajorMinorClass
Method or attribute name: TOY_DOLL_ACTION_FIGURE = 0x080C
@ohos.bluetoothManager.d.ts
Added NA Module name: ohos.bluetoothManager
Class name: MajorMinorClass
Method or attribute name: TOY_CONTROLLER = 0x0810
@ohos.bluetoothManager.d.ts
Added NA Module name: ohos.bluetoothManager
Class name: MajorMinorClass
Method or attribute name: TOY_GAME = 0x0814
@ohos.bluetoothManager.d.ts
Added NA Module name: ohos.bluetoothManager
Class name: MajorMinorClass
Method or attribute name: HEALTH_UNCATEGORIZED = 0x0900
@ohos.bluetoothManager.d.ts
Added NA Module name: ohos.bluetoothManager
Class name: MajorMinorClass
Method or attribute name: HEALTH_BLOOD_PRESSURE = 0x0904
@ohos.bluetoothManager.d.ts
Added NA Module name: ohos.bluetoothManager
Class name: MajorMinorClass
Method or attribute name: HEALTH_THERMOMETER = 0x0908
@ohos.bluetoothManager.d.ts
Added NA Module name: ohos.bluetoothManager
Class name: MajorMinorClass
Method or attribute name: HEALTH_WEIGHING = 0x090C
@ohos.bluetoothManager.d.ts
Added NA Module name: ohos.bluetoothManager
Class name: MajorMinorClass
Method or attribute name: HEALTH_GLUCOSE = 0x0910
@ohos.bluetoothManager.d.ts
Added NA Module name: ohos.bluetoothManager
Class name: MajorMinorClass
Method or attribute name: HEALTH_PULSE_OXIMETER = 0x0914
@ohos.bluetoothManager.d.ts
Added NA Module name: ohos.bluetoothManager
Class name: MajorMinorClass
Method or attribute name: HEALTH_PULSE_RATE = 0x0918
@ohos.bluetoothManager.d.ts
Added NA Module name: ohos.bluetoothManager
Class name: MajorMinorClass
Method or attribute name: HEALTH_DATA_DISPLAY = 0x091C
@ohos.bluetoothManager.d.ts
Added NA Module name: ohos.bluetoothManager
Class name: MajorMinorClass
Method or attribute name: HEALTH_STEP_COUNTER = 0x0920
@ohos.bluetoothManager.d.ts
Added NA Module name: ohos.bluetoothManager
Class name: MajorMinorClass
Method or attribute name: HEALTH_BODY_COMPOSITION_ANALYZER = 0x0924
@ohos.bluetoothManager.d.ts
Added NA Module name: ohos.bluetoothManager
Class name: MajorMinorClass
Method or attribute name: HEALTH_PEAK_FLOW_MONITOR = 0x0928
@ohos.bluetoothManager.d.ts
Added NA Module name: ohos.bluetoothManager
Class name: MajorMinorClass
Method or attribute name: HEALTH_MEDICATION_MONITOR = 0x092C
@ohos.bluetoothManager.d.ts
Added NA Module name: ohos.bluetoothManager
Class name: MajorMinorClass
Method or attribute name: HEALTH_KNEE_PROSTHESIS = 0x0930
@ohos.bluetoothManager.d.ts
Added NA Module name: ohos.bluetoothManager
Class name: MajorMinorClass
Method or attribute name: HEALTH_ANKLE_PROSTHESIS = 0x0934
@ohos.bluetoothManager.d.ts
Added NA Module name: ohos.bluetoothManager
Class name: MajorMinorClass
Method or attribute name: HEALTH_GENERIC_HEALTH_MANAGER = 0x0938
@ohos.bluetoothManager.d.ts
Added NA Module name: ohos.bluetoothManager
Class name: MajorMinorClass
Method or attribute name: HEALTH_PERSONAL_MOBILITY_DEVICE = 0x093C
@ohos.bluetoothManager.d.ts
Added NA Module name: ohos.bluetoothManager
Class name: PlayingState
@ohos.bluetoothManager.d.ts
Added NA Module name: ohos.bluetoothManager
Class name: PlayingState
Method or attribute name: STATE_NOT_PLAYING
@ohos.bluetoothManager.d.ts
Added NA Module name: ohos.bluetoothManager
Class name: PlayingState
Method or attribute name: STATE_PLAYING
@ohos.bluetoothManager.d.ts
Added NA Module name: ohos.bluetoothManager
Class name: ProfileId
@ohos.bluetoothManager.d.ts
Added NA Module name: ohos.bluetoothManager
Class name: ProfileId
Method or attribute name: PROFILE_A2DP_SOURCE = 1
@ohos.bluetoothManager.d.ts
Added NA Module name: ohos.bluetoothManager
Class name: ProfileId
Method or attribute name: PROFILE_HANDS_FREE_AUDIO_GATEWAY = 4
@ohos.bluetoothManager.d.ts
Added NA Module name: ohos.bluetoothManager
Class name: ProfileId
Method or attribute name: PROFILE_HID_HOST = 6
@ohos.bluetoothManager.d.ts
Added NA Module name: ohos.bluetoothManager
Class name: ProfileId
Method or attribute name: PROFILE_PAN_NETWORK = 7
@ohos.bluetoothManager.d.ts
Added NA Class name: connection
Method or attribute name: function getAppNet(callback: AsyncCallback<NetHandle>): void;
@ohos.net.connection.d.ts
Added NA Class name: connection
Method or attribute name: function getAppNet(): Promise<NetHandle>;
@ohos.net.connection.d.ts
Added NA Class name: connection
Method or attribute name: function setAppNet(netHandle: NetHandle, callback: AsyncCallback<void>): void;
@ohos.net.connection.d.ts
Added NA Class name: connection
Method or attribute name: function setAppNet(netHandle: NetHandle): Promise<void>;
@ohos.net.connection.d.ts
Added NA Class name: TLSSecureOptions
Method or attribute name: password?: string;
@ohos.net.socket.d.ts
Added NA Module name: ohos.wifiManager
Class name: WifiEapConfig
Method or attribute name: certEntry: Uint8Array;
@ohos.wifiManager.d.ts
Added NA Class name: WifiEapConfig
Method or attribute name: certEntry: Uint8Array;
@ohos.wifiManager.d.ts
Added NA Module name: ohos.wifiManager
Class name: WifiEapConfig
Method or attribute name: certPassword: string;
@ohos.wifiManager.d.ts
Added NA Class name: WifiEapConfig
Method or attribute name: certPassword: string;
@ohos.wifiManager.d.ts
Added NA Class name: WifiDeviceConfig
Method or attribute name: bssid?: string;
@ohos.wifiManager.d.ts
Added NA Class name: WifiDeviceConfig
Method or attribute name: isHiddenSsid?: boolean;
@ohos.wifiManager.d.ts
Added NA Class name: WifiDeviceConfig
Method or attribute name: creatorUid?: number;
@ohos.wifiManager.d.ts
Added NA Class name: WifiDeviceConfig
Method or attribute name: disableReason?: number;
@ohos.wifiManager.d.ts
Added NA Class name: WifiDeviceConfig
Method or attribute name: netId?: number;
@ohos.wifiManager.d.ts
Added NA Class name: WifiDeviceConfig
Method or attribute name: randomMacType?: number;
@ohos.wifiManager.d.ts
Added NA Class name: WifiDeviceConfig
Method or attribute name: randomMacAddr?: string;
@ohos.wifiManager.d.ts
Added NA Class name: WifiDeviceConfig
Method or attribute name: ipType?: IpType;
@ohos.wifiManager.d.ts
Added NA Class name: WifiDeviceConfig
Method or attribute name: staticIp?: IpConfig;
@ohos.wifiManager.d.ts
Added NA Class name: WifiDeviceConfig
Method or attribute name: eapConfig?: WifiEapConfig;
@ohos.wifiManager.d.ts
Deleted Module name: ohos.bluetooth
Class name: bluetooth
Method or attribute name: function getProfileInst(profileId: ProfileId): A2dpSourceProfile |HandsFreeAudioGatewayProfile |HidHostProfile |PanProfile;
NA @ohos.bluetooth.d.ts
Deleted Module name: ohos.bluetooth
Class name: HidHostProfile
NA @ohos.bluetooth.d.ts
Deleted Module name: ohos.bluetooth
Class name: HidHostProfile
Method or attribute name: connect(device: string): boolean;
NA @ohos.bluetooth.d.ts
Deleted Module name: ohos.bluetooth
Class name: HidHostProfile
Method or attribute name: disconnect(device: string): boolean;
NA @ohos.bluetooth.d.ts
Deleted Module name: ohos.bluetooth
Class name: HidHostProfile
Method or attribute name: on(type: “connectionStateChange”, callback: Callback<StateChangeParam>): void;
NA @ohos.bluetooth.d.ts
Deleted Module name: ohos.bluetooth
Class name: HidHostProfile
Method or attribute name: off(type: “connectionStateChange”, callback?: Callback<StateChangeParam>): void;
NA @ohos.bluetooth.d.ts
Deleted Module name: ohos.bluetooth
Class name: PanProfile
NA @ohos.bluetooth.d.ts
Deleted Module name: ohos.bluetooth
Class name: PanProfile
Method or attribute name: disconnect(device: string): boolean;
NA @ohos.bluetooth.d.ts
Deleted Module name: ohos.bluetooth
Class name: PanProfile
Method or attribute name: on(type: “connectionStateChange”, callback: Callback<StateChangeParam>): void;
NA @ohos.bluetooth.d.ts
Deleted Module name: ohos.bluetooth
Class name: PanProfile
Method or attribute name: off(type: “connectionStateChange”, callback?: Callback<StateChangeParam>): void;
NA @ohos.bluetooth.d.ts
Deleted Module name: ohos.bluetooth
Class name: PanProfile
Method or attribute name: setTethering(enable: boolean): void;
NA @ohos.bluetooth.d.ts
Deleted Module name: ohos.bluetooth
Class name: PanProfile
Method or attribute name: isTetheringOn(): boolean;
NA @ohos.bluetooth.d.ts
Deleted Module name: ohos.bluetooth
Class name: ScanFilter
Method or attribute name: serviceUuidMask?: string;
NA @ohos.bluetooth.d.ts
Deleted Module name: ohos.bluetooth
Class name: ScanFilter
Method or attribute name: serviceSolicitationUuid?: string;
NA @ohos.bluetooth.d.ts
Deleted Module name: ohos.bluetooth
Class name: ScanFilter
Method or attribute name: serviceSolicitationUuidMask?: string;
NA @ohos.bluetooth.d.ts
Deleted Module name: ohos.bluetooth
Class name: ScanFilter
Method or attribute name: serviceData?: ArrayBuffer;
NA @ohos.bluetooth.d.ts
Deleted Module name: ohos.bluetooth
Class name: ScanFilter
Method or attribute name: serviceDataMask?: ArrayBuffer;
NA @ohos.bluetooth.d.ts
Deleted Module name: ohos.bluetooth
Class name: ScanFilter
Method or attribute name: manufactureId?: number;
NA @ohos.bluetooth.d.ts
Deleted Module name: ohos.bluetooth
Class name: ScanFilter
Method or attribute name: manufactureData?: ArrayBuffer;
NA @ohos.bluetooth.d.ts
Deleted Module name: ohos.bluetooth
Class name: ScanFilter
Method or attribute name: manufactureDataMask?: ArrayBuffer;
NA @ohos.bluetooth.d.ts
Deleted Module name: ohos.bluetooth
Class name: ProfileId
Method or attribute name: PROFILE_HID_HOST = 6
NA @ohos.bluetooth.d.ts
Deleted Module name: ohos.bluetooth
Class name: ProfileId
Method or attribute name: PROFILE_PAN_NETWORK = 7
NA @ohos.bluetooth.d.ts
Deleted Module name: ohos.net.socket
Class name: TLSSecureOptions
Method or attribute name: passwd?: string;
NA @ohos.net.socket.d.ts
Deprecated version changed Class name: bluetooth
Deprecated version: N/A
Class name: bluetooth
Deprecated version: 9
Substitute API: ohos.bluetoothManager
@ohos.bluetooth.d.ts
Deprecated version changed Class name: bluetooth
Method or attribute name: function getState(): BluetoothState;
Deprecated version: N/A
Class name: bluetooth
Method or attribute name: function getState(): BluetoothState;
Deprecated version: 9
Substitute API: ohos.bluetoothManager/bluetoothManager.getState
@ohos.bluetooth.d.ts
Deprecated version changed Class name: bluetooth
Method or attribute name: function getBtConnectionState(): ProfileConnectionState;
Deprecated version: N/A
Class name: bluetooth
Method or attribute name: function getBtConnectionState(): ProfileConnectionState;
Deprecated version: 9
Substitute API: ohos.bluetoothManager/bluetoothManager.getBtConnectionState
@ohos.bluetooth.d.ts
Deprecated version changed Class name: bluetooth
Method or attribute name: function pairDevice(deviceId: string): boolean;
Deprecated version: N/A
Class name: bluetooth
Method or attribute name: function pairDevice(deviceId: string): boolean;
Deprecated version: 9
Substitute API: ohos.bluetoothManager/bluetoothManager.pairDevice
@ohos.bluetooth.d.ts
Deprecated version changed Class name: bluetooth
Method or attribute name: function cancelPairedDevice(deviceId: string): boolean;
Deprecated version: N/A
Class name: bluetooth
Method or attribute name: function cancelPairedDevice(deviceId: string): boolean;
Deprecated version: 9
Substitute API: ohos.bluetoothManager/bluetoothManager.cancelPairedDevice
@ohos.bluetooth.d.ts
Deprecated version changed Class name: bluetooth
Method or attribute name: function getRemoteDeviceName(deviceId: string): string;
Deprecated version: N/A
Class name: bluetooth
Method or attribute name: function getRemoteDeviceName(deviceId: string): string;
Deprecated version: 9
Substitute API: ohos.bluetoothManager/bluetoothManager.getRemoteDeviceName
@ohos.bluetooth.d.ts
Deprecated version changed Class name: bluetooth
Method or attribute name: function getRemoteDeviceClass(deviceId: string): DeviceClass;
Deprecated version: N/A
Class name: bluetooth
Method or attribute name: function getRemoteDeviceClass(deviceId: string): DeviceClass;
Deprecated version: 9
Substitute API: ohos.bluetoothManager/bluetoothManager.getRemoteDeviceClass
@ohos.bluetooth.d.ts
Deprecated version changed Class name: bluetooth
Method or attribute name: function enableBluetooth(): boolean;
Deprecated version: N/A
Class name: bluetooth
Method or attribute name: function enableBluetooth(): boolean;
Deprecated version: 9
Substitute API: ohos.bluetoothManager/bluetoothManager.enableBluetooth
@ohos.bluetooth.d.ts
Deprecated version changed Class name: bluetooth
Method or attribute name: function disableBluetooth(): boolean;
Deprecated version: N/A
Class name: bluetooth
Method or attribute name: function disableBluetooth(): boolean;
Deprecated version: 9
Substitute API: ohos.bluetoothManager/bluetoothManager.disableBluetooth
@ohos.bluetooth.d.ts
Deprecated version changed Class name: bluetooth
Method or attribute name: function getLocalName(): string;
Deprecated version: N/A
Class name: bluetooth
Method or attribute name: function getLocalName(): string;
Deprecated version: 9
Substitute API: ohos.bluetoothManager/bluetoothManager.getLocalName
@ohos.bluetooth.d.ts
Deprecated version changed Class name: bluetooth
Method or attribute name: function getPairedDevices(): Array<string>;
Deprecated version: N/A
Class name: bluetooth
Method or attribute name: function getPairedDevices(): Array<string>;
Deprecated version: 9
Substitute API: ohos.bluetoothManager/bluetoothManager.getPairedDevices
@ohos.bluetooth.d.ts
Deprecated version changed Class name: bluetooth
Method or attribute name: function getProfileConnState(profileId: ProfileId): ProfileConnectionState;
Deprecated version: N/A
Class name: bluetooth
Method or attribute name: function getProfileConnState(profileId: ProfileId): ProfileConnectionState;
Deprecated version: 9
Substitute API: ohos.bluetoothManager/bluetoothManager.getProfileConnectionState
@ohos.bluetooth.d.ts
Deprecated version changed Class name: bluetooth
Method or attribute name: function setDevicePairingConfirmation(device: string, accept: boolean): boolean;
Deprecated version: N/A
Class name: bluetooth
Method or attribute name: function setDevicePairingConfirmation(device: string, accept: boolean): boolean;
Deprecated version: 9
Substitute API: ohos.bluetoothManager/bluetoothManager.setDevicePairingConfirmation
@ohos.bluetooth.d.ts
Deprecated version changed Class name: bluetooth
Method or attribute name: function setLocalName(name: string): boolean;
Deprecated version: N/A
Class name: bluetooth
Method or attribute name: function setLocalName(name: string): boolean;
Deprecated version: 9
Substitute API: ohos.bluetoothManager/bluetoothManager.setLocalName
@ohos.bluetooth.d.ts
Deprecated version changed Class name: bluetooth
Method or attribute name: function setBluetoothScanMode(mode: ScanMode, duration: number): boolean;
Deprecated version: N/A
Class name: bluetooth
Method or attribute name: function setBluetoothScanMode(mode: ScanMode, duration: number): boolean;
Deprecated version: 9
Substitute API: ohos.bluetoothManager/bluetoothManager.setBluetoothScanMode
@ohos.bluetooth.d.ts
Deprecated version changed Class name: bluetooth
Method or attribute name: function getBluetoothScanMode(): ScanMode;
Deprecated version: N/A
Class name: bluetooth
Method or attribute name: function getBluetoothScanMode(): ScanMode;
Deprecated version: 9
Substitute API: ohos.bluetoothManager/bluetoothManager.getBluetoothScanMode
@ohos.bluetooth.d.ts
Deprecated version changed Class name: bluetooth
Method or attribute name: function startBluetoothDiscovery(): boolean;
Deprecated version: N/A
Class name: bluetooth
Method or attribute name: function startBluetoothDiscovery(): boolean;
Deprecated version: 9
Substitute API: ohos.bluetoothManager/bluetoothManager.startBluetoothDiscovery
@ohos.bluetooth.d.ts
Deprecated version changed Class name: bluetooth
Method or attribute name: function stopBluetoothDiscovery(): boolean;
Deprecated version: N/A
Class name: bluetooth
Method or attribute name: function stopBluetoothDiscovery(): boolean;
Deprecated version: 9
Substitute API: ohos.bluetoothManager/bluetoothManager.stopBluetoothDiscovery
@ohos.bluetooth.d.ts
Deprecated version changed Class name: bluetooth
Method or attribute name: function on(type: “bluetoothDeviceFind”, callback: Callback<Array<string>>): void;
Deprecated version: N/A
Class name: bluetooth
Method or attribute name: function on(type: “bluetoothDeviceFind”, callback: Callback<Array<string>>): void;
Deprecated version: 9
Substitute API: ohos.bluetoothManager/bluetoothManager.on
@ohos.bluetooth.d.ts
Deprecated version changed Class name: bluetooth
Method or attribute name: function off(type: “bluetoothDeviceFind”, callback?: Callback<Array<string>>): void;
Deprecated version: N/A
Class name: bluetooth
Method or attribute name: function off(type: “bluetoothDeviceFind”, callback?: Callback<Array<string>>): void;
Deprecated version: 9
Substitute API: ohos.bluetoothManager/bluetoothManager.off
@ohos.bluetooth.d.ts
Deprecated version changed Class name: bluetooth
Method or attribute name: function on(type: “bondStateChange”, callback: Callback<BondStateParam>): void;
Deprecated version: N/A
Class name: bluetooth
Method or attribute name: function on(type: “bondStateChange”, callback: Callback<BondStateParam>): void;
Deprecated version: 9
Substitute API: ohos.bluetoothManager/bluetoothManager.on
@ohos.bluetooth.d.ts
Deprecated version changed Class name: bluetooth
Method or attribute name: function off(type: “bondStateChange”, callback?: Callback<BondStateParam>): void;
Deprecated version: N/A
Class name: bluetooth
Method or attribute name: function off(type: “bondStateChange”, callback?: Callback<BondStateParam>): void;
Deprecated version: 9
Substitute API: ohos.bluetoothManager/bluetoothManager.off
@ohos.bluetooth.d.ts
Deprecated version changed Class name: bluetooth
Method or attribute name: function on(type: “pinRequired”, callback: Callback<PinRequiredParam>): void;
Deprecated version: N/A
Class name: bluetooth
Method or attribute name: function on(type: “pinRequired”, callback: Callback<PinRequiredParam>): void;
Deprecated version: 9
Substitute API: ohos.bluetoothManager/bluetoothManager.on
@ohos.bluetooth.d.ts
Deprecated version changed Class name: bluetooth
Method or attribute name: function off(type: “pinRequired”, callback?: Callback<PinRequiredParam>): void;
Deprecated version: N/A
Class name: bluetooth
Method or attribute name: function off(type: “pinRequired”, callback?: Callback<PinRequiredParam>): void;
Deprecated version: 9
Substitute API: ohos.bluetoothManager/bluetoothManager.off
@ohos.bluetooth.d.ts
Deprecated version changed Class name: bluetooth
Method or attribute name: function on(type: “stateChange”, callback: Callback<BluetoothState>): void;
Deprecated version: N/A
Class name: bluetooth
Method or attribute name: function on(type: “stateChange”, callback: Callback<BluetoothState>): void;
Deprecated version: 9
Substitute API: ohos.bluetoothManager/bluetoothManager.on
@ohos.bluetooth.d.ts
Deprecated version changed Class name: bluetooth
Method or attribute name: function off(type: “stateChange”, callback?: Callback<BluetoothState>): void;
Deprecated version: N/A
Class name: bluetooth
Method or attribute name: function off(type: “stateChange”, callback?: Callback<BluetoothState>): void;
Deprecated version: 9
Substitute API: ohos.bluetoothManager/bluetoothManager.off
@ohos.bluetooth.d.ts
Deprecated version changed Class name: bluetooth
Method or attribute name: function sppListen(name: string, option: SppOption, callback: AsyncCallback<number>): void;
Deprecated version: N/A
Class name: bluetooth
Method or attribute name: function sppListen(name: string, option: SppOption, callback: AsyncCallback<number>): void;
Deprecated version: 9
Substitute API: ohos.bluetoothManager/bluetoothManager.sppListen
@ohos.bluetooth.d.ts
Deprecated version changed Class name: bluetooth
Method or attribute name: function sppAccept(serverSocket: number, callback: AsyncCallback<number>): void;
Deprecated version: N/A
Class name: bluetooth
Method or attribute name: function sppAccept(serverSocket: number, callback: AsyncCallback<number>): void;
Deprecated version: 9
Substitute API: ohos.bluetoothManager/bluetoothManager.sppAccept
@ohos.bluetooth.d.ts
Deprecated version changed Class name: bluetooth
Method or attribute name: function sppConnect(device: string, option: SppOption, callback: AsyncCallback<number>): void;
Deprecated version: N/A
Class name: bluetooth
Method or attribute name: function sppConnect(device: string, option: SppOption, callback: AsyncCallback<number>): void;
Deprecated version: 9
Substitute API: ohos.bluetoothManager/bluetoothManager.sppConnect
@ohos.bluetooth.d.ts
Deprecated version changed Class name: bluetooth
Method or attribute name: function sppCloseServerSocket(socket: number): void;
Deprecated version: N/A
Class name: bluetooth
Method or attribute name: function sppCloseServerSocket(socket: number): void;
Deprecated version: 9
Substitute API: ohos.bluetoothManager/bluetoothManager.sppCloseServerSocket
@ohos.bluetooth.d.ts
Deprecated version changed Class name: bluetooth
Method or attribute name: function sppCloseClientSocket(socket: number): void;
Deprecated version: N/A
Class name: bluetooth
Method or attribute name: function sppCloseClientSocket(socket: number): void;
Deprecated version: 9
Substitute API: ohos.bluetoothManager/bluetoothManager.sppCloseClientSocket
@ohos.bluetooth.d.ts
Deprecated version changed Class name: bluetooth
Method or attribute name: function sppWrite(clientSocket: number, data: ArrayBuffer): boolean;
Deprecated version: N/A
Class name: bluetooth
Method or attribute name: function sppWrite(clientSocket: number, data: ArrayBuffer): boolean;
Deprecated version: 9
Substitute API: ohos.bluetoothManager/bluetoothManager.sppWrite
@ohos.bluetooth.d.ts
Deprecated version changed Class name: bluetooth
Method or attribute name: function on(type: “sppRead”, clientSocket: number, callback: Callback<ArrayBuffer>): void;
Deprecated version: N/A
Class name: bluetooth
Method or attribute name: function on(type: “sppRead”, clientSocket: number, callback: Callback<ArrayBuffer>): void;
Deprecated version: 9
Substitute API: ohos.bluetoothManager/bluetoothManager.on
@ohos.bluetooth.d.ts
Deprecated version changed Class name: bluetooth
Method or attribute name: function off(type: “sppRead”, clientSocket: number, callback?: Callback<ArrayBuffer>): void;
Deprecated version: N/A
Class name: bluetooth
Method or attribute name: function off(type: “sppRead”, clientSocket: number, callback?: Callback<ArrayBuffer>): void;
Deprecated version: 9
Substitute API: ohos.bluetoothManager/bluetoothManager.off
@ohos.bluetooth.d.ts
Deprecated version changed Class name: bluetooth
Method or attribute name: function getProfile(profileId: ProfileId): A2dpSourceProfile |HandsFreeAudioGatewayProfile;
Deprecated version: N/A
Class name: bluetooth
Method or attribute name: function getProfile(profileId: ProfileId): A2dpSourceProfile |HandsFreeAudioGatewayProfile;
Deprecated version: 9
Substitute API: ohos.bluetoothManager/bluetoothManager.getProfileInstance
@ohos.bluetooth.d.ts
Deprecated version changed Class name: BaseProfile
Deprecated version: N/A
Class name: BaseProfile
Deprecated version: 9
Substitute API: ohos.bluetoothManager/bluetoothManager.BaseProfile
@ohos.bluetooth.d.ts
Deprecated version changed Class name: BaseProfile
Method or attribute name: getConnectionDevices(): Array<string>;
Deprecated version: N/A
Class name: BaseProfile
Method or attribute name: getConnectionDevices(): Array<string>;
Deprecated version: 9
Substitute API: ohos.bluetoothManager/bluetoothManager.BaseProfile
@ohos.bluetooth.d.ts
Deprecated version changed Class name: BaseProfile
Method or attribute name: getDeviceState(device: string): ProfileConnectionState;
Deprecated version: N/A
Class name: BaseProfile
Method or attribute name: getDeviceState(device: string): ProfileConnectionState;
Deprecated version: 9
Substitute API: ohos.bluetoothManager/bluetoothManager.BaseProfile
@ohos.bluetooth.d.ts
Deprecated version changed Class name: A2dpSourceProfile
Deprecated version: N/A
Class name: A2dpSourceProfile
Deprecated version: 9
Substitute API: ohos.bluetoothManager/bluetoothManager.A2dpSourceProfile
@ohos.bluetooth.d.ts
Deprecated version changed Class name: A2dpSourceProfile
Method or attribute name: connect(device: string): boolean;
Deprecated version: N/A
Class name: A2dpSourceProfile
Method or attribute name: connect(device: string): boolean;
Deprecated version: 9
Substitute API: ohos.bluetoothManager/bluetoothManager.A2dpSourceProfile
@ohos.bluetooth.d.ts
Deprecated version changed Class name: A2dpSourceProfile
Method or attribute name: disconnect(device: string): boolean;
Deprecated version: N/A
Class name: A2dpSourceProfile
Method or attribute name: disconnect(device: string): boolean;
Deprecated version: 9
Substitute API: ohos.bluetoothManager/bluetoothManager.A2dpSourceProfile
@ohos.bluetooth.d.ts
Deprecated version changed Class name: A2dpSourceProfile
Method or attribute name: on(type: “connectionStateChange”, callback: Callback<StateChangeParam>): void;
Deprecated version: N/A
Class name: A2dpSourceProfile
Method or attribute name: on(type: “connectionStateChange”, callback: Callback<StateChangeParam>): void;
Deprecated version: 9
Substitute API: ohos.bluetoothManager/bluetoothManager.A2dpSourceProfile.on
@ohos.bluetooth.d.ts
Deprecated version changed Class name: A2dpSourceProfile
Method or attribute name: off(type: “connectionStateChange”, callback?: Callback<StateChangeParam>): void;
Deprecated version: N/A
Class name: A2dpSourceProfile
Method or attribute name: off(type: “connectionStateChange”, callback?: Callback<StateChangeParam>): void;
Deprecated version: 9
Substitute API: ohos.bluetoothManager/bluetoothManager.A2dpSourceProfile.off
@ohos.bluetooth.d.ts
Deprecated version changed Class name: A2dpSourceProfile
Method or attribute name: getPlayingState(device: string): PlayingState;
Deprecated version: N/A
Class name: A2dpSourceProfile
Method or attribute name: getPlayingState(device: string): PlayingState;
Deprecated version: 9
Substitute API: ohos.bluetoothManager/bluetoothManager.A2dpSourceProfile
@ohos.bluetooth.d.ts
Deprecated version changed Class name: HandsFreeAudioGatewayProfile
Deprecated version: N/A
Class name: HandsFreeAudioGatewayProfile
Deprecated version: 9
Substitute API: ohos.bluetoothManager/bluetoothManager.HandsFreeAudioGatewayProfile
@ohos.bluetooth.d.ts
Deprecated version changed Class name: HandsFreeAudioGatewayProfile
Method or attribute name: connect(device: string): boolean;
Deprecated version: N/A
Class name: HandsFreeAudioGatewayProfile
Method or attribute name: connect(device: string): boolean;
Deprecated version: 9
Substitute API: ohos.bluetoothManager/bluetoothManager.HandsFreeAudioGatewayProfile
@ohos.bluetooth.d.ts
Deprecated version changed Class name: HandsFreeAudioGatewayProfile
Method or attribute name: disconnect(device: string): boolean;
Deprecated version: N/A
Class name: HandsFreeAudioGatewayProfile
Method or attribute name: disconnect(device: string): boolean;
Deprecated version: 9
Substitute API: ohos.bluetoothManager/bluetoothManager.HandsFreeAudioGatewayProfile
@ohos.bluetooth.d.ts
Deprecated version changed Class name: HandsFreeAudioGatewayProfile
Method or attribute name: on(type: “connectionStateChange”, callback: Callback<StateChangeParam>): void;
Deprecated version: N/A
Class name: HandsFreeAudioGatewayProfile
Method or attribute name: on(type: “connectionStateChange”, callback: Callback<StateChangeParam>): void;
Deprecated version: 9
Substitute API: ohos.bluetoothManager/bluetoothManager.HandsFreeAudioGatewayProfile.on
@ohos.bluetooth.d.ts
Deprecated version changed Class name: HandsFreeAudioGatewayProfile
Method or attribute name: off(type: “connectionStateChange”, callback?: Callback<StateChangeParam>): void;
Deprecated version: N/A
Class name: HandsFreeAudioGatewayProfile
Method or attribute name: off(type: “connectionStateChange”, callback?: Callback<StateChangeParam>): void;
Deprecated version: 9
Substitute API: ohos.bluetoothManager/bluetoothManager.HandsFreeAudioGatewayProfile.off
@ohos.bluetooth.d.ts
Deprecated version changed Class name: BLE
Method or attribute name: function createGattServer(): GattServer;
Deprecated version: N/A
Class name: BLE
Method or attribute name: function createGattServer(): GattServer;
Deprecated version: 9
Substitute API: ohos.bluetoothManager/bluetoothManager.BLE.createGattServer
@ohos.bluetooth.d.ts
Deprecated version changed Class name: BLE
Method or attribute name: function createGattClientDevice(deviceId: string): GattClientDevice;
Deprecated version: N/A
Class name: BLE
Method or attribute name: function createGattClientDevice(deviceId: string): GattClientDevice;
Deprecated version: 9
Substitute API: ohos.bluetoothManager/bluetoothManager.BLE.createGattClientDevice
@ohos.bluetooth.d.ts
Deprecated version changed Class name: BLE
Method or attribute name: function getConnectedBLEDevices(): Array<string>;
Deprecated version: N/A
Class name: BLE
Method or attribute name: function getConnectedBLEDevices(): Array<string>;
Deprecated version: 9
Substitute API: ohos.bluetoothManager/bluetoothManager.BLE.getConnectedBLEDevices
@ohos.bluetooth.d.ts
Deprecated version changed Class name: BLE
Method or attribute name: function startBLEScan(filters: Array<ScanFilter>, options?: ScanOptions): void;
Deprecated version: N/A
Class name: BLE
Method or attribute name: function startBLEScan(filters: Array<ScanFilter>, options?: ScanOptions): void;
Deprecated version: 9
Substitute API: ohos.bluetoothManager/bluetoothManager.BLE.startBLEScan
@ohos.bluetooth.d.ts
Deprecated version changed Class name: BLE
Method or attribute name: function stopBLEScan(): void;
Deprecated version: N/A
Class name: BLE
Method or attribute name: function stopBLEScan(): void;
Deprecated version: 9
Substitute API: ohos.bluetoothManager/bluetoothManager.BLE.stopBLEScan
@ohos.bluetooth.d.ts
Deprecated version changed Class name: BLE
Method or attribute name: function on(type: “BLEDeviceFind”, callback: Callback<Array<ScanResult>>): void;
Deprecated version: N/A
Class name: BLE
Method or attribute name: function on(type: “BLEDeviceFind”, callback: Callback<Array<ScanResult>>): void;
Deprecated version: 9
Substitute API: ohos.bluetoothManager/bluetoothManager.BLE.on
@ohos.bluetooth.d.ts
Deprecated version changed Class name: BLE
Method or attribute name: function off(type: “BLEDeviceFind”, callback?: Callback<Array<ScanResult>>): void;
Deprecated version: N/A
Class name: BLE
Method or attribute name: function off(type: “BLEDeviceFind”, callback?: Callback<Array<ScanResult>>): void;
Deprecated version: 9
Substitute API: ohos.bluetoothManager/bluetoothManager.BLE.off
@ohos.bluetooth.d.ts
Deprecated version changed Class name: GattServer
Deprecated version: N/A
Class name: GattServer
Deprecated version: 9
Substitute API: ohos.bluetoothManager/bluetoothManager.GattServer
@ohos.bluetooth.d.ts
Deprecated version changed Class name: GattServer
Method or attribute name: startAdvertising(setting: AdvertiseSetting, advData: AdvertiseData, advResponse?: AdvertiseData): void;
Deprecated version: N/A
Class name: GattServer
Method or attribute name: startAdvertising(setting: AdvertiseSetting, advData: AdvertiseData, advResponse?: AdvertiseData): void;
Deprecated version: 9
Substitute API: ohos.bluetoothManager/bluetoothManager.GattServer
@ohos.bluetooth.d.ts
Deprecated version changed Class name: GattServer
Method or attribute name: stopAdvertising(): void;
Deprecated version: N/A
Class name: GattServer
Method or attribute name: stopAdvertising(): void;
Deprecated version: 9
Substitute API: ohos.bluetoothManager/bluetoothManager.GattServer
@ohos.bluetooth.d.ts
Deprecated version changed Class name: GattServer
Method or attribute name: addService(service: GattService): boolean;
Deprecated version: N/A
Class name: GattServer
Method or attribute name: addService(service: GattService): boolean;
Deprecated version: 9
Substitute API: ohos.bluetoothManager/bluetoothManager.GattServer
@ohos.bluetooth.d.ts
Deprecated version changed Class name: GattServer
Method or attribute name: removeService(serviceUuid: string): boolean;
Deprecated version: N/A
Class name: GattServer
Method or attribute name: removeService(serviceUuid: string): boolean;
Deprecated version: 9
Substitute API: ohos.bluetoothManager/bluetoothManager.GattServer
@ohos.bluetooth.d.ts
Deprecated version changed Class name: GattServer
Method or attribute name: close(): void;
Deprecated version: N/A
Class name: GattServer
Method or attribute name: close(): void;
Deprecated version: 9
Substitute API: ohos.bluetoothManager/bluetoothManager.GattServer
@ohos.bluetooth.d.ts
Deprecated version changed Class name: GattServer
Method or attribute name: notifyCharacteristicChanged(deviceId: string, notifyCharacteristic: NotifyCharacteristic): boolean;
Deprecated version: N/A
Class name: GattServer
Method or attribute name: notifyCharacteristicChanged(deviceId: string, notifyCharacteristic: NotifyCharacteristic): boolean;
Deprecated version: 9
Substitute API: ohos.bluetoothManager/bluetoothManager.GattServer
@ohos.bluetooth.d.ts
Deprecated version changed Class name: GattServer
Method or attribute name: sendResponse(serverResponse: ServerResponse): boolean;
Deprecated version: N/A
Class name: GattServer
Method or attribute name: sendResponse(serverResponse: ServerResponse): boolean;
Deprecated version: 9
Substitute API: ohos.bluetoothManager/bluetoothManager.GattServer
@ohos.bluetooth.d.ts
Deprecated version changed Class name: GattServer
Method or attribute name: on(type: “characteristicRead”, callback: Callback<CharacteristicReadReq>): void;
Deprecated version: N/A
Class name: GattServer
Method or attribute name: on(type: “characteristicRead”, callback: Callback<CharacteristicReadReq>): void;
Deprecated version: 9
Substitute API: ohos.bluetoothManager/bluetoothManager.GattServer
@ohos.bluetooth.d.ts
Deprecated version changed Class name: GattServer
Method or attribute name: off(type: “characteristicRead”, callback?: Callback<CharacteristicReadReq>): void;
Deprecated version: N/A
Class name: GattServer
Method or attribute name: off(type: “characteristicRead”, callback?: Callback<CharacteristicReadReq>): void;
Deprecated version: 9
Substitute API: ohos.bluetoothManager/bluetoothManager.GattServer
@ohos.bluetooth.d.ts
Deprecated version changed Class name: GattServer
Method or attribute name: on(type: “characteristicWrite”, callback: Callback<CharacteristicWriteReq>): void;
Deprecated version: N/A
Class name: GattServer
Method or attribute name: on(type: “characteristicWrite”, callback: Callback<CharacteristicWriteReq>): void;
Deprecated version: 9
Substitute API: ohos.bluetoothManager/bluetoothManager.GattServer
@ohos.bluetooth.d.ts
Deprecated version changed Class name: GattServer
Method or attribute name: off(type: “characteristicWrite”, callback?: Callback<CharacteristicWriteReq>): void;
Deprecated version: N/A
Class name: GattServer
Method or attribute name: off(type: “characteristicWrite”, callback?: Callback<CharacteristicWriteReq>): void;
Deprecated version: 9
Substitute API: ohos.bluetoothManager/bluetoothManager.GattServer
@ohos.bluetooth.d.ts
Deprecated version changed Class name: GattServer
Method or attribute name: on(type: “descriptorRead”, callback: Callback<DescriptorReadReq>): void;
Deprecated version: N/A
Class name: GattServer
Method or attribute name: on(type: “descriptorRead”, callback: Callback<DescriptorReadReq>): void;
Deprecated version: 9
Substitute API: ohos.bluetoothManager/bluetoothManager.GattServer
@ohos.bluetooth.d.ts
Deprecated version changed Class name: GattServer
Method or attribute name: off(type: “descriptorRead”, callback?: Callback<DescriptorReadReq>): void;
Deprecated version: N/A
Class name: GattServer
Method or attribute name: off(type: “descriptorRead”, callback?: Callback<DescriptorReadReq>): void;
Deprecated version: 9
Substitute API: ohos.bluetoothManager/bluetoothManager.GattServer
@ohos.bluetooth.d.ts
Deprecated version changed Class name: GattServer
Method or attribute name: on(type: “descriptorWrite”, callback: Callback<DescriptorWriteReq>): void;
Deprecated version: N/A
Class name: GattServer
Method or attribute name: on(type: “descriptorWrite”, callback: Callback<DescriptorWriteReq>): void;
Deprecated version: 9
Substitute API: ohos.bluetoothManager/bluetoothManager.GattServer
@ohos.bluetooth.d.ts
Deprecated version changed Class name: GattServer
Method or attribute name: off(type: “descriptorWrite”, callback?: Callback<DescriptorWriteReq>): void;
Deprecated version: N/A
Class name: GattServer
Method or attribute name: off(type: “descriptorWrite”, callback?: Callback<DescriptorWriteReq>): void;
Deprecated version: 9
Substitute API: ohos.bluetoothManager/bluetoothManager.GattServer
@ohos.bluetooth.d.ts
Deprecated version changed Class name: GattServer
Method or attribute name: on(type: “connectStateChange”, callback: Callback<BLEConnectChangedState>): void;
Deprecated version: N/A
Class name: GattServer
Method or attribute name: on(type: “connectStateChange”, callback: Callback<BLEConnectChangedState>): void;
Deprecated version: 9
Substitute API: ohos.bluetoothManager/bluetoothManager.GattServer
@ohos.bluetooth.d.ts
Deprecated version changed Class name: GattServer
Method or attribute name: off(type: “connectStateChange”, callback?: Callback<BLEConnectChangedState>): void;
Deprecated version: N/A
Class name: GattServer
Method or attribute name: off(type: “connectStateChange”, callback?: Callback<BLEConnectChangedState>): void;
Deprecated version: 9
Substitute API: ohos.bluetoothManager/bluetoothManager.GattServer
@ohos.bluetooth.d.ts
Deprecated version changed Class name: GattClientDevice
Deprecated version: N/A
Class name: GattClientDevice
Deprecated version: 9
Substitute API: ohos.bluetoothManager/bluetoothManager.GattClientDevice
@ohos.bluetooth.d.ts
Deprecated version changed Class name: GattClientDevice
Method or attribute name: connect(): boolean;
Deprecated version: N/A
Class name: GattClientDevice
Method or attribute name: connect(): boolean;
Deprecated version: 9
Substitute API: ohos.bluetoothManager/bluetoothManager.GattClientDevice
@ohos.bluetooth.d.ts
Deprecated version changed Class name: GattClientDevice
Method or attribute name: disconnect(): boolean;
Deprecated version: N/A
Class name: GattClientDevice
Method or attribute name: disconnect(): boolean;
Deprecated version: 9
Substitute API: ohos.bluetoothManager/bluetoothManager.GattClientDevice
@ohos.bluetooth.d.ts
Deprecated version changed Class name: GattClientDevice
Method or attribute name: close(): boolean;
Deprecated version: N/A
Class name: GattClientDevice
Method or attribute name: close(): boolean;
Deprecated version: 9
Substitute API: ohos.bluetoothManager/bluetoothManager.GattClientDevice
@ohos.bluetooth.d.ts
Deprecated version changed Class name: GattClientDevice
Method or attribute name: getDeviceName(callback: AsyncCallback<string>): void;
Deprecated version: N/A
Class name: GattClientDevice
Method or attribute name: getDeviceName(callback: AsyncCallback<string>): void;
Deprecated version: 9
Substitute API: ohos.bluetoothManager/bluetoothManager.GattClientDevice
@ohos.bluetooth.d.ts
Deprecated version changed Class name: GattClientDevice
Method or attribute name: getDeviceName(): Promise<string>;
Deprecated version: N/A
Class name: GattClientDevice
Method or attribute name: getDeviceName(): Promise<string>;
Deprecated version: 9
Substitute API: ohos.bluetoothManager/bluetoothManager.GattClientDevice
@ohos.bluetooth.d.ts
Deprecated version changed Class name: GattClientDevice
Method or attribute name: getServices(callback: AsyncCallback<Array<GattService>>): void;
Deprecated version: N/A
Class name: GattClientDevice
Method or attribute name: getServices(callback: AsyncCallback<Array<GattService>>): void;
Deprecated version: 9
Substitute API: ohos.bluetoothManager/bluetoothManager.GattClientDevice
@ohos.bluetooth.d.ts
Deprecated version changed Class name: GattClientDevice
Method or attribute name: getServices(): Promise<Array<GattService>>;
Deprecated version: N/A
Class name: GattClientDevice
Method or attribute name: getServices(): Promise<Array<GattService>>;
Deprecated version: 9
Substitute API: ohos.bluetoothManager/bluetoothManager.GattClientDevice
@ohos.bluetooth.d.ts
Deprecated version changed Class name: GattClientDevice
Method or attribute name: readCharacteristicValue(characteristic: BLECharacteristic, callback: AsyncCallback<BLECharacteristic>): void;
Deprecated version: N/A
Class name: GattClientDevice
Method or attribute name: readCharacteristicValue(characteristic: BLECharacteristic, callback: AsyncCallback<BLECharacteristic>): void;
Deprecated version: 9
Substitute API: ohos.bluetoothManager/bluetoothManager.GattClientDevice
@ohos.bluetooth.d.ts
Deprecated version changed Class name: GattClientDevice
Method or attribute name: readCharacteristicValue(characteristic: BLECharacteristic): Promise<BLECharacteristic>;
Deprecated version: N/A
Class name: GattClientDevice
Method or attribute name: readCharacteristicValue(characteristic: BLECharacteristic): Promise<BLECharacteristic>;
Deprecated version: 9
Substitute API: ohos.bluetoothManager/bluetoothManager.GattClientDevice
@ohos.bluetooth.d.ts
Deprecated version changed Class name: GattClientDevice
Method or attribute name: readDescriptorValue(descriptor: BLEDescriptor, callback: AsyncCallback<BLEDescriptor>): void;
Deprecated version: N/A
Class name: GattClientDevice
Method or attribute name: readDescriptorValue(descriptor: BLEDescriptor, callback: AsyncCallback<BLEDescriptor>): void;
Deprecated version: 9
Substitute API: ohos.bluetoothManager/bluetoothManager.GattClientDevice
@ohos.bluetooth.d.ts
Deprecated version changed Class name: GattClientDevice
Method or attribute name: readDescriptorValue(descriptor: BLEDescriptor): Promise<BLEDescriptor>;
Deprecated version: N/A
Class name: GattClientDevice
Method or attribute name: readDescriptorValue(descriptor: BLEDescriptor): Promise<BLEDescriptor>;
Deprecated version: 9
Substitute API: ohos.bluetoothManager/bluetoothManager.GattClientDevice
@ohos.bluetooth.d.ts
Deprecated version changed Class name: GattClientDevice
Method or attribute name: writeCharacteristicValue(characteristic: BLECharacteristic): boolean;
Deprecated version: N/A
Class name: GattClientDevice
Method or attribute name: writeCharacteristicValue(characteristic: BLECharacteristic): boolean;
Deprecated version: 9
Substitute API: ohos.bluetoothManager/bluetoothManager.GattClientDevice
@ohos.bluetooth.d.ts
Deprecated version changed Class name: GattClientDevice
Method or attribute name: writeDescriptorValue(descriptor: BLEDescriptor): boolean;
Deprecated version: N/A
Class name: GattClientDevice
Method or attribute name: writeDescriptorValue(descriptor: BLEDescriptor): boolean;
Deprecated version: 9
Substitute API: ohos.bluetoothManager/bluetoothManager.GattClientDevice
@ohos.bluetooth.d.ts
Deprecated version changed Class name: GattClientDevice
Method or attribute name: getRssiValue(callback: AsyncCallback<number>): void;
Deprecated version: N/A
Class name: GattClientDevice
Method or attribute name: getRssiValue(callback: AsyncCallback<number>): void;
Deprecated version: 9
Substitute API: ohos.bluetoothManager/bluetoothManager.GattClientDevice
@ohos.bluetooth.d.ts
Deprecated version changed Class name: GattClientDevice
Method or attribute name: getRssiValue(): Promise<number>;
Deprecated version: N/A
Class name: GattClientDevice
Method or attribute name: getRssiValue(): Promise<number>;
Deprecated version: 9
Substitute API: ohos.bluetoothManager/bluetoothManager.GattClientDevice
@ohos.bluetooth.d.ts
Deprecated version changed Class name: GattClientDevice
Method or attribute name: setBLEMtuSize(mtu: number): boolean;
Deprecated version: N/A
Class name: GattClientDevice
Method or attribute name: setBLEMtuSize(mtu: number): boolean;
Deprecated version: 9
Substitute API: ohos.bluetoothManager/bluetoothManager.GattClientDevice
@ohos.bluetooth.d.ts
Deprecated version changed Class name: GattClientDevice
Method or attribute name: setNotifyCharacteristicChanged(characteristic: BLECharacteristic, enable: boolean): boolean;
Deprecated version: N/A
Class name: GattClientDevice
Method or attribute name: setNotifyCharacteristicChanged(characteristic: BLECharacteristic, enable: boolean): boolean;
Deprecated version: 9
Substitute API: ohos.bluetoothManager/bluetoothManager.GattClientDevice
@ohos.bluetooth.d.ts
Deprecated version changed Class name: GattClientDevice
Method or attribute name: on(type: “BLECharacteristicChange”, callback: Callback<BLECharacteristic>): void;
Deprecated version: N/A
Class name: GattClientDevice
Method or attribute name: on(type: “BLECharacteristicChange”, callback: Callback<BLECharacteristic>): void;
Deprecated version: 9
Substitute API: ohos.bluetoothManager/bluetoothManager.GattClientDevice
@ohos.bluetooth.d.ts
Deprecated version changed Class name: GattClientDevice
Method or attribute name: off(type: “BLECharacteristicChange”, callback?: Callback<BLECharacteristic>): void;
Deprecated version: N/A
Class name: GattClientDevice
Method or attribute name: off(type: “BLECharacteristicChange”, callback?: Callback<BLECharacteristic>): void;
Deprecated version: 9
Substitute API: ohos.bluetoothManager/bluetoothManager.GattClientDevice
@ohos.bluetooth.d.ts
Deprecated version changed Class name: GattClientDevice
Method or attribute name: on(type: “BLEConnectionStateChange”, callback: Callback<BLEConnectChangedState>): void;
Deprecated version: N/A
Class name: GattClientDevice
Method or attribute name: on(type: “BLEConnectionStateChange”, callback: Callback<BLEConnectChangedState>): void;
Deprecated version: 9
Substitute API: ohos.bluetoothManager/bluetoothManager.GattClientDevice
@ohos.bluetooth.d.ts
Deprecated version changed Class name: GattClientDevice
Method or attribute name: off(type: “BLEConnectionStateChange”, callback?: Callback<BLEConnectChangedState>): void;
Deprecated version: N/A
Class name: GattClientDevice
Method or attribute name: off(type: “BLEConnectionStateChange”, callback?: Callback<BLEConnectChangedState>): void;
Deprecated version: 9
Substitute API: ohos.bluetoothManager/bluetoothManager.GattClientDevice
@ohos.bluetooth.d.ts
Deprecated version changed Class name: GattService
Deprecated version: N/A
Class name: GattService
Deprecated version: 9
Substitute API: ohos.bluetoothManager/bluetoothManager.GattService
@ohos.bluetooth.d.ts
Deprecated version changed Class name: BLECharacteristic
Deprecated version: N/A
Class name: BLECharacteristic
Deprecated version: 9
Substitute API: ohos.bluetoothManager/bluetoothManager.BLECharacteristic
@ohos.bluetooth.d.ts
Deprecated version changed Class name: BLEDescriptor
Deprecated version: N/A
Class name: BLEDescriptor
Deprecated version: 9
Substitute API: ohos.bluetoothManager/bluetoothManager.BLEDescriptor
@ohos.bluetooth.d.ts
Deprecated version changed Class name: NotifyCharacteristic
Deprecated version: N/A
Class name: NotifyCharacteristic
Deprecated version: 9
Substitute API: ohos.bluetoothManager/bluetoothManager.NotifyCharacteristic
@ohos.bluetooth.d.ts
Deprecated version changed Class name: CharacteristicReadReq
Deprecated version: N/A
Class name: CharacteristicReadReq
Deprecated version: 9
Substitute API: ohos.bluetoothManager/bluetoothManager.CharacteristicReadRequest
@ohos.bluetooth.d.ts
Deprecated version changed Class name: CharacteristicWriteReq
Deprecated version: N/A
Class name: CharacteristicWriteReq
Deprecated version: 9
Substitute API: ohos.bluetoothManager/bluetoothManager.CharacteristicWriteRequest
@ohos.bluetooth.d.ts
Deprecated version changed Class name: DescriptorReadReq
Deprecated version: N/A
Class name: DescriptorReadReq
Deprecated version: 9
Substitute API: ohos.bluetoothManager/bluetoothManager.DescriptorReadRequest
@ohos.bluetooth.d.ts
Deprecated version changed Class name: DescriptorWriteReq
Deprecated version: N/A
Class name: DescriptorWriteReq
Deprecated version: 9
Substitute API: ohos.bluetoothManager/bluetoothManager.DescriptorWriteRequest
@ohos.bluetooth.d.ts
Deprecated version changed Class name: ServerResponse
Deprecated version: N/A
Class name: ServerResponse
Deprecated version: 9
Substitute API: ohos.bluetoothManager/bluetoothManager.ServerResponse
@ohos.bluetooth.d.ts
Deprecated version changed Class name: BLEConnectChangedState
Deprecated version: N/A
Class name: BLEConnectChangedState
Deprecated version: 9
Substitute API: ohos.bluetoothManager/bluetoothManager.BLEConnectChangedState
@ohos.bluetooth.d.ts
Deprecated version changed Class name: ScanResult
Deprecated version: N/A
Class name: ScanResult
Deprecated version: 9
Substitute API: ohos.bluetoothManager/bluetoothManager.ScanResult
@ohos.bluetooth.d.ts
Deprecated version changed Class name: AdvertiseSetting
Deprecated version: N/A
Class name: AdvertiseSetting
Deprecated version: 9
Substitute API: ohos.bluetoothManager/bluetoothManager.AdvertiseSetting
@ohos.bluetooth.d.ts
Deprecated version changed Class name: AdvertiseData
Deprecated version: N/A
Class name: AdvertiseData
Deprecated version: 9
Substitute API: ohos.bluetoothManager/bluetoothManager.AdvertiseData
@ohos.bluetooth.d.ts
Deprecated version changed Class name: ManufactureData
Deprecated version: N/A
Class name: ManufactureData
Deprecated version: 9
Substitute API: ohos.bluetoothManager/bluetoothManager.ManufactureData
@ohos.bluetooth.d.ts
Deprecated version changed Class name: ServiceData
Deprecated version: N/A
Class name: ServiceData
Deprecated version: 9
Substitute API: ohos.bluetoothManager/bluetoothManager.ServiceData
@ohos.bluetooth.d.ts
Deprecated version changed Class name: ScanFilter
Deprecated version: N/A
Class name: ScanFilter
Deprecated version: 9
Substitute API: ohos.bluetoothManager/bluetoothManager.ScanFilter
@ohos.bluetooth.d.ts
Deprecated version changed Class name: ScanOptions
Deprecated version: N/A
Class name: ScanOptions
Deprecated version: 9
Substitute API: ohos.bluetoothManager/bluetoothManager.ScanOptions
@ohos.bluetooth.d.ts
Deprecated version changed Class name: SppOption
Deprecated version: N/A
Class name: SppOption
Deprecated version: 9
Substitute API: ohos.bluetoothManager/bluetoothManager.SppOption
@ohos.bluetooth.d.ts
Deprecated version changed Class name: PinRequiredParam
Deprecated version: N/A
Class name: PinRequiredParam
Deprecated version: 9
Substitute API: ohos.bluetoothManager/bluetoothManager.PinRequiredParam
@ohos.bluetooth.d.ts
Deprecated version changed Class name: DeviceClass
Deprecated version: N/A
Class name: DeviceClass
Deprecated version: 9
Substitute API: ohos.bluetoothManager/bluetoothManager.DeviceClass
@ohos.bluetooth.d.ts
Deprecated version changed Class name: BondStateParam
Deprecated version: N/A
Class name: BondStateParam
Deprecated version: 9
Substitute API: ohos.bluetoothManager/bluetoothManager.BondStateParam
@ohos.bluetooth.d.ts
Deprecated version changed Class name: ScanDuty
Deprecated version: N/A
Class name: ScanDuty
Deprecated version: 9
Substitute API: ohos.bluetoothManager/bluetoothManager.ScanDuty
@ohos.bluetooth.d.ts
Deprecated version changed Class name: MatchMode
Deprecated version: N/A
Class name: MatchMode
Deprecated version: 9
Substitute API: ohos.bluetoothManager/bluetoothManager.MatchMode
@ohos.bluetooth.d.ts
Deprecated version changed Class name: ProfileConnectionState
Deprecated version: N/A
Class name: ProfileConnectionState
Deprecated version: 9
Substitute API: ohos.bluetoothManager/bluetoothManager.ProfileConnectionState
@ohos.bluetooth.d.ts
Deprecated version changed Class name: BluetoothState
Deprecated version: N/A
Class name: BluetoothState
Deprecated version: 9
Substitute API: ohos.bluetoothManager/bluetoothManager.BluetoothState
@ohos.bluetooth.d.ts
Deprecated version changed Class name: SppType
Deprecated version: N/A
Class name: SppType
Deprecated version: 9
Substitute API: ohos.bluetoothManager/bluetoothManager.SppType
@ohos.bluetooth.d.ts
Deprecated version changed Class name: ScanMode
Deprecated version: N/A
Class name: ScanMode
Deprecated version: 9
Substitute API: ohos.bluetoothManager/bluetoothManager.ScanMode
@ohos.bluetooth.d.ts
Deprecated version changed Class name: BondState
Deprecated version: N/A
Class name: BondState
Deprecated version: 9
Substitute API: ohos.bluetoothManager/bluetoothManager.BondState
@ohos.bluetooth.d.ts
Deprecated version changed Class name: MajorClass
Deprecated version: N/A
Class name: MajorClass
Deprecated version: 9
Substitute API: ohos.bluetoothManager/bluetoothManager.MajorClass
@ohos.bluetooth.d.ts
Deprecated version changed Class name: MajorMinorClass
Deprecated version: N/A
Class name: MajorMinorClass
Deprecated version: 9
Substitute API: ohos.bluetoothManager/bluetoothManager.MajorMinorClass
@ohos.bluetooth.d.ts
Deprecated version changed Class name: StateChangeParam
Deprecated version: N/A
Class name: StateChangeParam
Deprecated version: 9
Substitute API: ohos.bluetoothManager/bluetoothManager.StateChangeParam
@ohos.bluetooth.d.ts
Deprecated version changed Class name: PlayingState
Deprecated version: N/A
Class name: PlayingState
Deprecated version: 9
Substitute API: ohos.bluetoothManager/bluetoothManager.PlayingState
@ohos.bluetooth.d.ts
Deprecated version changed Class name: ProfileId
Deprecated version: N/A
Class name: ProfileId
Deprecated version: 9
Substitute API: ohos.bluetoothManager/bluetoothManager.ProfileId
@ohos.bluetooth.d.ts
Permission changed Class name: connection
Method or attribute name: function getAddressesByName(host: string, callback: AsyncCallback<Array<NetAddress>>): void;
Permission: ohos.permission.GET_NETWORK_INFO
Class name: connection
Method or attribute name: function getAddressesByName(host: string, callback: AsyncCallback<Array<NetAddress>>): void;
Permission: ohos.permission.INTERNET
@ohos.net.connection.d.ts
Permission changed Class name: connection
Method or attribute name: function getAddressesByName(host: string): Promise<Array<NetAddress>>;
Permission: ohos.permission.GET_NETWORK_INFO
Class name: connection
Method or attribute name: function getAddressesByName(host: string): Promise<Array<NetAddress>>;
Permission: ohos.permission.INTERNET
@ohos.net.connection.d.ts
Permission changed Class name: NetHandle
Method or attribute name: getAddressesByName(host: string, callback: AsyncCallback<Array<NetAddress>>): void;
Permission: ohos.permission.GET_NETWORK_INFO
Class name: NetHandle
Method or attribute name: getAddressesByName(host: string, callback: AsyncCallback<Array<NetAddress>>): void;
Permission: ohos.permission.INTERNET
@ohos.net.connection.d.ts
Permission changed Class name: NetHandle
Method or attribute name: getAddressesByName(host: string): Promise<Array<NetAddress>>;
Permission: ohos.permission.GET_NETWORK_INFO
Class name: NetHandle
Method or attribute name: getAddressesByName(host: string): Promise<Array<NetAddress>>;
Permission: ohos.permission.INTERNET
@ohos.net.connection.d.ts
Permission changed Class name: NetHandle
Method or attribute name: getAddressByName(host: string, callback: AsyncCallback<NetAddress>): void;
Permission: ohos.permission.GET_NETWORK_INFO
Class name: NetHandle
Method or attribute name: getAddressByName(host: string, callback: AsyncCallback<NetAddress>): void;
Permission: ohos.permission.INTERNET
@ohos.net.connection.d.ts
Permission changed Class name: NetHandle
Method or attribute name: getAddressByName(host: string): Promise<NetAddress>;
Permission: ohos.permission.GET_NETWORK_INFO
Class name: NetHandle
Method or attribute name: getAddressByName(host: string): Promise<NetAddress>;
Permission: ohos.permission.INTERNET
@ohos.net.connection.d.ts
Error code added NA Class name: connection
Method or attribute name: function getDefaultNet(callback: AsyncCallback<NetHandle>): void;
Error code: 201, 2100002, 2100003
@ohos.net.connection.d.ts
Error code added NA Class name: connection
Method or attribute name: function getDefaultNet(): Promise<NetHandle>;
Error code: 201, 2100002, 2100003
@ohos.net.connection.d.ts
Error code added NA Class name: connection
Method or attribute name: function getAllNets(callback: AsyncCallback<Array<NetHandle>>): void;
Error code: 201, 2100002, 2100003
@ohos.net.connection.d.ts
Error code added NA Class name: connection
Method or attribute name: function getAllNets(): Promise<Array<NetHandle>>;
Error code: 201, 2100002, 2100003
@ohos.net.connection.d.ts
Error code added NA Class name: connection
Method or attribute name: function getConnectionProperties(netHandle: NetHandle, callback: AsyncCallback<ConnectionProperties>): void;
Error code: 201, 401, 2100001, 2100002, 2100003
@ohos.net.connection.d.ts
Error code added NA Class name: connection
Method or attribute name: function getConnectionProperties(netHandle: NetHandle): Promise<ConnectionProperties>;
Error code: 201, 401, 2100001, 2100002, 2100003
@ohos.net.connection.d.ts
Error code added NA Class name: connection
Method or attribute name: function getNetCapabilities(netHandle: NetHandle, callback: AsyncCallback<NetCapabilities>): void;
Error code: 201, 401, 2100001, 2100002, 2100003
@ohos.net.connection.d.ts
Error code added NA Class name: connection
Method or attribute name: function getNetCapabilities(netHandle: NetHandle): Promise<NetCapabilities>;
Error code: 201, 401, 2100001, 2100002, 2100003
@ohos.net.connection.d.ts
Error code added NA Class name: connection
Method or attribute name: function hasDefaultNet(callback: AsyncCallback<boolean>): void;
Error code: 201, 2100002, 2100003
@ohos.net.connection.d.ts
Error code added NA Class name: connection
Method or attribute name: function hasDefaultNet(): Promise<boolean>;
Error code: 201, 2100002, 2100003
@ohos.net.connection.d.ts
Error code added NA Class name: connection
Method or attribute name: function enableAirplaneMode(callback: AsyncCallback<void>): void;
Error code: 201, 2100002, 2100003
@ohos.net.connection.d.ts
Error code added NA Class name: connection
Method or attribute name: function enableAirplaneMode(): Promise<void>;
Error code: 201, 2100002, 2100003
@ohos.net.connection.d.ts
Error code added NA Class name: connection
Method or attribute name: function disableAirplaneMode(callback: AsyncCallback<void>): void;
Error code: 201, 2100002, 2100003
@ohos.net.connection.d.ts
Error code added NA Class name: connection
Method or attribute name: function disableAirplaneMode(): Promise<void>;
Error code: 201, 2100002, 2100003
@ohos.net.connection.d.ts
Error code added NA Class name: connection
Method or attribute name: function reportNetConnected(netHandle: NetHandle, callback: AsyncCallback<void>): void;
Error code: 201, 401, 2100001, 2100002, 2100003
@ohos.net.connection.d.ts
Error code added NA Class name: connection
Method or attribute name: function reportNetConnected(netHandle: NetHandle): Promise<void>;
Error code: 201, 401, 2100001, 2100002, 2100003
@ohos.net.connection.d.ts
Error code added NA Class name: connection
Method or attribute name: function reportNetDisconnected(netHandle: NetHandle, callback: AsyncCallback<void>): void;
Error code: 201, 401, 2100001, 2100002, 2100003
@ohos.net.connection.d.ts
Error code added NA Class name: connection
Method or attribute name: function reportNetDisconnected(netHandle: NetHandle): Promise<void>;
Error code: 201, 401, 2100001, 2100002, 2100003
@ohos.net.connection.d.ts
Error code added NA Class name: connection
Method or attribute name: function getAddressesByName(host: string, callback: AsyncCallback<Array<NetAddress>>): void;
Error code: 201, 401, 2100001, 2100002, 2100003
@ohos.net.connection.d.ts
Error code added NA Class name: connection
Method or attribute name: function getAddressesByName(host: string): Promise<Array<NetAddress>>;
Error code: 201, 401, 2100001, 2100002, 2100003
@ohos.net.connection.d.ts
Error code added NA Class name: NetConnection
Method or attribute name: register(callback: AsyncCallback<void>): void;
Error code: 201, 2100002, 2100003, 2101008, 2101022
@ohos.net.connection.d.ts
Error code added NA Class name: NetConnection
Method or attribute name: unregister(callback: AsyncCallback<void>): void;
Error code: 2100002, 2100003, 2101007
@ohos.net.connection.d.ts
Error code added NA Class name: NetHandle
Method or attribute name: bindSocket(socketParam: TCPSocket |UDPSocket, callback: AsyncCallback<void>): void;
Error code: 401, 2100001, 2100002, 2100003
@ohos.net.connection.d.ts
Error code added NA Class name: NetHandle
Method or attribute name: bindSocket(socketParam: TCPSocket |UDPSocket): Promise<void>;
Error code: 401, 2100001, 2100002, 2100003
@ohos.net.connection.d.ts
Error code added NA Class name: NetHandle
Method or attribute name: getAddressesByName(host: string, callback: AsyncCallback<Array<NetAddress>>): void;
Error code: 201, 401, 2100001, 2100002, 2100003
@ohos.net.connection.d.ts
Error code added NA Class name: NetHandle
Method or attribute name: getAddressesByName(host: string): Promise<Array<NetAddress>>;
Error code: 201, 401, 2100001, 2100002, 2100003
@ohos.net.connection.d.ts
Error code added NA Class name: NetHandle
Method or attribute name: getAddressByName(host: string, callback: AsyncCallback<NetAddress>): void;
Error code: 201, 401, 2100001, 2100002, 2100003
@ohos.net.connection.d.ts
Error code added NA Class name: NetHandle
Method or attribute name: getAddressByName(host: string): Promise<NetAddress>;
Error code: 201, 401, 2100001, 2100002, 2100003
@ohos.net.connection.d.ts
Error code added NA Class name: ethernet
Method or attribute name: function getIfaceConfig(iface: string, callback: AsyncCallback<InterfaceConfiguration>): void;
Error code: 201, 401, 2200001, 2200002, 2200003, 2201005
@ohos.net.ethernet.d.ts
Error code added NA Class name: ethernet
Method or attribute name: function getIfaceConfig(iface: string): Promise<InterfaceConfiguration>;
Error code: 201, 401, 2200001, 2200002, 2200003, 2201005
@ohos.net.ethernet.d.ts
Error code added NA Class name: ethernet
Method or attribute name: function setIfaceConfig(iface: string, ic: InterfaceConfiguration, callback: AsyncCallback<void>): void;
Error code: 201, 401, 2200001, 2200002, 2200003, 2201004, 2201005, 2201006, 2201007
@ohos.net.ethernet.d.ts
Error code added NA Class name: ethernet
Method or attribute name: function setIfaceConfig(iface: string, ic: InterfaceConfiguration): Promise<void>;
Error code: 201, 401, 2200001, 2200002, 2200003, 2201004, 2201005, 2201006, 2201007
@ohos.net.ethernet.d.ts
Error code added NA Class name: ethernet
Method or attribute name: function isIfaceActive(iface: string, callback: AsyncCallback<number>): void;
Error code: 201, 401, 2200001, 2200002, 2200003, 2201005
@ohos.net.ethernet.d.ts
Error code added NA Class name: ethernet
Method or attribute name: function isIfaceActive(iface: string): Promise<number>;
Error code: 201, 401, 2200001, 2200002, 2200003, 2201005
@ohos.net.ethernet.d.ts
Error code added NA Class name: ethernet
Method or attribute name: function getAllActiveIfaces(callback: AsyncCallback<Array<string>>): void;
Error code: 201, 2200002, 2200003
@ohos.net.ethernet.d.ts
Error code added NA Class name: ethernet
Method or attribute name: function getAllActiveIfaces(): Promise<Array<string>>;
Error code: 201, 2200002, 2200003
@ohos.net.ethernet.d.ts
Error code added NA Class name: HttpRequest
Method or attribute name: request(url: string, callback: AsyncCallback<HttpResponse>): void;
Error code: 401, 201, 2300001, 2300003, 2300005, 2300006, 2300007, 2300008, 2300009, 2300016, 2300018, 2300023, 2300025, 2300026, 2300027, 2300028, 2300047, 2300052, 2300055, 2300056, 2300058, 2300059, 2300060, 2300061, 2300063, 2300070, 2300073, 2300077, 2300078, 2300094, 2300999
@ohos.net.http.d.ts
Error code added NA Class name: HttpRequest
Method or attribute name: request(url: string, options: HttpRequestOptions, callback: AsyncCallback<HttpResponse>): void;
Error code: 401, 201, 2300001, 2300003, 2300005, 2300006, 2300007, 2300008, 2300009, 2300016, 2300018, 2300023, 2300025, 2300026, 2300027, 2300028, 2300047, 2300052, 2300055, 2300056, 2300058, 2300059, 2300060, 2300061, 2300063, 2300070, 2300073, 2300077, 2300078, 2300094, 2300999
@ohos.net.http.d.ts
Error code added NA Class name: HttpRequest
Method or attribute name: request(url: string, options?: HttpRequestOptions): Promise<HttpResponse>;
Error code: 401, 201, 2300001, 2300003, 2300005, 2300006, 2300007, 2300008, 2300009, 2300016, 2300018, 2300023, 2300025, 2300026, 2300027, 2300028, 2300047, 2300052, 2300055, 2300056, 2300058, 2300059, 2300060, 2300061, 2300063, 2300070, 2300073, 2300077, 2300078, 2300094, 2300999
@ohos.net.http.d.ts
Error code added NA Class name: sharing
Method or attribute name: function isSharingSupported(callback: AsyncCallback<boolean>): void;
Error code: 201, 2200002, 2200003, 2202011
@ohos.net.sharing.d.ts
Error code added NA Class name: sharing
Method or attribute name: function isSharingSupported(): Promise<boolean>;
Error code: 201, 2200002, 2200003, 2202011
@ohos.net.sharing.d.ts
Error code added NA Class name: sharing
Method or attribute name: function isSharing(callback: AsyncCallback<boolean>): void;
Error code: 201, 2200002, 2200003, 2202011
@ohos.net.sharing.d.ts
Error code added NA Class name: sharing
Method or attribute name: function isSharing(): Promise<boolean>;
Error code: 201, 2200002, 2200003, 2202011
@ohos.net.sharing.d.ts
Error code added NA Class name: sharing
Method or attribute name: function startSharing(type: SharingIfaceType, callback: AsyncCallback<void>): void;
Error code: 201, 401, 2200001, 2200002, 2200003, 2202004, 2202005, 2202006, 2202009, 2202011
@ohos.net.sharing.d.ts
Error code added NA Class name: sharing
Method or attribute name: function startSharing(type: SharingIfaceType): Promise<void>;
Error code: 201, 401, 2200001, 2200002, 2200003, 2202004, 2202005, 2202006, 2202009, 2202011
@ohos.net.sharing.d.ts
Error code added NA Class name: sharing
Method or attribute name: function stopSharing(type: SharingIfaceType, callback: AsyncCallback<void>): void;
Error code: 201, 401, 2200001, 2200002, 2200003, 2202004, 2202005, 2202006, 2202011
@ohos.net.sharing.d.ts
Error code added NA Class name: sharing
Method or attribute name: function stopSharing(type: SharingIfaceType): Promise<void>;
Error code: 201, 401, 2200001, 2200002, 2200003, 2202004, 2202005, 2202006, 2202011
@ohos.net.sharing.d.ts
Error code added NA Class name: sharing
Method or attribute name: function getStatsRxBytes(callback: AsyncCallback<number>): void;
Error code: 201, 2200002, 2200003
@ohos.net.sharing.d.ts
Error code added NA Class name: sharing
Method or attribute name: function getStatsRxBytes(): Promise<number>;
Error code: 201, 2200002, 2200003
@ohos.net.sharing.d.ts
Error code added NA Class name: sharing
Method or attribute name: function getStatsTxBytes(callback: AsyncCallback<number>): void;
Error code: 201, 2200002, 2200003
@ohos.net.sharing.d.ts
Error code added NA Class name: sharing
Method or attribute name: function getStatsTxBytes(): Promise<number>;
Error code: 201, 2200002, 2200003
@ohos.net.sharing.d.ts
Error code added NA Class name: sharing
Method or attribute name: function getStatsTotalBytes(callback: AsyncCallback<number>): void;
Error code: 201, 2200002, 2200003
@ohos.net.sharing.d.ts
Error code added NA Class name: sharing
Method or attribute name: function getStatsTotalBytes(): Promise<number>;
Error code: 201, 2200002, 2200003
@ohos.net.sharing.d.ts
Error code added NA Class name: sharing
Method or attribute name: function getSharingIfaces(state: SharingIfaceState, callback: AsyncCallback<Array<string>>): void;
Error code: 201, 401, 2200001, 2200002, 2200003
@ohos.net.sharing.d.ts
Error code added NA Class name: sharing
Method or attribute name: function getSharingIfaces(state: SharingIfaceState): Promise<Array<string>>;
Error code: 201, 401, 2200001, 2200002, 2200003
@ohos.net.sharing.d.ts
Error code added NA Class name: sharing
Method or attribute name: function getSharingState(type: SharingIfaceType, callback: AsyncCallback<SharingIfaceState>): void;
Error code: 201, 401, 2200001, 2200002, 2200003
@ohos.net.sharing.d.ts
Error code added NA Class name: sharing
Method or attribute name: function getSharingState(type: SharingIfaceType): Promise<SharingIfaceState>;
Error code: 201, 401, 2200001, 2200002, 2200003
@ohos.net.sharing.d.ts
Error code added NA Class name: sharing
Method or attribute name: function getSharableRegexes(type: SharingIfaceType, callback: AsyncCallback<Array<string>>): void;
Error code: 201, 401, 2200001, 2200002, 2200003
@ohos.net.sharing.d.ts
Error code added NA Class name: sharing
Method or attribute name: function getSharableRegexes(type: SharingIfaceType): Promise<Array<string>>;
Error code: 201, 401, 2200001, 2200002, 2200003
@ohos.net.sharing.d.ts
Error code added NA Class name: sharing
Method or attribute name: function on(type: ‘sharingStateChange’, callback: Callback<boolean>): void;
Error code: 201, 401
@ohos.net.sharing.d.ts
Error code added NA Class name: sharing
Method or attribute name: function off(type: ‘sharingStateChange’, callback?: Callback<boolean>): void;
Error code: 201, 401
@ohos.net.sharing.d.ts
Error code added NA Class name: sharing
Method or attribute name: function on(type: ‘interfaceSharingStateChange’, callback: Callback<{ type: SharingIfaceType, iface: string, state: SharingIfaceState }>): void;
Error code: 201, 401
@ohos.net.sharing.d.ts
Error code added NA Class name: sharing
Method or attribute name: function off(type: ‘interfaceSharingStateChange’, callback?: Callback<{ type: SharingIfaceType, iface: string, state: SharingIfaceState }>): void;
Error code: 201, 401
@ohos.net.sharing.d.ts
Error code added NA Class name: sharing
Method or attribute name: function on(type: ‘sharingUpstreamChange’, callback: Callback<NetHandle>): void;
Error code: 201, 401
@ohos.net.sharing.d.ts
Error code added NA Class name: sharing
Method or attribute name: function off(type: ‘sharingUpstreamChange’, callback?: Callback<NetHandle>): void;
Error code: 201, 401
@ohos.net.sharing.d.ts
Error code added NA Class name: UDPSocket
Method or attribute name: bind(address: NetAddress, callback: AsyncCallback<void>): void;
Error code: 401, 201
@ohos.net.socket.d.ts
Error code added NA Class name: UDPSocket
Method or attribute name: bind(address: NetAddress): Promise<void>;
Error code: 401, 201
@ohos.net.socket.d.ts
Error code added NA Class name: UDPSocket
Method or attribute name: send(options: UDPSendOptions, callback: AsyncCallback<void>): void;
Error code: 401, 201
@ohos.net.socket.d.ts
Error code added NA Class name: UDPSocket
Method or attribute name: send(options: UDPSendOptions): Promise<void>;
Error code: 401, 201
@ohos.net.socket.d.ts
Error code added NA Class name: UDPSocket
Method or attribute name: close(callback: AsyncCallback<void>): void;
Error code: 201
@ohos.net.socket.d.ts
Error code added NA Class name: UDPSocket
Method or attribute name: close(): Promise<void>;
Error code: 201
@ohos.net.socket.d.ts
Error code added NA Class name: UDPSocket
Method or attribute name: getState(callback: AsyncCallback<SocketStateBase>): void;
Error code: 201
@ohos.net.socket.d.ts
Error code added NA Class name: UDPSocket
Method or attribute name: getState(): Promise<SocketStateBase>;
Error code: 201
@ohos.net.socket.d.ts
Error code added NA Class name: UDPSocket
Method or attribute name: setExtraOptions(options: UDPExtraOptions, callback: AsyncCallback<void>): void;
Error code: 401, 201
@ohos.net.socket.d.ts
Error code added NA Class name: UDPSocket
Method or attribute name: setExtraOptions(options: UDPExtraOptions): Promise<void>;
Error code: 401, 201
@ohos.net.socket.d.ts
Error code added NA Class name: TCPSocket
Method or attribute name: bind(address: NetAddress, callback: AsyncCallback<void>): void;
Error code: 401, 201
@ohos.net.socket.d.ts
Error code added NA Class name: TCPSocket
Method or attribute name: bind(address: NetAddress): Promise<void>;
Error code: 401, 201
@ohos.net.socket.d.ts
Error code added NA Class name: TCPSocket
Method or attribute name: connect(options: TCPConnectOptions, callback: AsyncCallback<void>): void;
Error code: 401, 201
@ohos.net.socket.d.ts
Error code added NA Class name: TCPSocket
Method or attribute name: connect(options: TCPConnectOptions): Promise<void>;
Error code: 401, 201
@ohos.net.socket.d.ts
Error code added NA Class name: TCPSocket
Method or attribute name: send(options: TCPSendOptions, callback: AsyncCallback<void>): void;
Error code: 401, 201
@ohos.net.socket.d.ts
Error code added NA Class name: TCPSocket
Method or attribute name: send(options: TCPSendOptions): Promise<void>;
Error code: 401, 201
@ohos.net.socket.d.ts
Error code added NA Class name: TCPSocket
Method or attribute name: close(callback: AsyncCallback<void>): void;
Error code: 201
@ohos.net.socket.d.ts
Error code added NA Class name: TCPSocket
Method or attribute name: close(): Promise<void>;
Error code: 201
@ohos.net.socket.d.ts
Error code added NA Class name: TCPSocket
Method or attribute name: getRemoteAddress(callback: AsyncCallback<NetAddress>): void;
Error code: 201
@ohos.net.socket.d.ts
Error code added NA Class name: TCPSocket
Method or attribute name: getRemoteAddress(): Promise<NetAddress>;
Error code: 201
@ohos.net.socket.d.ts
Error code added NA Class name: TCPSocket
Method or attribute name: getState(callback: AsyncCallback<SocketStateBase>): void;
Error code: 201
@ohos.net.socket.d.ts
Error code added NA Class name: TCPSocket
Method or attribute name: getState(): Promise<SocketStateBase>;
Error code: 201
@ohos.net.socket.d.ts
Error code added NA Class name: TCPSocket
Method or attribute name: setExtraOptions(options: TCPExtraOptions, callback: AsyncCallback<void>): void;
Error code: 401, 201
@ohos.net.socket.d.ts
Error code added NA Class name: TCPSocket
Method or attribute name: setExtraOptions(options: TCPExtraOptions): Promise<void>;
Error code: 401, 201
@ohos.net.socket.d.ts
Error code added NA Class name: WebSocket
Method or attribute name: connect(url: string, callback: AsyncCallback<boolean>): void;
Error code: 401, 201
@ohos.net.webSocket.d.ts
Error code added NA Class name: WebSocket
Method or attribute name: connect(url: string, options: WebSocketRequestOptions, callback: AsyncCallback<boolean>): void;
Error code: 401, 201
@ohos.net.webSocket.d.ts
Error code added NA Class name: WebSocket
Method or attribute name: connect(url: string, options?: WebSocketRequestOptions): Promise<boolean>;
Error code: 401, 201
@ohos.net.webSocket.d.ts
Error code added NA Class name: WebSocket
Method or attribute name: send(data: string |ArrayBuffer, callback: AsyncCallback<boolean>): void;
Error code: 401, 201
@ohos.net.webSocket.d.ts
Error code added NA Class name: WebSocket
Method or attribute name: send(data: string |ArrayBuffer): Promise<boolean>;
Error code: 401, 201
@ohos.net.webSocket.d.ts
Error code added NA Class name: WebSocket
Method or attribute name: close(callback: AsyncCallback<boolean>): void;
Error code: 401, 201
@ohos.net.webSocket.d.ts
Error code added NA Class name: WebSocket
Method or attribute name: close(options: WebSocketCloseOptions, callback: AsyncCallback<boolean>): void;
Error code: 401, 201
@ohos.net.webSocket.d.ts
Error code added NA Class name: WebSocket
Method or attribute name: close(options?: WebSocketCloseOptions): Promise<boolean>;
Error code: 401, 201
@ohos.net.webSocket.d.ts
Permission added Class name: connection
Method or attribute name: function enableAirplaneMode(callback: AsyncCallback<void>): void;
Permission: N/A
Class name: connection
Method or attribute name: function enableAirplaneMode(callback: AsyncCallback<void>): void;
Permission: ohos.permission.CONNECTIVITY_INTERNAL
@ohos.net.connection.d.ts
Permission added Class name: connection
Method or attribute name: function enableAirplaneMode(): Promise<void>;
Permission: N/A
Class name: connection
Method or attribute name: function enableAirplaneMode(): Promise<void>;
Permission: ohos.permission.CONNECTIVITY_INTERNAL
@ohos.net.connection.d.ts
Permission added Class name: connection
Method or attribute name: function disableAirplaneMode(callback: AsyncCallback<void>): void;
Permission: N/A
Class name: connection
Method or attribute name: function disableAirplaneMode(callback: AsyncCallback<void>): void;
Permission: ohos.permission.CONNECTIVITY_INTERNAL
@ohos.net.connection.d.ts
Permission added Class name: connection
Method or attribute name: function disableAirplaneMode(): Promise<void>;
Permission: N/A
Class name: connection
Method or attribute name: function disableAirplaneMode(): Promise<void>;
Permission: ohos.permission.CONNECTIVITY_INTERNAL
@ohos.net.connection.d.ts
Function changed Class name: RemoteProxy
Method or attribute name: unregisterDeathRecipient(recipient: DeathRecipient, flags: number): boolean;
Class name: RemoteProxy
Method or attribute name: unregisterDeathRecipient(recipient: DeathRecipient, flags: number): void;
@ohos.rpc.d.ts

你可能感兴趣的鸿蒙文章

harmony 鸿蒙JS API Differences

harmony 鸿蒙js-apidiff-ability

harmony 鸿蒙js-apidiff-account

harmony 鸿蒙js-apidiff-application

harmony 鸿蒙js-apidiff-arkui

harmony 鸿蒙js-apidiff-battery

harmony 鸿蒙js-apidiff-bundle

harmony 鸿蒙js-apidiff-compiler-and-runtime

harmony 鸿蒙js-apidiff-dfx

harmony 鸿蒙js-apidiff-distributed-data

0  赞