The media playback client encapsulates the seek interface in the background of media playback. In addition
Encapsulation of special playback requirements, such as repeated playback, progressive playback, and display playback. Vibration is the same as flashlight control,
The interface is also implemented here.
Scene mode, which is closely related to media playback. Unified interfaces are used for playing all reminder classes,
Make all types of playback consistent. For example, the mute mode is not required, the vibration mode is required, and the sound is switched to vibration.
The client requests the background to create a playback object using the playback object name. The playing object contains the following information:
Play OBJECT tag, play file name, Play device, play object priority, play volume, play recovery action.
For each playback request, a corresponding playback object will be created for it. In the mobile phone system, our playback objects mainly include the following:
Playback objects:
Phone background audio playback objects:
Phone recording objects:
Call ringtone playback object:
The playback object of the alarm.
Events and reminder playback objects
Media Player objects
Recording object: