KiiCloudStorageSDK : KiiCorp.Cloud.Storage Namespace

KiiObjectBodyProgressPercentageCallback Delegate

This callback is used by the API to notify upload or download progress.

Syntax

public delegate void KiiObjectBodyProgressPercentageCallback (KiiObject obj, float progress)

Parameters

obj
The receiver KiiObject.
progress
This is a value between zero and one; 0 means no progess, 1 means download/upload complete.

Remarks

Use this callback instead of KiiCorp.Cloud.Storage.KiiHttpClientProgressCallback if your app runs on the Unity Game Engine.

It is not guaranteed that this callback will be called from the main thread.

This callback will be called at least once.

Please refer to the remarks section of each API to know how to handle a response.

The value of progress can differ from the expected value in certain conditions.

PlatformUploadDownload
Androidprogress is always 1OK (may depend on the device)
iOSOKOK
WebPlayerprogress is always 0OK

Requirements

Namespace: KiiCorp.Cloud.Storage
Assembly: KiiCloudStorageSDK (in KiiCloudStorageSDK.dll)
Assembly Versions: 3.2.10.0