mirror of
https://github.com/cheveguerra/Pusher_2.0.git
synced 2026-04-19 12:19:27 +00:00
Cambios en como se reciben y reacciona a actualizaciones.
This commit is contained in:
6
subs.bas
6
subs.bas
@@ -153,6 +153,7 @@ Sub notiHigh(title As String, body As String, id As String, activity As Object)
|
||||
activity = Main
|
||||
Private notif As Notification
|
||||
notif.Initialize2(notif.IMPORTANCE_HIGH)
|
||||
notif.OnGoingEvent = True
|
||||
notif.Icon = "icon"
|
||||
notif.Vibrate = False
|
||||
notif.Sound = False
|
||||
@@ -163,6 +164,11 @@ Sub notiHigh(title As String, body As String, id As String, activity As Object)
|
||||
notif.Notify(id)
|
||||
End Sub
|
||||
|
||||
Sub cancelNoti(id) 'ignore
|
||||
Private notif As Notification 'ignore
|
||||
notif.Cancel(id)
|
||||
End Sub
|
||||
|
||||
'Geo-Zone Determination (Point in Polygon)
|
||||
'Use this to determine If a vehicle is within a defined zone made of 5 or more lat/lon coordinates.
|
||||
'Point 1 Is also Point 5 (first point And last point are same value).
|
||||
|
||||
Reference in New Issue
Block a user