<tdclass="cellrowborder"valign="top"width="35.17%"headers="mcps1.2.3.1.2 "><pid="p8482201142715"><aname="p8482201142715"></a><aname="p8482201142715"></a>Obtains the volume of a stream asynchronously and uses a callback to return the execution result.</p>
<tdclass="cellrowborder"valign="top"width="35.17%"headers="mcps1.2.3.1.2 "><pid="p8482201142715"><aname="p8482201142715"></a><aname="p8482201142715"></a>Obtains the volume of a stream asynchronously and uses a callback to return the result.</p>
<tdclass="cellrowborder"valign="top"width="35.17%"headers="mcps1.2.3.1.2 "><pid="p1273493271"><aname="p1273493271"></a><aname="p1273493271"></a>Obtains the volume of a stream asynchronously and uses a Promise to return the execution result.</p>
<tdclass="cellrowborder"valign="top"width="35.17%"headers="mcps1.2.3.1.2 "><pid="p1273493271"><aname="p1273493271"></a><aname="p1273493271"></a>Obtains the volume of a stream asynchronously and uses a Promise to return the result.</p>
<tdclass="cellrowborder"valign="top"width="35.17%"headers="mcps1.2.3.1.2 "><pid="p130194472719"><aname="p130194472719"></a><aname="p130194472719"></a>Obtains the minimum volume of a stream asynchronously and uses a callback to return the execution result.</p>
<tdclass="cellrowborder"valign="top"width="35.17%"headers="mcps1.2.3.1.2 "><pid="p130194472719"><aname="p130194472719"></a><aname="p130194472719"></a>Obtains the minimum volume of a stream asynchronously and uses a callback to return the result.</p>
<tdclass="cellrowborder"valign="top"width="35.17%"headers="mcps1.2.3.1.2 "><pid="p1747464810273"><aname="p1747464810273"></a><aname="p1747464810273"></a>Obtains the minimum volume of a stream asynchronously and uses a Promise to return the execution result.</p>
<tdclass="cellrowborder"valign="top"width="35.17%"headers="mcps1.2.3.1.2 "><pid="p1747464810273"><aname="p1747464810273"></a><aname="p1747464810273"></a>Obtains the minimum volume of a stream asynchronously and uses a Promise to return the result.</p>
<tdclass="cellrowborder"valign="top"width="35.17%"headers="mcps1.2.3.1.2 "><pid="p1441884632714"><aname="p1441884632714"></a><aname="p1441884632714"></a>Obtains the maximum volume of a stream asynchronously and uses a callback to return the execution result.</p>
<tdclass="cellrowborder"valign="top"width="35.17%"headers="mcps1.2.3.1.2 "><pid="p1441884632714"><aname="p1441884632714"></a><aname="p1441884632714"></a>Obtains the maximum volume of a stream asynchronously and uses a callback to return the result.</p>
<tdclass="cellrowborder"valign="top"width="35.17%"headers="mcps1.2.3.1.2 "><pid="p1999235072718"><aname="p1999235072718"></a><aname="p1999235072718"></a>Obtains the maximum volume of a stream asynchronously and uses a Promise to return the execution result.</p>
<tdclass="cellrowborder"valign="top"width="35.17%"headers="mcps1.2.3.1.2 "><pid="p1999235072718"><aname="p1999235072718"></a><aname="p1999235072718"></a>Obtains the maximum volume of a stream asynchronously and uses a Promise to return the result.</p>
<tdclass="cellrowborder"valign="top"width="35.17%"headers="mcps1.2.3.1.2 "><pid="p112818572270"><aname="p112818572270"></a><aname="p112818572270"></a>Obtains the device list asynchronously and uses a callback to return the execution result.</p>
<tdclass="cellrowborder"valign="top"width="35.17%"headers="mcps1.2.3.1.2 "><pid="p112818572270"><aname="p112818572270"></a><aname="p112818572270"></a>Obtains the device list asynchronously and uses a callback to return the result.</p>
<tdclass="cellrowborder"valign="top"width="35.17%"headers="mcps1.2.3.1.2 "><pid="p16825195911278"><aname="p16825195911278"></a><aname="p16825195911278"></a>Obtains the device list asynchronously and uses a Promise to return the execution result.</p>
<tdclass="cellrowborder"valign="top"width="35.17%"headers="mcps1.2.3.1.2 "><pid="p16825195911278"><aname="p16825195911278"></a><aname="p16825195911278"></a>Obtains the device list asynchronously and uses a Promise to return the result.</p>
<tdclass="cellrowborder"valign="top"width="35.17%"headers="mcps1.2.3.1.2 "><pid="p112818572270"><aname="p112818572270"></a><aname="p112818572270"></a>Activates the device asynchronously and uses a callback to return the execution result.</p>
<tdclass="cellrowborder"valign="top"width="35.17%"headers="mcps1.2.3.1.2 "><pid="p16825195911278"><aname="p16825195911278"></a><aname="p16825195911278"></a>Activates the device asynchronously and uses a Promise to return the execution result.</p>
<tdclass="cellrowborder"valign="top"width="35.17%"headers="mcps1.2.3.1.2 "><pid="p112818572270"><aname="p112818572270"></a><aname="p112818572270"></a>Checks whether a device is active asynchronously and uses a callback to return the result.</p>
<tdclass="cellrowborder"valign="top"width="35.17%"headers="mcps1.2.3.1.2 "><pid="p16825195911278"><aname="p16825195911278"></a><aname="p16825195911278"></a>Checks whether a device is active asynchronously and uses a Promise to return the result.</p>
<tdclass="cellrowborder"valign="top"width="35.17%"headers="mcps1.2.3.1.2 "><pid="p112818572270"><aname="p112818572270"></a><aname="p112818572270"></a>Subscribes to device change events. Registered clients will receieve the callback when a device is connected/disconnected.</p>
<tdclass="cellrowborder"valign="top"width="35.17%"headers="mcps1.2.3.1.2 "><pid="p112818572270"><aname="p112818572270"></a><aname="p112818572270"></a>Sets the audio scene mode asynchronously and uses a callback to return the execution result.</p>
<tdclass="cellrowborder"valign="top"width="35.17%"headers="mcps1.2.3.1.2 "><pid="p16825195911278"><aname="p16825195911278"></a><aname="p16825195911278"></a>Sets the audio scene mode asynchronously and uses a Promise to return the execution result.</p>
<tdclass="cellrowborder"valign="top"width="35.17%"headers="mcps1.2.3.1.2 "><pid="p112818572270"><aname="p112818572270"></a><aname="p112818572270"></a>Obtains the audio scene mode asynchronously and uses a callback to return the result.</p>
<tdclass="cellrowborder"valign="top"width="35.17%"headers="mcps1.2.3.1.2 "><pid="p16825195911278"><aname="p16825195911278"></a><aname="p16825195911278"></a>Obtains the audio scene mode asynchronously and uses a Promise to return the result.</p>
</td>
</tr>
</tbody>
...
...
@@ -261,6 +311,18 @@ You use audio management APIs to set and obtain volume, and get information abou
Obtains the timestamp. This method uses an asynchronous callback to return the result.
Obtains the timestamp in Unix epoch time (starts from January 1, 1970), in nanoseconds. This method uses an asynchronous callback to return the result.
@@ -4148,4 +4475,631 @@ Describes an audio device.
| Name | Description |
| -------- | -------- |
| AudioDeviceDescriptors | Array of **AudioDeviceDescriptor** objects. It is read-only.<br/>**System capabilities:** SystemCapability.Multimedia.Audio.Device |
\ No newline at end of file
| AudioDeviceDescriptors | Array of **AudioDeviceDescriptor** objects. It is read-only.<br/>**System capabilities:** SystemCapability.Multimedia.Audio.Device |
Obtains the timestamp in Unix epoch time (starts from January 1, 1970), in nanoseconds. This method uses an asynchronous callback to return the result.