コード例 #1
0
        protected override void PlatformSpecificStart(MvxLocationOptions options)
        {
            if (_locationHandler == null)
            {
                _locationHandler = new FusedLocationHandler(this, Context);
            }

            _locationHandler.StartAsync(options).GetAwaiter();
        }
コード例 #2
0
        protected override ValueTask PlatformSpecificStart(MvxLocationOptions options)
        {
            if (_locationHandler == null)
            {
                _locationHandler = new FusedLocationHandler(this, Context);
            }

            return(new ValueTask(_locationHandler.StartAsync(options)));
        }