UNPKG

@swrve/smarttv-sdk

Version:

Swrve marketing engagement platform SDK for SmartTV OTT devices

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