Lines Matching refs:API9

5 @ohos.bluetooth.d.ts接口不支持抛出错误码,而API9以及SystemAPI都需要支持错误码抛出,为了支持该功能,把@ohos.bluetooth.d.ts中所有接口,迁移到新增的…
16API9以及SystemAPI接口的使用有影响,需要import @ohos.bluetoothManager来使用抛错误码的接口:
26 | bluetooth | function getState(): BluetoothState | function getState(): BluetoothState | API9接口变更,…
27 | bluetooth | method | function getBtConnectionState(): ProfileConnectionState; | API9接口变更,迁移到@oho…
28 …eviceId: string): boolean | function pairDevice(deviceId: string): void | API9接口变更,迁移到@ohos.blueto…
29 … string): boolean | function cancelPairedDevice(deviceId: string): void | API9接口变更,迁移到@ohos.blueto…
30 …string): string | function getRemoteDeviceName(deviceId: string): string| API9接口变更,迁移到@ohos.blueto…
31 …iceClass | function getRemoteDeviceClass(deviceId: string): DeviceClass | API9接口变更,迁移到@ohos.blueto…
32 | bluetooth | function enableBluetooth(): boolean | function enableBluetooth(): void | API9接口变更,迁移到…
33 | bluetooth | function disableBluetooth(): boolean | function disableBluetooth(): void | API9接口变更,迁…
34 | bluetooth | function getLocalName(): string | function getLocalName(): string | API9接口变更,迁移到@ohos…
35 …rray<string>; | function getPairedDevices(): Array<string>; | API9接口变更,迁移到@ohos.blueto…
36 …getProfileConnectionState(profileId: ProfileId): ProfileConnectionState | API9接口变更,迁移到@ohos.blueto…
37 …ion setDevicePairingConfirmation(device: string, accept: boolean): void | API9接口变更,迁移到@ohos.blueto…
38 …me(name: string): boolean; | function setLocalName(name: string): void; | API9接口变更,迁移到@ohos.blueto…
39 …| function setBluetoothScanMode(mode: ScanMode, duration: number): void | API9接口变更,迁移到@ohos.blueto…
40 …luetoothScanMode(): ScanMod | function getBluetoothScanMode(): ScanMode | API9接口变更,迁移到@ohos.blueto…
41 …luetoothDiscovery(): boolean | function startBluetoothDiscovery(): void | API9接口变更,迁移到@ohos.blueto…
42 …uetoothDiscovery(): boolean; | function stopBluetoothDiscovery(): void; | API9接口变更,迁移到@ohos.blueto…
43 …toothDeviceFind", callback: Callback<Array<string>>): void; | API9接口变更,迁移到@ohos.blueto…
44 …othDeviceFind", callback?: Callback<Array<string>>): void; | API9接口变更,迁移到@ohos.blueto…
45 …e: "bondStateChange", callback: Callbackk<BondStateParam>): void; | API9接口变更,迁移到@ohos.blueto…
46 …e: "bondStateChange", callback?: Callback<BondStateParam>): void; | API9接口变更,迁移到@ohos.blueto…
47 …type: "pinRequired", callback: Callback<PinRequiredParam>): void; | API9接口变更,迁移到@ohos.blueto…
48 …ype: "pinRequired", callback?: Callback<PinRequiredParam>): void; | API9接口变更,迁移到@ohos.blueto…
49 …n(type: "stateChange", callback: Callback<BluetoothState>): void; | API9接口变更,迁移到@ohos.blueto…
50 …(type: "stateChange", callback?: Callback<BluetoothState>): void; | API9接口变更,迁移到@ohos.blueto…
51 …tring, option: SppOption, callback: AsyncCallback<number>): void; | API9接口变更,迁移到@ohos.blueto…
52 …ept(serverSocket: number, callback: AsyncCallback<number>): void; | API9接口变更,迁移到@ohos.blueto…
53 …tring, option: SppOption, callback: AsyncCallback<number>): void; | API9接口变更,迁移到@ohos.blueto…
54 …: number): void; | function sppCloseServerSocket(socket: number): void; | API9接口变更,迁移到@ohos.blueto…
55 …: number): void; | function sppCloseClientSocket(socket: number): void; | API9接口变更,迁移到@ohos.blueto…
56 …an; | function sppWrite(clientSocket: number, data: ArrayBuffer): void; | API9接口变更,迁移到@ohos.blueto…
57 …d", clientSocket: number, callback: Callback<ArrayBuffer>): void; | API9接口变更,迁移到@ohos.blueto…
58 …, clientSocket: number, callback?: Callback<ArrayBuffer>): void; | API9接口变更,迁移到@ohos.blueto…
59 …ceProfile | HandsFreeAudioGatewayProfile | HidHostProfile | PanProfile; | API9接口变更,迁移到@ohos.blueto…
60 …ceProfile | HandsFreeAudioGatewayProfile | HidHostProfile | PanProfile; | API9接口变更,迁移到@ohos.blueto…
61 …(): Array<string>; | getConnectionDevices(): Array<string>; | API9接口变更,迁移到@ohos.blueto…
62 …nectionState; | getDeviceState(device: string): ProfileConnectionState; | API9接口变更,迁移到@ohos.blueto…
63 | A2dpSourceProfile | connect(device: string): boolean; | connect(device: string): void; | API9接口变更…
64 …isconnect(device: string): boolean; | disconnect(device: string): void; | API9接口变更,迁移到@ohos.blueto…
65 …nectionStateChange", callback: Callback<StateChangeParam>): void; | API9接口变更,迁移到@ohos.blueto…
66 …ectionStateChange", callback?: Callback<StateChangeParam>): void; | API9接口变更,迁移到@ohos.blueto…
67 …string): PlayingState; | getPlayingState(device: string): PlayingState; | API9接口变更,迁移到@ohos.blueto…
68 …le | connect(device: string): boolean; | connect(device: string): void; | API9接口变更,迁移到@ohos.blueto…
69 …isconnect(device: string): boolean; | disconnect(device: string): void; | API9接口变更,迁移到@ohos.blueto…
70 …nectionStateChange", callback: Callback<StateChangeParam>): void; | API9接口变更,迁移到@ohos.blueto…
71 …ectionStateChange", callback?: Callback<StateChangeParam>): void; | API9接口变更,迁移到@ohos.blueto…
72 | HidHostProfile | connect(device: string): boolean; | connect(device: string): void; | API9接口变更,迁移…
73 | HidHostProfile | disconnect(device: string): boolean; | disconnect(device: string): void; | API9接…
74 …nectionStateChange", callback: Callback<StateChangeParam>): void; | API9接口变更,迁移到@ohos.blueto…
75 …ectionStateChange", callback?: Callback<StateChangeParam>): void; | API9接口变更,迁移到@ohos.blueto…
76 | PanProfile | disconnect(device: string): boolean; | disconnect(device: string): void; | API9接口变更,…
77 …nectionStateChange", callback: Callback<StateChangeParam>): void; | API9接口变更,迁移到@ohos.blueto…
78 …ectionStateChange", callback?: Callback<StateChangeParam>): void; | API9接口变更,迁移到@ohos.blueto…
79 | PanProfile | setTethering(enable: boolean): void; | setTethering(enable: boolean): void; | API9接口…
80 | PanProfile | isTetheringOn(): boolean; | isTetheringOn(): boolean; | API9接口变更,迁移到@ohos.bluetoothM…
81 | BLE | function createGattServer(): GattServer; | function createGattServer(): GattServer; | API9接…
82 … | function createGattClientDevice(deviceId: string): GattClientDevice; | API9接口变更,迁移到@ohos.blueto…
83 …t;string>; | function getConnectedBLEDevices(): Array<string>; | API9接口变更,迁移到@ohos.blueto…
84 …BLEScan(filters: Array<ScanFilter>, options?: ScanOptions): void; | API9接口变更,迁移到@ohos.blueto…
85 | BLE | function stopBLEScan(): void; | function stopBLEScan(): void; | API9接口变更,迁移到@ohos.bluetooth…
86 …EDeviceFind", callback: Callback<Array<ScanResult>>): void; | API9接口变更,迁移到@ohos.blueto…
87 …DeviceFind", callback?: Callback<Array<ScanResult>>): void; | API9接口变更,迁移到@ohos.blueto…
88 …iseSetting, advData: AdvertiseData, advResponse?: AdvertiseData): void; | API9接口变更,迁移到@ohos.blueto…
89 | GattServer | stopAdvertising(): void; | stopAdvertising(): void; | API9接口变更,迁移到@ohos.bluetoothMan…
90 …rvice: GattService): boolean; | addService(service: GattService): void; | API9接口变更,迁移到@ohos.blueto…
91 …viceUuid: string): boolean; | removeService(serviceUuid: string): void; | API9接口变更,迁移到@ohos.blueto…
92 | GattServer | close(): void; | close(): void; | API9接口变更,迁移到@ohos.bluetoothManager.d.ts
93 …ed(deviceId: string, notifyCharacteristic: NotifyCharacteristic): void; | API9接口变更,迁移到@ohos.blueto…
94 …sponse): boolean; | sendResponse(serverResponse: ServerResponse): void; | API9接口变更,迁移到@ohos.blueto…
95 …isticRead", callback: Callback<CharacteristicReadRequest>): void; | API9接口变更,迁移到@ohos.blueto…
96 …sticRead", callback?: Callback<CharacteristicReadRequest>): void; | API9接口变更,迁移到@ohos.blueto…
97 …ticWrite", callback: Callback<CharacteristicWriteRequest>): void; | API9接口变更,迁移到@ohos.blueto…
98 …icWrite", callback?: Callback<CharacteristicWriteRequest>): void; | API9接口变更,迁移到@ohos.blueto…
99 …escriptorRead", callback: Callback<DescriptorReadRequest>): void; | API9接口变更,迁移到@ohos.blueto…
100 …scriptorRead", callback?: Callback<DescriptorReadRequest>): void; | API9接口变更,迁移到@ohos.blueto…
101 …scriptorWrite", callback: Callback<DescriptorWriteRequest>): void;| API9接口变更,迁移到@ohos.blueto…
102 …riptorWrite", callback?: Callback<DescriptorWriteRequest>): void; | API9接口变更,迁移到@ohos.blueto…
103 …ctStateChange", callback: Callback<BLEConnectChangedState>): void;| API9接口变更,迁移到@ohos.blueto…
104 …StateChange", callback?: Callback<BLEConnectChangedState>): void; | API9接口变更,迁移到@ohos.blueto…
105 | GattClientDevice | connect(): boolean; | connect(): void; | API9接口变更,迁移到@ohos.bluetoothManager.d.…
106 | GattClientDevice | disconnect(): boolean; | disconnect(): void; | API9接口变更,迁移到@ohos.bluetoothMana…
107 | GattClientDevice | close(): boolean; | close(): void; | API9接口变更,迁移到@ohos.bluetoothManager.d.ts,接…
108 …;): void; | getDeviceName(callback: AsyncCallback<string>): void; | API9接口变更,迁移到@ohos.blueto…
109 …ame(): Promise<string>; | getDeviceName(): Promise<string>; | API9接口变更,迁移到@ohos.blueto…
110 …ervices(callback: AsyncCallback<Array<GattService>>): void; | API9接口变更,迁移到@ohos.blueto…
111 …vice>>; | getServices(): Promise<Array<GattService>>; | API9接口变更,迁移到@ohos.blueto…
112 …haracteristic, callback: AsyncCallback<BLECharacteristic>): void; | API9接口变更,迁移到@ohos.blueto…
113 …e(characteristic: BLECharacteristic): Promise<BLECharacteristic>; | API9接口变更,迁移到@ohos.blueto…
114 …or: BLEDescriptor, callback: AsyncCallback<BLEDescriptor>): void; | API9接口变更,迁移到@ohos.blueto…
115 …scriptorValue(descriptor: BLEDescriptor): Promise<BLEDescriptor>; | API9接口变更,迁移到@ohos.blueto…
116 …n; | writeCharacteristicValue(characteristic: BLECharacteristic): void; | API9接口变更,迁移到@ohos.blueto…
117 …tor): boolean; | writeDescriptorValue(descriptor: BLEDescriptor): void; | API9接口变更,迁移到@ohos.blueto…
118 …t;): void; | getRssiValue(callback: AsyncCallback<number>): void; | API9接口变更,迁移到@ohos.blueto…
119 …alue(): Promise<number>; | getRssiValue(): Promise<number>; | API9接口变更,迁移到@ohos.blueto…
120 …etBLEMtuSize(mtu: number): boolean; | setBLEMtuSize(mtu: number): void; | API9接口变更,迁移到@ohos.blueto…
121 …isticChanged(characteristic: BLECharacteristic, enable: boolean): void; | API9接口变更,迁移到@ohos.blueto…
122 …racteristicChange", callback: Callback<BLECharacteristic>): void; | API9接口变更,迁移到@ohos.blueto…
123 …acteristicChange", callback?: Callback<BLECharacteristic>): void; | API9接口变更,迁移到@ohos.blueto…
124 …nStateChange", callback: Callback<BLEConnectChangedState>): void; | API9接口变更,迁移到@ohos.blueto…
125 …StateChange", callback?: Callback<BLEConnectChangedState>): void; | API9接口变更,迁移到@ohos.blueto…
126 | bluetooth | GattService | GattService | API9接口变更,迁移到@ohos.bluetoothManager.d.ts |
127 | bluetooth | BLECharacteristic | BLECharacteristic | API9接口变更,迁移到@ohos.bluetoothManager.d.ts |
128 | bluetooth | BLEDescriptor | BLEDescriptor | API9接口变更,迁移到@ohos.bluetoothManager.d.ts |
129 | bluetooth | NotifyCharacteristic | NotifyCharacteristic | API9接口变更,迁移到@ohos.bluetoothManager.d.ts…
130 | bluetooth | CharacteristicReadReq | CharacteristicReadRequest | API9接口变更,迁移到@ohos.bluetoothManage…
131 | bluetooth | CharacteristicWriteReq | CharacteristicWriteRequest | API9接口变更,迁移到@ohos.bluetoothMana…
132 | bluetooth | DescriptorReadRe | DescriptorReadRequest | API9接口变更,迁移到@ohos.bluetoothManager.d.ts |
133 | bluetooth | DescriptorWriteReq | DescriptorWriteRequest | API9接口变更,迁移到@ohos.bluetoothManager.d.ts…
134 | bluetooth | ServerResponse | ServerResponse | API9接口变更,迁移到@ohos.bluetoothManager.d.ts |
135 | bluetooth | BLEConnectChangedState | BLEConnectChangedState | API9接口变更,迁移到@ohos.bluetoothManager.…
136 | bluetooth | ScanResult | ScanResult | API9接口变更,迁移到@ohos.bluetoothManager.d.ts |
137 | bluetooth | AdvertiseSetting | AdvertiseSetting | API9接口变更,迁移到@ohos.bluetoothManager.d.ts |
138 | bluetooth | AdvertiseData | AdvertiseData | API9接口变更,迁移到@ohos.bluetoothManager.d.ts |
139 | bluetooth | ManufactureData | ManufactureData | API9接口变更,迁移到@ohos.bluetoothManager.d.ts |
140 | bluetooth | ServiceData | ServiceData | API9接口变更,迁移到@ohos.bluetoothManager.d.ts |
141 | bluetooth | ScanFilter | ScanFilter | API9接口变更,迁移到@ohos.bluetoothManager.d.ts |
142 | bluetooth | ScanOptions | ScanOptions | API9接口变更,迁移到@ohos.bluetoothManager.d.ts |
143 | bluetooth | SppOption | SppOption | API9接口变更,迁移到@ohos.bluetoothManager.d.ts |
144 | bluetooth | PinRequiredParam | PinRequiredParam | API9接口变更,迁移到@ohos.bluetoothManager.d.ts |
145 | bluetooth | DeviceClass | DeviceClass | API9接口变更,迁移到@ohos.bluetoothManager.d.ts |
146 | bluetooth | BondStateParam | BondStateParam | API9接口变更,迁移到@ohos.bluetoothManager.d.ts |
147 | bluetooth | StateChangeParam | StateChangeParam | API9接口变更,迁移到@ohos.bluetoothManager.d.ts |
148 | bluetooth | ScanDuty | ScanDuty | API9接口变更,迁移到@ohos.bluetoothManager.d.ts |
149 | bluetooth | MatchMode | MatchMode | API9接口变更,迁移到@ohos.bluetoothManager.d.ts |
150 | bluetooth | ProfileConnectionState | ProfileConnectionState | API9接口变更,迁移到@ohos.bluetoothManager.…
151 | bluetooth | BluetoothState | BluetoothState | API9接口变更,迁移到@ohos.bluetoothManager.d.ts |
152 | bluetooth | SppType | SppType | API9接口变更,迁移到@ohos.bluetoothManager.d.ts |
153 | bluetooth | ScanMode | ScanMode | API9接口变更,迁移到@ohos.bluetoothManager.d.ts |
154 | bluetooth | BondState | BondState | API9接口变更,迁移到@ohos.bluetoothManager.d.ts |
155 | bluetooth | MajorClass | MajorClass | API9接口变更,迁移到@ohos.bluetoothManager.d.ts |
156 | bluetooth | MajorMinorClass | MajorMinorClass | API9接口变更,迁移到@ohos.bluetoothManager.d.ts |
157 | bluetooth | PlayingState | PlayingState | API9接口变更,迁移到@ohos.bluetoothManager.d.ts |
158 | bluetooth | ProfileId | ProfileId | API9接口变更,迁移到@ohos.bluetoothManager.d.ts |