1 /** 2 * The type of redux action to set the AppState API change event listener. 3 * 4 * { 5 * type: _SET_APP_STATE_LISTENER, 6 * listener: Function 7 * } 8 * 9 * @protected 10 */ 11 export const _SET_APP_STATE_LISTENER = '_SET_APP_STATE_LISTENER'; 12 13 /** 14 * The type of redux action which signals that the app state has changed (in 15 * terms of execution mode). The app state can be one of 'active', 'inactive', 16 * or 'background'. 17 * 18 * { 19 * type: APP_STATE_CHANGED, 20 * appState: string 21 * } 22 * 23 * @public 24 * @see {@link https://facebook.github.io/react-native/docs/appstate.html} 25 */ 26 export const APP_STATE_CHANGED = 'APP_STATE_CHANGED';