Skip to main content

Class: ExampleFeature2

A second example feature for reference documentation purposes

Hierarchy

  • FeatureBase

    ExampleFeature2

Constructors

constructor

new ExampleFeature2()

Inherited from

FeatureBase.constructor

Properties

_

Readonly _: Object = {}

Type declaration

NameType
impression?Impression<"ExampleFeature" | "ExampleFeature2">
impressionId?string

Inherited from

FeatureBase._


exampleInt

Readonly exampleInt: number = 0

An example string argument


exampleOutput

Readonly exampleOutput: number = 1

An example int output

Control: 1


featureName

Optional featureName: string

Inherited from

FeatureBase.featureName

Methods

signalRating

signalRating(__namedParameters): void

Example string event

Parameters

NameType
__namedParametersObject
__namedParameters.exampleEventstring

Returns

void


signalRating

Static signalRating(sessionKeys, impressionId, __namedParameters): void

Example string event

Parameters

NameType
sessionKeysPartial<{ deviceId: undefined | string = s.deviceId }> | Session
impressionIdstring
__namedParametersObject
__namedParameters.exampleEventstring

Returns

void