Skip to main content

installations.api

API Report File for "@firebase/installations"

Do not edit this file. It is a report generated by API Extractor.


import { FirebaseApp } from '@firebase/app';

// @public
export function deleteInstallations(installations: Installations): Promise;

// @internal
export interface _FirebaseInstallationsInternal {
getId(): Promise<string>;
getToken(forceRefresh?: boolean): Promise<string>;
}

// @public
export function getId(installations: Installations): Promise<string>;

// @public
export function getInstallations(app?: FirebaseApp): Installations;

// @public
export function getToken(installations: Installations, forceRefresh?: boolean): Promise<string>;

// @public
export type IdChangeCallbackFn = (installationId: string) => void;

// @public
export type IdChangeUnsubscribeFn = () => void;

// @public
export interface Installations {
app: FirebaseApp;
}

// @public
export function onIdChange(installations: Installations, callback: IdChangeCallbackFn): IdChangeUnsubscribeFn;