コード例 #1
0
 public async Task WatchPositionResponse(Position position)
 {
     GeolocationSensorService.NotifyPositionResponse(position);
     await OnValue.InvokeAsync(position);
 }
コード例 #2
0
 public async Task NotifyReading(int illuminance)
 {
     AmbientLightSensorService.NotifyAmbientLightReading(illuminance);
     await OnValue.InvokeAsync(illuminance);
 }