1export {
2  PermissionResponse,
3  PermissionStatus,
4  PermissionExpiration,
5  PermissionHookOptions,
6} from 'expo-modules-core';
7
8// @needsAudit
9/**
10 * Describes the current generation of the cellular connection. It is an enum with these possible
11 * values:
12 */
13export enum CellularGeneration {
14  /**
15   * Either we are not currently connected to a cellular network or type could not be determined.
16   */
17  UNKNOWN = 0,
18  /**
19   * Currently connected to a 2G cellular network. Includes CDMA, EDGE, GPRS, and IDEN type connections.
20   */
21  CELLULAR_2G = 1,
22  /**
23   * Currently connected to a 3G cellular network. Includes EHRPD, EVDO, HSPA, HSUPA, HSDPA, and UTMS type connections.
24   */
25  CELLULAR_3G = 2,
26  /**
27   * Currently connected to a 4G cellular network. Includes HSPAP and LTE type connections.
28   */
29  CELLULAR_4G = 3,
30  /**
31   * Currently connected to a 5G cellular network. Includes NR and NRNSA type connections.
32   */
33  CELLULAR_5G = 4,
34}
35