Namespaces
Methods
-
Retrieves a list of tags that are available to be added to an experience record
-
Name Type Description arTargetIdnumber identifies the record to return
tagstring the tag to add
requestOptionsany configure callbacks
-
Appearition.ArTargetImageAndMedia.AddTargetMarkerFromContentItem (arTargetId, request, requestOptions) static
Set the image from a content item to be a target marker of the experience. If the content item has an image in the files collection, the first image will be used. If there are no images, it will look to use the thumbnail
-
Name Type Description arTargetIdnumber Uniquely identifies the AR Target record
requestAppearition.ArTargetImageAndMedia.AddTargetMarkerFromContentItemViewModel Contains the details of the content item to
requestOptionsany Contains the parameters of Channel Id and any configured callbacks on a successful or failed request
-
Retrieves a list of content media types available to the user
-
Name Type Description requestOptionsany configure callbacks
-
Retrieves a list of data media types available to the user
-
Name Type Description requestOptionsany configure callbacks
-
Retrieves a list of data transform providers available to the user
-
Name Type Description requestOptionsany configure callbacks
-
Retrieves the copyright info of as specific experience record
-
Name Type Description arTargetIdnumber identifies the experience record
requestOptionsany configure callbacks
-
Creates a new AR record
-
Name Type Description requestAppearition.ArTargetImageAndMedia.CreateRequest holds the data that will be created
requestOptionsany configure callbacks
-
Creates a new media item on the AR record
-
Name Type Description arTargetIdnumber identifies the AR record
requestAppearition.ArTargetImageAndMedia.CreateMediaRequest hold the data that will sent to be updated
requestOptionsany configure callbacks
-
Appearition.ArTargetImageAndMedia.CreatePreviewMediaWithFile (arTargetId, ordinal, isPrivate, fileName, fileContent, requestOptions)Appearition.ArTargetImageAndMedia.PreviewMediaViewModel static
This method adds a media file as a preview item to an AR Target record.
-
Name Type Description arTargetIdnumber Uniquely identifies the AR Target record
ordinalnumber The ordinal position of the preview media relative to all the other preview media
isPrivateboolean If TRUE, then a public open URL will be made available. If FALSE, then only via API call to the platform can the file be read
fileNamestring The name of the file being sent up to the server
fileContentstring The file contents that need to be sent up to the server
requestOptionsany Contains the parameters of Channel Id and any configured callbacks on a successful or failed request
Returns:
Type Description Appearition.ArTargetImageAndMedia.PreviewMediaViewModel -
Appearition.ArTargetImageAndMedia.CreatePreviewMediaWithUrl (arTargetId, ordinal, url, requestOptions)Appearition.ArTargetImageAndMedia.PreviewMediaViewModel static
This method adds a public URL as a preview item to an AR Target record.
-
Name Type Description arTargetIdnumber Uniquely identifies the AR Target record
ordinalnumber The ordinal position of the preview media relative to all the other preview media
urlstring A public URL which will serve the preview file
requestOptionsany Contains the parameters of Channel Id and any configured callbacks on a successful or failed request
Returns:
Type Description Appearition.ArTargetImageAndMedia.PreviewMediaViewModel -
Retrieve data stream for a given asset
-
Name Type Description requestAppearition.ArTargetImageAndMedia.DataByAssetRequest Contains the asset id that uniquely identifies the AR experience record and the list of key value pairs that are applied to the data query for this request see DataByAssetRequest
requestOptionsany Contains the parameters of Channel Id and any configured callbacks on a successful or failed request
-
Retrieve data stream for a given ar target
-
Name Type Description requestAppearition.ArTargetImageAndMedia.DataByKeyRequest Contains the asset id that uniquely identifies the AR experience record and the list of key value pairs that are applied to the data query for this request see DataByAssetRequest
requestOptionsany Contains the parameters of Channel Id and any configured callbacks on a successful or failed request
-
Appearition.ArTargetImageAndMedia.DeletePreviewMedia (arTargetId, previewMediaId, ordinal, requestOptions) static
Deletes the given preview media from the AR Target record
-
Name Type Description arTargetIdnumber Uniquely identifies the AR Target record
previewMediaIdnumber Uniquely identifies preview media on the AR Target record
ordinalnumber The ordinal position of the preview media relative to all the other preview media
requestOptionsany Contains the parameters of Channel Id and any configured callbacks on a successful or failed request
-
Retrieves a specific record with the given id
-
Name Type Description arImageIdnumber identifies the target image to download
requestOptionsany configure callbacks
-
Retrieves a specific record with the given id
-
Name Type Description arTargetIdnumber identifies the record to return
requestOptionsany configure callbacks
-
Retrieves a list of tags that are available to be added to an experience record
-
Name Type Description requestOptionsany configure callbacks
-
Appearition.ArTargetImageAndMedia.GetPricing (arTargetId, requestOptions)Appearition.ArTargetImageAndMedia.PricingViewModel static
Retrieves the pricing information for an AR Target record
-
Name Type Description arTargetIdany uniquely identifies the AR Target record
requestOptionsany configure callbacks
Returns:
Type Description Appearition.ArTargetImageAndMedia.PricingViewModel -
Appearition.ArTargetImageAndMedia.GetTargetImageQuality (arTargetId, arImageId, requestOptions)Appearition.ArTargetImageAndMedia.ArImageQualityViewModel static
Retrieves the quality information of a target image for an AR Target record
-
Name Type Description arTargetIdany uniquely identifies the AR Target record
arImageIdany identifies the target image on the AR Target record
requestOptionsany configure callbacks
Returns:
Type Description Appearition.ArTargetImageAndMedia.ArImageQualityViewModel -
Retrieves a base64 serialised version of the file that the given URL links to
-
Name Type Description urlstring Contains the link to the file being downloaded
requestOptionsany Contains the configured callback on a successful request
-
Retrieves AR Experiences from the Appearition platform for the specified filter criteria
-
Name Type Description requestany data structure holds the filter and paging information for the server
requestOptionsany configure callbacks
-
Retrieves published AR Experiences filtered by given category and probability
-
Name Type Description requestOptionsany Contains the parameters of category and probability and any configured callbacks on a successful or failed request
-
Retrieves all of the published AR Experiences from the Appearition platform for the specified tenant and channel
-
Name Type Description requestOptionsany configure callbacks
-
Appearition.ArTargetImageAndMedia.ListPreviewMedia (arTargetId, requestOptions)Array.<Appearition.ArTargetImageAndMedia.PreviewMediaViewModel> static
Retrieves the list of preview media files for an AR Target record
-
Name Type Description arTargetIdany uniquely identifies the AR Target record
requestOptionsany configure callbacks
Returns:
Type Description Array.<Appearition.ArTargetImageAndMedia.PreviewMediaViewModel> -
Locks the experience to prevent any changes
-
Name Type Description arTargetIdnumber identifies the record to lock
requestOptionsany configure callbacks
-
Retrieve the media for a given asset. If the media is a data query, then the query will be executed, the results will be transformed as specified and then returned
-
Name Type Description requestany Contains the asset id that uniquely identifies the AR experience record and the list of key value pairs that are applied to the data query for this request see DataByAssetRequest
requestOptionsany Contains the parameters of Channel Id and any configured callbacks on a successful or failed request
-
Publishes the record
-
Name Type Description arTargetIdnumber identifies the record to return
requestOptionsany configure callbacks
-
Removes the market record from the channel
-
Name Type Description arTargetIdnumber identifies the record to return
requestOptionsany configure callbacks
-
Retrieves a list of tags that are available to be added to an experience record
-
Name Type Description arTargetIdnumber identifies the record to return
tagstring the tag to add
requestOptionsany configure callbacks
-
Removes a target image item from the AR record
-
Name Type Description arTargetIdnumber identifies the AR record
arImageIdnumber identifies the target image
requestOptionsany configure callbacks
-
Removes media item from the AR record
-
Name Type Description arTargetIdnumber identifies the AR record
arMediaIdnumber identifies the media record
requestOptionsany configure callbacks
-
Unlocks the experience to allow changes
-
Name Type Description arTargetIdnumber identifies the record to lock
requestOptionsany configure callbacks
-
Unpublishes the record
-
Name Type Description arTargetIdnumber identifies the record to return
requestOptionsany configure callbacks
-
Updates the copyright of the record
-
Name Type Description arTargetIdnumber identifies the record to return
requestAppearition.ArTargetImageAndMedia.UpdateCopyrightInfoRequest hold the data that will sent to be updated
requestOptionsany configure callbacks
-
Appearition.ArTargetImageAndMedia.UpdateLongDescription (arTargetId, request, requestOptions) static
Updates the long description of the record
-
Name Type Description arTargetIdnumber identifies the record to return
requestAppearition.ArTargetImageAndMedia.UpdateLongDescriptionRequest hold the data that will sent to be updated
requestOptionsany configure callbacks
-
Appearition.ArTargetImageAndMedia.UpdateMediaSettings (arTargetId, arMediaId, request, requestOptions) static
Updates the settings associated with a media item
-
Name Type Description arTargetIdnumber identifies the AR record
arMediaIdnumber identifies the media record on the AR record
requestAppearition.ArTargetImageAndMedia.UpdateMediaSettingsRequest hold the data that will sent to be updated
requestOptionsany configure callbacks
-
Updates the name of the record
-
Name Type Description arTargetIdnumber identifies the record to return
requestAppearition.ArTargetImageAndMedia.UpdateNameRequest hold the data that will sent to be updated
requestOptionsany configure callbacks
-
Appearition.ArTargetImageAndMedia.UpdatePreviewMediaDefault (arTargetId, previewMediaId, isDefault, requestOptions) static
Saves the IsDefault value of the preview media of an AR Target record
-
Name Type Description arTargetIdnumber Uniquely identifies the AR Target record
previewMediaIdnumber Uniquely identifies preview media on the AR Target record
isDefaultnumber TRUE or FALSE
requestOptionsany Contains the parameters of Channel Id and any configured callbacks on a successful or failed request
-
Appearition.ArTargetImageAndMedia.UpdatePreviewMediaOrdinal (arTargetId, previewMediaId, ordinal, requestOptions) static
Saves the ordinal position of the preview media of an AR Target record
-
Name Type Description arTargetIdnumber Uniquely identifies the AR Target record
previewMediaIdnumber Uniquely identifies preview media on the AR Target record
ordinalnumber The ordinal position of the preview media relative to all the other preview media
requestOptionsany Contains the parameters of Channel Id and any configured callbacks on a successful or failed request
-
Appearition.ArTargetImageAndMedia.UpdatePreviewMediaThumbnail (arTargetId, previewMediaId, isThumbnail, requestOptions) static
Saves the IsThumbnail value of the preview media of an AR Target record
-
Name Type Description arTargetIdnumber Uniquely identifies the AR Target record
previewMediaIdnumber Uniquely identifies preview media on the AR Target record
isThumbnailnumber TRUE or FALSE
requestOptionsany Contains the parameters of Channel Id and any configured callbacks on a successful or failed request
-
Saves the pricing information of an AR Target record
-
Name Type Description arTargetIdnumber Uniquely identifies the AR Target record
requestAppearition.ArTargetImageAndMedia.PricingViewModel holds the pricing information
requestOptionsany Contains the parameters of Channel Id and any configured callbacks on a successful or failed request
-
Appearition.ArTargetImageAndMedia.UpdateShortDescription (arTargetId, request, requestOptions) static
Updates the short description of the record
-
Name Type Description arTargetIdnumber identifies the record to return
requestAppearition.ArTargetImageAndMedia.UpdateShortDescriptionRequest hold the data that will sent to be updated
requestOptionsany configure callbacks
Type Definitions
-
Used for the DataByAsset request
-
Properties:
Name Type Description contentItemProviderNamestring Identifies the content library that the item exists in
contentItemKeystring Identifies the item within the content library
-
Holds the quality information of a target image on an AR Target record
-
Properties:
Name Type Description arImageIdnumber Identifies the target image
isReadyboolean Indicates of the image recognition provider has process the image and is ready to start recognising it
isErrorboolean Indicates if something has gone wrong during the processing of the target image for recognition
errorMessagestring Descriptive information explaining the state of the image
isQualityCheckedboolean Indicates if a quality check has been made on the target image
isQualityGoodboolean Indicates if the quality of the image, according to the image recognition provider, is good enough for recognition
isQualityWarningboolean Indicates if the quality of the image, according to the image recognition provider, is OK but there some concern identified
isQualityPoorboolean Indicates if the quality check of the image, according to the image recognition provider, is poor and recognition may not work
qualityPercentagenumber A value between 0-100 where 0 means the features of the image cannot be used for recognition and 100 means the features of the image make it excellent for recognition
-
This is the data structure sent for the Appearition.ArTargetImageAndMedia.CreateMedia method
-
Properties:
Name Type Description arMediaIdnumber leave this empty (zero)
fileNamestring the name of the file of the content
urlstring the web link to the content
checksumstring Md5 hash of the file contents
mediaTypestring The type of media this is
mimeTypestring The format of the content item
isPrivateboolean Whether the content item has a public URL or not
resolutionnumber The quality level of the content item
languagestring the language that this media applies to
isTrackingboolean should the media be augmented over the scanned target marker
isAutoPlayboolean should the media automatically start when triggered
isPreDownloadboolean should the media content be downloaded before it is triggered
isInteractiveboolean can the user interact with the media content
animationNamestring does the media have an animation name. Applies to 3D models
scaleXnumber the size of the model to render when triggered
scaleYnumber the size of the model to render when triggered
scaleZnumber the size of the model to render when triggered
translationXnumber the position of the model to render when triggered
translationYnumber the position of the model to render when triggered
translationZnumber the position of the model to render when triggered
rotationXnumber the orientation of the model to render when triggered
rotationYnumber the orientation of the model to render when triggered
rotationZnumber the orientation of the model to render when triggered
textstring any text value associated with this media
customstring any custom value associated with this media
contentItemProviderNamestring the reference to the library where the media was taken from
contentItemKeystring the identifier of the media item in the library
-
This is the data structure sent for the Appearition.ArTargetImageAndMedia.CreateMedia method
-
Properties:
Name Type Description productIdnumber Identifies the channel to create the new AR record
namestring the name of the AR record
shortDescriptionstring a short description of the AR record (max 200 chars)
longDescriptionstring a long description (accepts HTML)
copyrightInfostring copyright information to be displayed for this AR record
-
Used for the DataByAsset request
-
Properties:
Name Type Description assetIdstring A UUID that uniquely identifies the AR Experience record
arMediaIdnull Identifies the specific media record which represents the data query
paramsArray.<Appearition.ArTargetImageAndMedia.DataByAssetRequestParam> Key value pair sent applied to the data query as part of the request
-
Used for the DataByAsset request
-
Properties:
Name Type Description keystring any string value that will be use in the data query request
valuestring any string value which will be replaced for the key in the data query request
-
Used for the DataByAsset request
-
Properties:
Name Type Description arTargetKeystring Uniquely identifies the AR Experience record
arMediaIdnull Identifies the specific media record which represents the data query
paramsArray.<Appearition.ArTargetImageAndMedia.DataByKeyRequestParam> Key value pair sent applied to the data query as part of the request
-
Used for the DataByKey request
-
Properties:
Name Type Description keystring any string value that will be use in the data query request
valuestring any string value which will be replaced for the key in the data query request
-
Holds the details of a preview media item
-
Properties:
Name Type Description previewMediaIdnumber Identifies the Preview Media for the AR Target record
arTargetIdnumber Identifies the AR Target record
ordinalnumber The order position of this preview media relative to any other preview media for the AR Target
isDefaultboolean TRUE | FALSE, indicates if this preview media is the default one that should be shown first
isThumbnailboolean TRUE | FALSE, indicates if this preview media can be used as a thumbnail
fileNamestring If the media is an uploaded file, this holds the original file name
checksumstring If the media is an uploaded file, this holds the MD5 checksum of the file bytes
urlstring The URL to download the media from. If isPrivate=true, then you must invoke the ArTarget/MediaFile method using the previewMediaId
isPrivateboolean TRUE | FALSE. If FALSE, the url can be called to retrieve the media. If TRUE, you must invoke the ArTarget/MediaFile method using the previewMediaId
-
Holds the details of pricing
-
Properties:
Name Type Description isFreeboolean TRUE | FALSE, indicates if the AR target record has no payment amount
descriptionstring A descriptive text field
-
This is the data structure sent for the Appearition.ArTargetImageAndMedia.UpdateCopyrightInfo method
-
Properties:
Name Type Description copyrightInfostring the Copyright Info of the record
-
This is the data structure sent for the Appearition.ArTargetImageAndMedia.UpdateLongDescription method
-
Properties:
Name Type Description longDescriptionstring the Long Description of the record
-
This is the data structure sent for the Appearition.ArTargetImageAndMedia.UpdateMediaSettings method
-
Properties:
Name Type Description arMediaIdnumber identifies the media record
urlstring the web link to the content
mediaTypestring The type of media this is
languagestring the language that this media applies to
isTrackingboolean should the media be augmented over the scanned target marker
isAutoPlayboolean should the media automatically start when triggered
isPreDownloadboolean should the media content be downloaded before it is triggered
isInteractiveboolean can the user interact with the media content
animationNamestring does the media have an animation name. Applies to 3D models
scaleXnumber the size of the model to render when triggered
scaleYnumber the size of the model to render when triggered
scaleZnumber the size of the model to render when triggered
translationXnumber the position of the model to render when triggered
translationYnumber the position of the model to render when triggered
translationZnumber the position of the model to render when triggered
rotationXnumber the orientation of the model to render when triggered
rotationYnumber the orientation of the model to render when triggered
rotationZnumber the orientation of the model to render when triggered
textstring any text value associated with this media
customstring any custom value associated with this media
-
This is the data structure sent for the Appearition.ArTargetImageAndMedia.UpdateName method
-
Properties:
Name Type Description namestring the name of the record
-
This is the data structure sent for the Appearition.ArTargetImageAndMedia.UpdateShortDescription method
-
Properties:
Name Type Description shortDescriptionstring the Short Description of the record