Lines Matching refs:on
6 - The **continuationManager.on** API does not have a unified return value for various events, which…
10 - The device selection event name of **continuationManager.on** and **continuationManager.off** is …
11 - The **continuationManager.on** API returns **Callback<Array<ContinuationResult>>** fo…
15 The application developed based on earlier versions needs to adapt the new APIs. Otherwise, the ori…
21 continuationManager.on;
27 …function on(type: "deviceConnect", token: number, callback: Callback<Array<ContinuationResult>>): …
29 function on(type: "deviceDisconnect", token: number, callback: Callback<Array<string>>): void;
36 …function on(type: "deviceSelected", token: number, callback: Callback<Array<ContinuationResult>>):…
38 …function on(type: "deviceUnselected", token: number, callback: Callback<Array<ContinuationResult>>…
46 Device selection event of **continuationManager.on**:
51 continuationManager.on("deviceSelected", token, (data) => {
60 console.error('on failed, cause: ' + JSON.stringify(err));
75 Device deselection event of **continuationManager.on**:
80 continuationManager.on("deviceUnselected", token, (data) => {
90 console.error('on failed, cause: ' + JSON.stringify(err));