@flagship.io/js-sdk
Version:
16 lines (15 loc) • 612 B
TypeScript
import { HitAbstract, IHitAbstract } from './HitAbstract';
export declare const ERROR_MESSAGE = "Screen name is required";
export interface IScreen extends IHitAbstract {
documentLocation: string;
}
export declare class Screen extends HitAbstract implements IScreen {
private _documentLocation;
get documentLocation(): string;
set documentLocation(v: string);
constructor(param: Omit<IScreen, 'type' | 'createdAt' | 'visitorInstanceId' | 'traffic'>);
isReady(checkParent?: boolean): boolean;
toApiKeys(): any;
toObject(): Record<string, unknown>;
getErrorMessage(): string;
}