INNER CODE UNIT · TypeScript
setAlertLevel
OneSignal/react-native-onesignal · src/index.ts:171
export function setAlertLevel(visualLogLevel: LogLevel) {
if (!isNativeModuleLoaded(RNOneSignal)) return;
RNOneSignal.setAlertLevel(visualLogLevel);
}
}
export namespace LiveActivities {
/**
* Indicate this device has entered a live activity, identified within OneSignal by the `activityId`.
*
* Only applies to iOS
*
* @param activityId: The activity identifier the live activity on this device will receive updates for.
* @param token: The activity's update token to receive the updates.
**/
export function enter(
activityId: string,