CraftAR Unity Pro SDK  1.0
Public Member Functions | List of all members
CraftARSDK.CraftARItemEventsWithContentDownload Interface Reference

The CraftARItemEventsWithContentDownload interface defines the callbacks used by the CraftARSDK to notify the app about CraftARItem related events and item contents download More...

Inheritance diagram for CraftARSDK.CraftARItemEventsWithContentDownload:
CraftARSDK.CraftARItemEvents

Public Member Functions

void OnItemContentDownloadProgress (CraftARItemAR item, float progress)
 Raises the item content download progress event. More...
 
void OnItemContentDownloadFinished (CraftARItemAR item)
 Raises the item content download finished event. More...
 
void OnItemContentDownloadFailed (CraftARItemAR item, CraftARError error)
 Raises the item content download failed event. More...
 
- Public Member Functions inherited from CraftARSDK.CraftARItemEvents
void ItemAdded (CraftARItemAR item)
 The CraftARItemAR 'item' was added for tracking. More...
 
void AddItemError (CraftARItemAR item, CraftARError error)
 Called when an error is produced when adding an ARItem to the scene. More...
 
void TrackingStarted (CraftARItemAR item)
 Called when an ARItem reference image starts to be tracked. More...
 
void TrackingLost (CraftARItemAR item)
 Called when an ARItem reference image tracking is lost. More...
 

Detailed Description

The CraftARItemEventsWithContentDownload interface defines the callbacks used by the CraftARSDK to notify the app about CraftARItem related events and item contents download

Member Function Documentation

◆ OnItemContentDownloadFailed()

void CraftARSDK.CraftARItemEventsWithContentDownload.OnItemContentDownloadFailed ( CraftARItemAR  item,
CraftARError  error 
)

Raises the item content download failed event.

Parameters
itemItem.
errorError.

◆ OnItemContentDownloadFinished()

void CraftARSDK.CraftARItemEventsWithContentDownload.OnItemContentDownloadFinished ( CraftARItemAR  item)

Raises the item content download finished event.

Parameters
itemItem.

◆ OnItemContentDownloadProgress()

void CraftARSDK.CraftARItemEventsWithContentDownload.OnItemContentDownloadProgress ( CraftARItemAR  item,
float  progress 
)

Raises the item content download progress event.

Parameters
itemItem.
progressProgress.

The documentation for this interface was generated from the following file: