Ringtone Kit is a tool library for setting ringtones. By using Ringtone Kit, you can set ringtones for HarmonyOS apps, providing users with a simple, consistent, secure, and high-quality ringtone setting experience.
Ringtone Kit allows you to set audio and video files to multiple ringtone types to meet various requirements.
Multiple ringtone types: Users can set the ringtone for incoming calls, notifications, SMS messages, and alarms.
Ringtones for dual SIM cards: Ringtones for incoming calls and SMS messages can be different for dual SIM cards.
Quick ringtone management: Users can tap My ringtone to go to Settings > Sounds & vibration on the mobile phone for ringtone management.
The following figure shows the effect of the ringtone setting component.

The sample is only supported on Huawei phones and tablets with standard systems.
If the required conditions are not met, some functions are unavailable.
If the HarmonyOS device does not support a SIM card, the ringtone settings for incoming calls and SMS messages will not be available.
The maximum duration of a ringtone is 5 minutes.
This kit is supported on the Emulator.
There are some general differences between the Emulator and real devices. For details, please refer to Differences Between the Emulator and the Real Device.