Primitives / foldkit-primitives/device

GeolocationMessage

const · packages/primitives/src/device/geolocation.ts:22

const GeolocationMessage: MessageUnion<{
  readonly Located: {
    readonly latitude: Schema.Number
    readonly longitude: Schema.Number
    readonly accuracy: Schema.Number
  }
  readonly Denied: {}
  readonly Failed: { readonly message: Schema.String }
}>

Its type

type GeolocationMessage = typeof GeolocationMessage.Type