Notification.FLAG_FOREGROUND_SERVICE: this notification represents a currently running service.表示某个正在启动后台服务;
Notification.FLAG_ONLY_ALTER_ONCE: set if you want the sound and/or vibration play each t……
[/Quote]
它们有什么效果?
Notification.FLAG_FOREGROUND_SERVICE: this notification represents a currently running service.表示某个正在启动后台服务;
Notification.FLAG_ONLY_ALTER_ONCE: set if you want the sound and/or vibration play each time the notification is sent.每次提示通知的时候会发出提示音或振动;
Notification.FLAG_SHOW_LIGHT: should be set if you want the LED on for this notification.每次提示通知的时候打开LED提示灯