com.craftar
Class CraftARContentFactory
- java.lang.Object
-
- com.craftar.CraftARContentFactoryBase
-
- com.craftar.CraftARContentFactory
public class CraftARContentFactory extends CraftARContentFactoryBase
Factory to create CraftAR contents from the scene description of an AR item. Extend this class to customize AR content creation and set the factory using the superclass.
-
-
Field Summary
-
Fields inherited from class com.craftar.CraftARContentFactoryBase
mContentsVersion
-
-
Constructor Summary
Constructors Constructor and Description CraftARContentFactory()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description protected CraftARContent
contentFromJSONObject(JSONObject contentJSON)
Returns aCraftARContent
of the type specified in the JSON object.-
Methods inherited from class com.craftar.CraftARContentFactoryBase
setFactory
-
-
-
-
Method Detail
-
contentFromJSONObject
protected CraftARContent contentFromJSONObject(JSONObject contentJSON) throws CraftARSDKException
Returns aCraftARContent
of the type specified in the JSON object.- Specified by:
contentFromJSONObject
in classCraftARContentFactoryBase
- Throws:
CraftARSDKException
-
-
Comments
0 comments
Article is closed for comments.