我似乎找不到任何方法来设置通知到达大视图(通知中的多行消息)。有谁知道如何设置这个东西?
这是原生android = Native Android Notification Big View
的示例答案 0 :(得分:0)
这可以帮助您设置本地通知,如果这是您所指的:
http://docs.coronalabs.com/guide/events/appNotification/index.html#localnot
示例代码:
local futureTime = 9 * 60 --9 minute alarm "snooze"
--OR:
local futureTime = os.date( "!*t", os.time() + (9 * 60) )
local options = {
alert = "Wake up!",
badge = native.getProperty( "applicationIconBadgeNumber" ) + 1,
sound = "alarm.caf",
custom = { msg = "Alarm" }
}
local notificationID = system.scheduleNotification( futureTime, options )