Notify - уведомления¶
- class
Notify
()¶ CreateNotify()
-
Notify.
Cancel
()¶ Выключить/удалить уведомление
notify.Cancel()
-
Notify.
Notify
()¶ Отправить уведомление
notify.Notify()
-
Notify.
SetLargeImage
(img)¶ Установить изображение уведомления
notify.SetLargeImage('/Img/hello.png');
-
Notify.
SetLights
(color, ?, ?)¶ Включает индикатор уведомлени, включается если только экран выключен
notify.SetLights('#00ffff', 500, 500);
-
Notify.
SetMessage
(message, title, details)¶ notify.SetMessage('Notification', 'title', 'details');
-
Notification.Cancel(id) id is optional and must match .Notify(id) Notification.Destroy() Notification.GetType() Notification.Notify(id) id is optional Notification.Release() Notification.SetLargeImage( file ) Notification.SetLights( color,onMs,offMs ) Notification.SetMessage( ticker,title,text )