File

src/services/android-permissions/android-permission.ts

Index

Properties

Properties

hasPermission
hasPermission: boolean
Type : boolean
Optional
isPermissionAlwaysDenied
isPermissionAlwaysDenied: boolean
Type : boolean
Optional
export enum AndroidPermission {
  CAMERA = 'android.permission.CAMERA',
  WRITE_EXTERNAL_STORAGE = 'android.permission.WRITE_EXTERNAL_STORAGE',
  ACCESS_FINE_LOCATION = 'android.permission.ACCESS_FINE_LOCATION',
  RECORD_AUDIO = 'android.permission.RECORD_AUDIO'
}

export interface AndroidPermissionsStatus {
  hasPermission?: boolean;
  isPermissionAlwaysDenied?: boolean;
}
export interface PermissionAsked {
  isCameraAsked: boolean;
  isStorageAsked: boolean;
  isRecordAudioAsked: boolean;
}
export enum PermissionAskedEnum {
isCameraAsked = 'isCameraAsked',
isStorageAsked = 'isStorageAsked',
isRecordAudioAsked = 'isRecordAudioAsked'
}

results matching ""

    No results matching ""