コード例 #1
0
 public virtual async Task GeolocationEvent(GeolocationResult args)
 {
     if (_locationResultCallback is not null)
     {
         await _locationResultCallback(args);
     }
 }
        public override async Task GeolocationEvent(GeolocationResult args)
        {
            await base.GeolocationEvent(args);

            if (DotNetObjectReference is not null)             //Callback supplied only with
            {
                DotNetObjectReference.Dispose();
            }
        }