Lines Matching refs:API

3 ## cl.bluetooth.1 API Migration to @ohos.bluetoothManager.d.ts
5 **@ohos.bluetooth.d.ts** does not allow for throwing error codes, which is required by API version …
16 System APIs and APIs in API version 9 are affected. Import **@ohos.bluetoothManager** to use APIs t…
22 **Key API/Component Changes**
24 | Class | Original API
26 …on getState(): BluetoothState | Migrated this API in API version 9 to **@…
27 …on getBtConnectionState(): ProfileConnectionState; | Migrated this API in API version 9 to **@…
28 …on pairDevice(deviceId: string): void | Migrated this API in API version 9 to **@…
29 …on cancelPairedDevice(deviceId: string): void | Migrated this API in API version 9 to **@…
30 …on getRemoteDeviceName(deviceId: string): string | Migrated this API in API version 9 to **@…
31 …on getRemoteDeviceClass(deviceId: string): DeviceClass | Migrated this API in API version 9 to **@…
32 …on enableBluetooth(): void | Migrated this API in API version 9 to **@…
33 …on disableBluetooth(): void | Migrated this API in API version 9 to **@…
34 …on getLocalName(): string | Migrated this API in API version 9 to **@…
35 …on getPairedDevices(): Array<string>; | Migrated this API in API version 9 to **@…
36 …ProfileConnectionState | Migrated this API in API version 9 to **@ohos.bluetoothManager.d.ts** and…
37 …ingConfirmation(device: string, accept: boolean): void | Migrated this API in API version 9 to **@…
38 …on setLocalName(name: string): void; | Migrated this API in API version 9 to **@…
39 …etoothScanMode(mode: ScanMode, duration: number): void | Migrated this API in API version 9 to **@…
40 …on getBluetoothScanMode(): ScanMode | Migrated this API in API version 9 to **@…
41 …on startBluetoothDiscovery(): void | Migrated this API in API version 9 to **@…
42 …on stopBluetoothDiscovery(): void; | Migrated this API in API version 9 to **@…
43 … callback: Callback<Array<string>>): void; | Migrated this API in API version 9 to **@…
44 …callback?: Callback<Array<string>>): void; | Migrated this API in API version 9 to **@…
45 …ge", callback: Callbackk<BondStateParam>): void; | Migrated this API in API version 9 to **@…
46 …ge", callback?: Callback<BondStateParam>): void; | Migrated this API in API version 9 to **@…
47 …d", callback: Callback<PinRequiredParam>): void; | Migrated this API in API version 9 to **@…
48 …", callback?: Callback<PinRequiredParam>): void; | Migrated this API in API version 9 to **@…
49 …nge", callback: Callback<BluetoothState>): void; | Migrated this API in API version 9 to **@…
50 …ge", callback?: Callback<BluetoothState>): void; | Migrated this API in API version 9 to **@…
51 …pOption, callback: AsyncCallback<number>): void; | Migrated this API in API version 9 to **@…
52 … number, callback: AsyncCallback<number>): void; | Migrated this API in API version 9 to **@…
53 …pOption, callback: AsyncCallback<number>): void; | Migrated this API in API version 9 to **@…
54 …on sppCloseServerSocket(socket: number): void; | Migrated this API in API version 9 to **@…
55 …on sppCloseClientSocket(socket: number): void; | Migrated this API in API version 9 to **@…
56 …pWrite(clientSocket: number, data: ArrayBuffer): void; | Migrated this API in API version 9 to **@…
57 … number, callback: Callback<ArrayBuffer>): void; | Migrated this API in API version 9 to **@…
58 …number, callback?: Callback<ArrayBuffer>): void; | Migrated this API in API version 9 to **@…
61 …nectionDevices(): Array<string>; | Migrated this API in API version 9 to **@…
62 …iceState(device: string): ProfileConnectionState; | Migrated this API in API version 9 to **@…
63 …t(device: string): void; | Migrated this API in API version 9 to **@…
64 …nect(device: string): void; | Migrated this API in API version 9 to **@…
65 …e", callback: Callback<StateChangeParam>): void; | Migrated this API in API version 9 to **@…
66 …", callback?: Callback<StateChangeParam>): void; | Migrated this API in API version 9 to **@…
67 …yingState(device: string): PlayingState; | Migrated this API in API version 9 to **@…
68 …t(device: string): void; | Migrated this API in API version 9 to **@…
69 …nect(device: string): void; | Migrated this API in API version 9 to **@…
70 …e", callback: Callback<StateChangeParam>): void; | Migrated this API in API version 9 to **@…
71 …", callback?: Callback<StateChangeParam>): void; | Migrated this API in API version 9 to **@…
72 …t(device: string): void; | Migrated this API in API version 9 to **@…
73 …nect(device: string): void; | Migrated this API in API version 9 to **@…
74 …e", callback: Callback<StateChangeParam>): void; | Migrated this API in API version 9 to **@…
75 …", callback?: Callback<StateChangeParam>): void; | Migrated this API in API version 9 to **@…
76 …nect(device: string): void; | Migrated this API in API version 9 to **@…
77 …e", callback: Callback<StateChangeParam>): void; | Migrated this API in API version 9 to **@…
78 …", callback?: Callback<StateChangeParam>): void; | Migrated this API in API version 9 to **@…
79 …hering(enable: boolean): void; | Migrated this API in API version 9 to **@…
80 …eringOn(): boolean; | Migrated this API in API version 9 to **@…
81 …on createGattServer(): GattServer; | Migrated this API in API version 9 to **@…
82 …eGattClientDevice(deviceId: string): GattClientDevice; | Migrated this API in API version 9 to **@…
83 …on getConnectedBLEDevices(): Array<string>; | Migrated this API in API version 9 to **@…
84 …Array<ScanFilter>, options?: ScanOptions): void; | Migrated this API in API version 9 to **@…
85 …on stopBLEScan(): void; | Migrated this API in API version 9 to **@…
86 …lback: Callback<Array<ScanResult>>): void; | Migrated this API in API version 9 to **@…
87 …back?: Callback<Array<ScanResult>>): void; | Migrated this API in API version 9 to **@…
88 …ta: AdvertiseData, advResponse?: AdvertiseData): void; | Migrated this API in API version 9 to **@…
89 …vertising(): void; | Migrated this API in API version 9 to **@…
90 …vice(service: GattService): void; | Migrated this API in API version 9 to **@…
91 …Service(serviceUuid: string): void; | Migrated this API in API version 9 to **@…
92 | GattServer | close(): void; | close(): void; | Migrated this API in API version 9 to **@ohos.blue…
93 …ng, notifyCharacteristic: NotifyCharacteristic): void; | Migrated this API in API version 9 to **@…
94 … | sendResponse(serverResponse: ServerResponse): void; | Migrated this API in API version 9 to **@…
95 …ack: Callback<CharacteristicReadRequest>): void; | Migrated this API in API version 9 to **@…
96 …ck?: Callback<CharacteristicReadRequest>): void; | Migrated this API in API version 9 to **@…
97 …ck: Callback<CharacteristicWriteRequest>): void; | Migrated this API in API version 9 to **@…
98 …k?: Callback<CharacteristicWriteRequest>): void; | Migrated this API in API version 9 to **@…
99 …allback: Callback<DescriptorReadRequest>): void; | Migrated this API in API version 9 to **@…
100 …llback?: Callback<DescriptorReadRequest>): void; | Migrated this API in API version 9 to **@…
101 …allback: Callback<DescriptorWriteRequest>): void;| Migrated this API in API version 9 to **@…
102 …lback?: Callback<DescriptorWriteRequest>): void; | Migrated this API in API version 9 to **@…
103 …allback: Callback<BLEConnectChangedState>): void;| Migrated this API in API version 9 to **@…
104 …lback?: Callback<BLEConnectChangedState>): void; | Migrated this API in API version 9 to **@…
105 | GattClientDevice | connect(): boolean; | connect(): void; | Migrated this API in API version 9 to…
106 | GattClientDevice | disconnect(): boolean; | disconnect(): void; | Migrated this API in API versio…
107 | GattClientDevice | close(): boolean; | close(): void; | Migrated this API in API version 9 to **@…
108 …viceName(callback: AsyncCallback<string>): void; | Migrated this API in API version 9 to **@…
109 …;string>; | getDeviceName(): Promise<string>; | Migrated this API in API version 9 to **@…
110 … AsyncCallback<Array<GattService>>): void; | Migrated this API in API version 9 to **@…
111 …etServices(): Promise<Array<GattService>>; | Migrated this API in API version 9 to **@…
112 …llback: AsyncCallback<BLECharacteristic>): void; | Migrated this API in API version 9 to **@…
113 … BLECharacteristic): Promise<BLECharacteristic>; | Migrated this API in API version 9 to **@…
114 …, callback: AsyncCallback<BLEDescriptor>): void; | Migrated this API in API version 9 to **@…
115 …criptor: BLEDescriptor): Promise<BLEDescriptor>; | Migrated this API in API version 9 to **@…
116 …eristicValue(characteristic: BLECharacteristic): void; | Migrated this API in API version 9 to **@…
117 …writeDescriptorValue(descriptor: BLEDescriptor): void; | Migrated this API in API version 9 to **@…
118 …ssiValue(callback: AsyncCallback<number>): void; | Migrated this API in API version 9 to **@…
119 …t;number>; | getRssiValue(): Promise<number>; | Migrated this API in API version 9 to **@…
120 … number): boolean; | setBLEMtuSize(mtu: number): void; | Migrated this API in API version 9 to **@…
121 …acteristic: BLECharacteristic, enable: boolean): void; | Migrated this API in API version 9 to **@…
122 …", callback: Callback<BLECharacteristic>): void; | Migrated this API in API version 9 to **@…
123 …, callback?: Callback<BLECharacteristic>): void; | Migrated this API in API version 9 to **@…
124 …llback: Callback<BLEConnectChangedState>): void; | Migrated this API in API version 9 to **@…
125 …lback?: Callback<BLEConnectChangedState>): void; | Migrated this API in API version 9 to **@…
126 | bluetooth | GattService | GattService | Migrated this API in API version 9 to **@ohos.bluetoothMa…
127 | bluetooth | BLECharacteristic | BLECharacteristic | Migrated this API in API version 9 to **@ohos…
128 | bluetooth | BLEDescriptor | BLEDescriptor | Migrated this API in API version 9 to **@ohos.bluetoo…
129 | bluetooth | NotifyCharacteristic | NotifyCharacteristic | Migrated this API in API version 9 to *…
130 | bluetooth | CharacteristicReadReq | CharacteristicReadRequest | Migrated this API in API version …
131 | bluetooth | CharacteristicWriteReq | CharacteristicWriteRequest | Migrated this API in API versio…
132 | bluetooth | DescriptorReadRe | DescriptorReadRequest | Migrated this API in API version 9 to **@o…
133 | bluetooth | DescriptorWriteReq | DescriptorWriteRequest | Migrated this API in API version 9 to *…
134 | bluetooth | ServerResponse | ServerResponse | Migrated this API in API version 9 to **@ohos.bluet…
135 | bluetooth | BLEConnectChangedState | BLEConnectChangedState | Migrated this API in API version 9 …
136 | bluetooth | ScanResult | ScanResult | Migrated this API in API version 9 to **@ohos.bluetoothMana…
137 | bluetooth | AdvertiseSetting | AdvertiseSetting | Migrated this API in API version 9 to **@ohos.b…
138 | bluetooth | AdvertiseData | AdvertiseData | Migrated this API in API version 9 to **@ohos.bluetoo…
139 | bluetooth | ManufactureData | ManufactureData | Migrated this API in API version 9 to **@ohos.blu…
140 | bluetooth | ServiceData | ServiceData | Migrated this API in API version 9 to **@ohos.bluetoothMa…
141 | bluetooth | ScanFilter | ScanFilter | Migrated this API in API version 9 to **@ohos.bluetoothMana…
142 | bluetooth | ScanOptions | ScanOptions | Migrated this API in API version 9 to **@ohos.bluetoothMa…
143 | bluetooth | SppOption | SppOption | Migrated this API in API version 9 to **@ohos.bluetoothManage…
144 | bluetooth | PinRequiredParam | PinRequiredParam | Migrated this API in API version 9 to **@ohos.b…
145 | bluetooth | DeviceClass | DeviceClass | Migrated this API in API version 9 to **@ohos.bluetoothMa…
146 | bluetooth | BondStateParam | BondStateParam | Migrated this API in API version 9 to **@ohos.bluet…
147 | bluetooth | StateChangeParam | StateChangeParam | Migrated this API in API version 9 to **@ohos.b…
148 | bluetooth | ScanDuty | ScanDuty | Migrated this API in API version 9 to **@ohos.bluetoothManager.…
149 | bluetooth | MatchMode | MatchMode | Migrated this API in API version 9 to **@ohos.bluetoothManage…
150 | bluetooth | ProfileConnectionState | ProfileConnectionState | Migrated this API in API version 9 …
151 | bluetooth | BluetoothState | BluetoothState | Migrated this API in API version 9 to **@ohos.bluet…
152 | bluetooth | SppType | SppType | Migrated this API in API version 9 to **@ohos.bluetoothManager.d.…
153 | bluetooth | ScanMode | ScanMode | Migrated this API in API version 9 to **@ohos.bluetoothManager.…
154 | bluetooth | BondState | BondState | Migrated this API in API version 9 to **@ohos.bluetoothManage…
155 | bluetooth | MajorClass | MajorClass | Migrated this API in API version 9 to **@ohos.bluetoothMana…
156 | bluetooth | MajorMinorClass | MajorMinorClass | Migrated this API in API version 9 to **@ohos.blu…
157 | bluetooth | PlayingState | PlayingState | Migrated this API in API version 9 to **@ohos.bluetooth…
158 | bluetooth | ProfileId | ProfileId | Migrated this API in API version 9 to **@ohos.bluetoothManage…