INNER CODE UNIT · TypeScript
requestAuthorization
Agontuk/react-native-geolocation-service · index.d.ts:80
export function requestAuthorization(
authorizationLevel: AuthorizationLevel
): Promise<AuthorizationResult>;
export function getCurrentPosition(
successCallback: SuccessCallback,
errorCallback?: ErrorCallback,
options?: GeoOptions
): void;
export function watchPosition(
successCallback: SuccessCallback,
errorCallback?: ErrorCallback,
options?: GeoWatchOptions
): number;
export function clearWatch(watchID: number): void;