@swrve/smarttv-sdk
Version:
Swrve marketing engagement platform SDK for SmartTV OTT devices
70 lines (69 loc) • 3.88 kB
TypeScript
export declare const sdkVersion: string;
export declare const SWRVE_DEVICE_NAME = "swrve.device_name";
export declare const SWRVE_OS = "swrve.os";
export declare const SWRVE_OS_VERSION = "swrve.os_version";
export declare const SWRVE_DEVICE_WIDTH = "swrve.device_width";
export declare const SWRVE_DEVICE_HEIGHT = "swrve.device_height";
export declare const SWRVE_DEVICE_DPI = "swrve.device_dpi";
export declare const SWRVE_LANGUAGE = "swrve.language";
export declare const SWRVE_UTC_OFFSET_SECONDS = "swrve.utc_offset_seconds";
export declare const SWRVE_TIMEZONE_NAME = "swrve.timezone_name";
export declare const SWRVE_SDK_VERSION = "swrve.sdk_version";
export declare const SWRVE_SDK_FLAVOUR = "swrve.sdk_flavour";
export declare const SWRVE_APP_STORE = "swrve.app_store";
export declare const SWRVE_INSTALL_DATE = "swrve.install_date";
export declare const SWRVE_DEVICE_REGION = "swrve.device_region";
export declare const SWRVE_COUNTRY_CODE = "swrve.country_code";
export declare const SWRVE_DEVICE_ID = "swrve.device_id";
export declare const SWRVE_USER_ID = "swrve.user_id";
export declare const SWRVE_CAMPAIGN_STATUS_UNSEEN = "unseen";
export declare const SWRVE_CAMPAIGN_STATUS_SEEN = "seen";
export declare const SWRVE_CAMPAIGN_STATUS_DELETED = "deleted";
export declare const SWRVE_AUTOSHOW_AT_SESSION_START_TRIGGER = "Swrve.Messages.showAtSessionStart";
export declare const SWRVE_DEVICE_TYPE = "swrve.device_type";
export declare const SWRVE_PAYLOAD_DEVICE_TYPE_TV = "tv";
export declare const SWRVE_INIT_MODE = "swrve.sdk_init_mode";
export declare const SWRVE_TRACKING_STATE = "swrve.tracking_state";
export declare const DISMISS = "DISMISS";
export declare const CUSTOM = "CUSTOM";
export declare const PAGE_LINK = "PAGE_LINK";
export declare const COPY_TO_CLIPBOARD = "COPY_TO_CLIPBOARD";
export declare const SWRVE_IAM_CONTAINER = "SwrveIAMContainer";
export declare const GLOBAL_CAMPAIGN_THROTTLE_MAX_IMPRESSIONS = 11;
export declare const GLOBAL_CAMPAIGN_THROTTLE_RECENT = 12;
export declare const GLOBAL_CAMPAIGN_THROTTLE_LAUNCH_TIME = 13;
export declare const CAMPAIGN_THROTTLE_RECENT = 0;
export declare const CAMPAIGN_THROTTLE_MAX_IMPRESSIONS = 1;
export declare const CAMPAIGN_THROTTLE_LAUNCH_TIME = 2;
export declare const CAMPAIGN_NOT_ACTIVE = 4;
export declare const CAMPAIGN_ERROR_INVALID_TRIGGERS = 5;
export declare const CAMPAIGN_NO_MATCH = 6;
export declare const CAMPAIGN_MATCH = 7;
export declare const CAMPAIGN_NOT_DOWNLOADED = 8;
export declare const CAMPAIGN_ELIGIBLE_BUT_OTHER_CHOSEN = 10;
export declare const CAMPAIGN_COULD_NOT_PERSONALIZE = 11;
export declare const CAMPAIGN_STATE = "campaignState.";
export declare const CAMPAIGNS = "campaigns.";
export declare const REAL_TIME_USER_PROPERTIES = "real_time_user_properties.";
export declare const EXISTING_EXTERNAL_ID = "existing_external_id";
export declare const TRACKING_STATE = "trackingState";
export declare const SwrveTrackingStates: {
readonly UNKNOWN: "UNKNOWN";
readonly STARTED: "STARTED";
readonly EVENT_SENDING_PAUSED: "EVENT_SENDING_PAUSED";
readonly STOPPED: "STOPPED";
};
export declare const SwrveTrackingState: {
readonly UNKNOWN: "UNKNOWN";
readonly STARTED: "STARTED";
readonly EVENT_SENDING_PAUSED: "EVENT_SENDING_PAUSED";
readonly STOPPED: "STOPPED";
};
export declare type SwrveTrackingState = typeof SwrveTrackingStates[keyof typeof SwrveTrackingStates];
export declare const APP_ID_ERROR: string;
export declare const INVALID_FUNCTION = "Please pass a valid function to $.";
export declare const GET_INSTANCE_ERROR = "Please call SwrveSDK.getInstance() first.";
export declare const INVALID_EVENT_NAME = "Event name may not contain the word Swrve.";
export declare const NO_SYNCHRONOUS_STORAGE = "Local Storage is not available.";
export declare const IAM_CSS_CLASS_NAME = "swrve-iam";
export declare const DEFAULT_IAM_STYLE: string;