Home Reference Source Test Repository
public class | source

Action

Actions that can be recorded for recommendations. For more detail on user rating actions, see our narrative Listening Service documentation

Static Member Summary

Static Public Members
public static get
public static get
public static get
public static get
public static get
public static get
public static get
public static get
public static get
public static get

Static Method Summary

Static Public Methods
public static

Actions which indicate the recommendation is no longer being presented to the user

public static

Actions which should result in the flow advancing

public static

Returns whether a given action is valid or not

Static Public Members

public static get COMPLETED: string source

Test:

public static get PASS: string source

Test:

public static get SHARE: string source

Test:

public static get SKIP: string source

Test:

public static get SRCHCOMPL: string source

Test:

public static get SRCHSTART: string source

Test:

public static get START: string source

Test:

public static get TAPTHRU: string source

Test:

public static get THUMBUP: string source

Test:

public static get TIMEOUT: string source

Test:

Static Public Methods

public static getEndActions(): Array<string> source

Actions which indicate the recommendation is no longer being presented to the user

Return:

Array<string>

Test:

public static getFlowAdvancingActions(): Array<string> source

Actions which should result in the flow advancing

Return:

Array<string>

Test:

public static isValidAction(action: string): boolean source

Returns whether a given action is valid or not

Params:

NameTypeAttributeDescription
action string

Return:

boolean

Test: