Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
web:notifier [2018/02/06 19:15]
agcyphers [Events]
web:notifier [2018/04/14 16:09] (current)
Line 17: Line 17:
 ==== Methods ==== ==== Methods ====
 ^ Definition ​     ^ Description ​      ^ ^ Definition ​     ^ Description ​      ^
-| ShowNotification( notificationName as [[http://​developer.xojo.com/​string|String]],​ Title as [[http://​developer.xojo.com/​string|String]],​ Body as [[http://​developer.xojo.com/​string|String]],​ CloseDelay as [[http://​developer.xojo.com/​integer|Integer]] = 0, Icon as [[http://​developer.xojo.com/​string|String]] = ""​ | Shows a desktop notification (or a request for access) on the user's computer. ​ Icon should be a URL. |+| CloseAll() | Closes all notifications currently open. | 
 +| CoseNotification( notificationName as [[http://​developer.xojo.com/​string|String]] ) | Closes notification(s) currently open whose notificationName match the parameter. | 
 +| ShowNotification( notificationName as [[http://​developer.xojo.com/​string|String]],​ Title as [[http://​developer.xojo.com/​string|String]],​ Body as [[http://​developer.xojo.com/​string|String]],​ CloseDelay as [[http://​developer.xojo.com/​integer|Integer]] = 0, Icon as [[http://​developer.xojo.com/​string|String]] = ""​, ParamArray Vibration as Integer ​| Shows a desktop notification (or a request for access) on the user's computer. ​ Icon should be a URL. Vibration should be a list of parameters specifying length of vibrations in milliseconds. (100, 200, 300) would be a vibration of 100 milliseconds,​ a pause, a vibration of 200 milliseconds,​ a pause, then a vibration of 300 milliseconds. |
 ==== Properties ==== ==== Properties ====
 ^ Name      ^ Type       ^ Default Value       ^ Description ​      ^ ^ Name      ^ Type       ^ Default Value       ^ Description ​      ^
  • Last modified: 14 months ago
  • (external edit)