+ | RepeatPerDay : uint |
重复通知的类型,按日重复通知,值是4。 示例
|
+ | RepeatPerHour : uint |
重复通知的类型,按小时重复通知,值是5。 示例
|
+ | RepeatPerMinute : uint |
重复通知的类型,按分钟重复通知,值是6。 示例
|
+ | RepeatPerMonth : uint |
重复通知的类型,按月重复通知,值是3。 示例
|
+ | RepeatPerYear : uint |
重复通知的类型,按年重复通知,值是2。 示例
|
+ | _notify : _Notification |
程序开始时自动创建。脚本中应该使用此对象。 |
+ | function cancel(id: uint) : void |
取消单个本地通知。
|
+ | function cancelAll( ) : void |
取消所有本地通知。
|
+ | function notify(id: uint, date : string, title : string, content : string, number : uint) : void |
注册本地通知。
|
+ | function remoteNotify(account: string, appid : uint, appkey : string) : void |
注册服务器通知。
|
+ | function repeatNotify(id: uint, date : string, title : string, content : string, type : uint) : void |
注册本地重复通知。
|