Created
November 28, 2019 14:01
-
-
Save TBertuzzi/2e568d95f9c5a6b176a9c263ef6fde69 to your computer and use it in GitHub Desktop.
Shiny
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Threading.Tasks; | |
using Shiny.Locations; | |
namespace ExemploShiny.Delegates | |
{ | |
public class LocationDelegates : IGeofenceDelegate, IGpsDelegate | |
{ | |
public Task OnReading(IGpsReading reading) | |
{ | |
//Aqui voce Pode Implementar um Delagate para o GPS | |
return null; | |
} | |
public async Task OnStatusChanged(GeofenceState newStatus, GeofenceRegion region) | |
{ | |
//Aqui voce Pode implementar um Delegate pra Geofence | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment