mirror of
https://github.com/farcasclaudiu/BlazorDeviceInterop.git
synced 2026-06-22 07:01:03 +03:00
21 lines
668 B
C#
21 lines
668 B
C#
using System;
|
|
|
|
namespace Darnton.Blazor.DeviceInterop.Geolocation
|
|
{
|
|
/// <summary>
|
|
/// The reason for a Geolocation error, based on <see href="https://developer.mozilla.org/en-US/docs/Web/API/GeolocationPositionError"/>.
|
|
/// </summary>
|
|
public class GeolocationPositionError
|
|
{
|
|
/// <summary>
|
|
/// The <see cref="GeolocationPositionErrorCode"/> for the error.
|
|
/// </summary>
|
|
public GeolocationPositionErrorCode Code { get; set; }
|
|
|
|
/// <summary>
|
|
/// Details of the error. Intended for debugging rather than display to the user.
|
|
/// </summary>
|
|
public string Message { get; set; }
|
|
}
|
|
}
|