@swrve/smarttv-sdk
Version:
Swrve marketing engagement platform SDK for SmartTV OTT devices
9 lines (8 loc) • 459 B
TypeScript
import { IUserResource } from "../Campaigns/ISwrveCampaign";
export declare class SwrveResource {
readonly getAttributeAsString: (attributeId: string, defaultValue: string) => string;
readonly getAttributeAsNumber: (attributeId: string, defaultValue: number) => number;
readonly getAttributeAsBoolean: (attributeId: string, defaultValue: boolean) => boolean;
readonly toJSON: () => IUserResource;
constructor(attributes: IUserResource);
}