@ua/react-native-airship
Version:
Airship plugin for React Native apps.
24 lines • 633 B
TypeScript
/**
* Manages locale used by Airship messaging.
*/
export declare class AirshipLocale {
private readonly module;
constructor(module: any);
/**
* Sets the locale override.
* @param localeIdentifier The locale identifier.
* @returns A promise.
*/
setLocaleOverride(localeIdentifier: string): Promise<void>;
/**
* Clears the locale override.
* @returns A promise.
*/
clearLocaleOverride(): Promise<void>;
/**
* Gets the current locale.
* @returns A promise with the result.
*/
getLocale(): Promise<string>;
}
//# sourceMappingURL=AirshipLocale.d.ts.map