CraftAR Unity Pro SDK  1.0
Classes | Public Member Functions | Properties | List of all members
CraftARCollectionManager Class Reference

The CraftARCollectionManager class will give access to the CraftARSDK OnDeviceCollection functionalities. More...

Inheritance diagram for CraftARCollectionManager:

Classes

interface  CraftARCollectionManagerCallbacks
 The CraftARCollectionManagerCallbacks interface defines the callbacks used by the CraftARSDK to notify the app about CraftARCollectionManager related events. More...
 

Public Member Functions

void setCraftARCollectionManagerCallbacksHandler (CraftARCollectionManagerCallbacks callbacksHandler)
 Sets the CraftARCollectionManager events handler. More...
 
void setCollectionSyncURL (string url)
 Sets the collection synchronization url. More...
 
CraftAROnDeviceCollection getCollectionWithToken (string token)
 Request collection from token. More...
 
void addCollectionWithToken (string token)
 Add device collection from token. More...
 
void addCollectionFromBundle (string path)
 Add device collection from bundle. More...
 
void deleteCollectionWithToken (string token)
 Delete device collection from token. More...
 
void deleteCollection (CraftAROnDeviceCollection collection)
 Delete device collection. More...
 
void CollectionAdded (CraftAROnDeviceCollection collection)
 
void AddCollectionFailed (CraftARError error)
 
void AddCollectionProgress (float progress)
 
void DeleteCollectionFailed (CraftARError error)
 
void CollectionDeleted ()
 

Properties

static CraftARCollectionManager instance [get]
 

Detailed Description

The CraftARCollectionManager class will give access to the CraftARSDK OnDeviceCollection functionalities.

The CraftARCollectionManager class is a singleton class and it should be accessed through the CraftARCollectionManager.instance attribute.

Member Function Documentation

◆ addCollectionFromBundle()

void CraftARCollectionManager.addCollectionFromBundle ( string  path)
inline

Add device collection from bundle.

Parameters
pathBundle's path

◆ addCollectionWithToken()

void CraftARCollectionManager.addCollectionWithToken ( string  token)
inline

Add device collection from token.

Parameters
tokenCollection Token.

◆ deleteCollection()

void CraftARCollectionManager.deleteCollection ( CraftAROnDeviceCollection  collection)
inline

Delete device collection.

Parameters
collectionCollection.

◆ deleteCollectionWithToken()

void CraftARCollectionManager.deleteCollectionWithToken ( string  token)
inline

Delete device collection from token.

Parameters
tokenCollection Token.

◆ getCollectionWithToken()

CraftAROnDeviceCollection CraftARCollectionManager.getCollectionWithToken ( string  token)
inline

Request collection from token.

Parameters
tokenCollection Token.
Returns
The collection

◆ setCollectionSyncURL()

void CraftARCollectionManager.setCollectionSyncURL ( string  url)
inline

Sets the collection synchronization url.

Parameters
urlSynchronization URL.

◆ setCraftARCollectionManagerCallbacksHandler()

void CraftARCollectionManager.setCraftARCollectionManagerCallbacksHandler ( CraftARCollectionManagerCallbacks  callbacksHandler)
inline

Sets the CraftARCollectionManager events handler.

Parameters
collectionManagerEventsHandlerCollectionManager events handler.

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