UNPKG

@swrve/smarttv-sdk

Version:

Swrve marketing engagement platform SDK for SmartTV OTT devices

23 lines (22 loc) 812 B
import { ISwrveImage, ISwrveAsset } from "../Campaigns/ISwrveCampaign"; import IDictionary from "../utils/IDictionary"; export declare class SwrveImage implements ISwrveAsset { private _image; private _cdn; private _scale; private _hasDynamicUrl; private _isSingleLineText; private _personalizationProperties?; constructor(image: ISwrveImage, cdn: string, personalizationProperties?: IDictionary<string>, scale?: number); get image(): ISwrveImage; get scale(): number | undefined; get hasDynamicUrl(): boolean; get isSingleLineText(): boolean; canRender(): boolean; getAssetID(): string | number; getAssetPath(): string; getWidth(): number; getHeight(): number; private resolveOrFallbackUrlPersonalization; private resolveTextTemplating; }