Class PartHandler
Handler in charge of providing functionality related to the Part module.
Inherited Members
Namespace: Appearition.Part
Assembly: Appearition.SDK.dll
Syntax
public class PartHandler : BaseFloARHandlerMethods
View SourceFetchAllParts(PartSyncManifest, Action<PartSyncManifest>, Action<EmsError>, Action<Boolean>)
Updates the given parts content. Only the difference in content will be downloaded for a lightweight transfer. Consider storing that content locally for making full use of this system. In case of no connection, will simply load the existing data.
API Requirement: Session Token. Offline Capability.
Declaration
public static void FetchAllParts(PartSyncManifest localPartsData, Action<PartSyncManifest> onSuccess = null, Action<EmsError> onFailure = null, Action<bool> onComplete = null)Parameters
| Type | Name | Description | 
|---|---|---|
| PartSyncManifest | localPartsData | |
| System.Action<PartSyncManifest> | onSuccess | Contains the difference between the provided data and the data on the EMS. Only called if the request is successful. | 
| System.Action<EmsError> | onFailure | Contains any error obtained during the request. Only called if the request has failed. | 
| System.Action<System.Boolean> | onComplete | Always called at the end of the request, defines whether the request was successful or not. | 
FetchAllParts(Action<PartSyncManifest>, Action<EmsError>, Action<Boolean>)
Fetches all the part content from the EMS. If you have existing content, pass in a PartSyncManifest and the difference will be returned instead. In case of no connection, will simply load the existing data.
API Requirement: Session Token. Offline Capability.
Declaration
public static void FetchAllParts(Action<PartSyncManifest> onSuccess = null, Action<EmsError> onFailure = null, Action<bool> onComplete = null)Parameters
| Type | Name | Description | 
|---|---|---|
| System.Action<PartSyncManifest> | onSuccess | Contains all the Parts data on the EMS. Only called if the request is successful. | 
| System.Action<EmsError> | onFailure | Contains any error obtained during the request. Only called if the request has failed. | 
| System.Action<System.Boolean> | onComplete | Always called at the end of the request, defines whether the request was successful or not. | 
FetchAllPartsProcess(PartSyncManifest, Action<PartSyncManifest>, Action<EmsError>, Action<Boolean>)
Updates the given parts content. Only the difference in content will be downloaded for a lightweight transfer. Consider storing that content locally for making full use of this system. In case of no connection, will simply load the existing data.
API Requirement: Session Token. Offline Capability.
Declaration
public static IEnumerator FetchAllPartsProcess(PartSyncManifest localPartsData, Action<PartSyncManifest> onSuccess = null, Action<EmsError> onFailure = null, Action<bool> onComplete = null)Parameters
| Type | Name | Description | 
|---|---|---|
| PartSyncManifest | localPartsData | |
| System.Action<PartSyncManifest> | onSuccess | Contains the difference between the provided data and the data on the EMS. Only called if the request is successful. | 
| System.Action<EmsError> | onFailure | Contains any error obtained during the request. Only called if the request has failed. | 
| System.Action<System.Boolean> | onComplete | Always called at the end of the request, defines whether the request was successful or not. | 
Returns
| Type | Description | 
|---|---|
| System.Collections.IEnumerator | 
FetchAllPartsProcess(Action<PartSyncManifest>, Action<EmsError>, Action<Boolean>)
Fetches all the parts content from the EMS. If you have existing content, pass in a PartSyncManifest and the difference will be returned instead. In case of no connection, will simply load the existing data.
API Requirement: Session Token. Offline Capability.
Declaration
public static IEnumerator FetchAllPartsProcess(Action<PartSyncManifest> onSuccess = null, Action<EmsError> onFailure = null, Action<bool> onComplete = null)Parameters
| Type | Name | Description | 
|---|---|---|
| System.Action<PartSyncManifest> | onSuccess | Contains all the Parts data on the EMS. Only called if the request is successful. | 
| System.Action<EmsError> | onFailure | Contains any error obtained during the request. Only called if the request has failed. | 
| System.Action<System.Boolean> | onComplete | Always called at the end of the request, defines whether the request was successful or not. | 
Returns
| Type | Description | 
|---|---|
| System.Collections.IEnumerator |