22 #ifndef BANNERMESSAGEHANDLER_H
23 #define BANNERMESSAGEHANDLER_H
36 class BannerMessageEvent;
39 class ActiveCallBannerEvent;
92 const std::string& msgId,
93 const std::string& msg,
94 const std::string& launchParams,
95 const std::string& icon,
96 const std::string& soundClass,
97 const std::string& soundFile,
102 const std::string& msgId);
108 sptr<SoundPlayer>
playSound(
const std::string& appId,
const std::string& soundClass,
109 const std::string& soundFile,
int duration,
bool loop=
false,
110 bool wakeupScreen=
false);
123 int msgCount()
const;
125 bool isDefaultNotificationSound(
const std::string& filePath)
const;
126 bool isDefaultAlertSound(
const std::string& filePath)
const;
127 std::string pulseAudioSinkName(
const std::string& streamClass)
const;
135 void aboutToShowBanner();
136 void aboutToHideBanner();
137 void bannerPositionChanged();
138 void bannerStateMachineFinished();