Manual Reference Source Test
import VuforiaTargetModel from 'clinical6/src/models/VuforiaTarget.js'
public class | source

VuforiaTargetModel

Direct Subclass:

VuforiaTarget
this class was deprecated. Model representing a Vuforia Target.

Constructor Summary

Public Constructor
public

constructor(response: Object)

Member Summary

Public Members
public

[key]: Any

public get
public get

Method Summary

Public Methods
public

get(key: String): Any

Gets the value based on a key

public

set(key: String, value: Any)

Sets the value based on a key

Public Constructors

public constructor(response: Object) source

Params:

NameTypeAttributeDescription
response Object

JSON formatted default response of a dynamic content

response.vuforia_id String

The vuforia ID value

response.name String

The name of the Vuforia target

response.image Object

The image values associated with the vuforia target

response.mp4_video String

MP4 video associated with the vuforia target

response.callbacks Array

Callback data of the vuforia target.

Public Members

public [key]: Any source

public get vuforiaId: String source

public get vuforiaTargetName: String source

Public Methods

public get(key: String): Any source

Gets the value based on a key

Params:

NameTypeAttributeDescription
key String

Key of the item to store

Return:

Any

Value of the stored item

Decorators:

  • deprecate

public set(key: String, value: Any) source

Sets the value based on a key

Params:

NameTypeAttributeDescription
key String

Key of the item to store

value Any

Value of the item to store

Decorators:

  • deprecate