• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# Constants
2
3> **NOTE**
4>
5> The initial APIs of this module are supported since API version 7. Newly added APIs will be marked with a superscript to indicate their earliest API version.
6
7| Name                                   | Type     | Read-Only| Description              |
8| --------------------------------------- | ----------|---| ------------------ |
9| DEFAULT_VOLUME_GROUP_ID<sup>9+</sup>    | number    | Yes| Default volume group ID.<br>**System capability**: SystemCapability.Multimedia.Audio.Volume      |
10| DEFAULT_INTERRUPT_GROUP_ID<sup>9+</sup> | number    | Yes| Default audio interruption group ID.<br>**System capability**: SystemCapability.Multimedia.Audio.Interrupt      |
11
12**Example**
13
14```ts
15import { audio } from '@kit.AudioKit';
16
17const defaultVolumeGroupId = audio.DEFAULT_VOLUME_GROUP_ID;
18const defaultInterruptGroupId = audio.DEFAULT_INTERRUPT_GROUP_ID;
19```
20