UNPKG

@ua/react-native-airship

Version:
43 lines 1.36 kB
import { LiveUpdate, LiveUpdateListRequest, LiveUpdateStartRequest, LiveUpdateUpdateRequest, LiveUpdateEndRequest } from './types'; /** * Live Update manager. */ export declare class AirshipLiveUpdateManager { private readonly module; constructor(module: any); /** * Lists any Live Updates for the request. * @param request The request options. * @returns A promise with the result. */ list(request: LiveUpdateListRequest): Promise<LiveUpdate[]>; /** * Lists all Live Updates. * @returns A promise with the result. */ listAll(): Promise<LiveUpdate[]>; /** * Starts a Live Update. * @param request The request options. * @returns A promise with the result. */ start(request: LiveUpdateStartRequest): Promise<void>; /** * Updates a Live Update. * @param request The request options. * @returns A promise with the result. */ update(request: LiveUpdateUpdateRequest): Promise<void>; /** * Ends a Live Update. * @param request The request options. * @returns A promise with the result. */ end(request: LiveUpdateEndRequest): Promise<void>; /** * Clears all Live Updates. * @returns A promise with the result. */ clearAll(): Promise<void>; } //# sourceMappingURL=AirshipLiveUpdateManager.d.ts.map