QueenMaterialDelegate
@protocol QueenMaterialDelegate <NSObject>
@optional
/****
* Callback of resource download completion.
* @param type materialType.
*/
- (void)queenMaterialOnReady:(kQueenMaterialType)type;
/****
* Callback of resource download progress.
* @param currentSize Downloaded size of resources.
* @param totalSize The total size of resources.
* @param type materialType.
*/
- (void)queenMaterialOnProgress:(kQueenMaterialType)type withCurrentSize:(int)currentSize withTotalSize:(int)totalSize withProgess:(float)progress;
/****
* For the callback of resource download errors, you should check whether there are problems in the network and disk space.
* @param type materialType.
*/
- (void)queenMaterialOnError:(kQueenMaterialType)type;
@end
Undocumented
-
Callback of resource download completion.
Declaration
Objective-C
- (void)queenMaterialOnReady:(kQueenMaterialType)type;
Parameters
type
materialType.
-
Callback of resource download progress.
Declaration
Objective-C
- (void)queenMaterialOnProgress:(kQueenMaterialType)type withCurrentSize:(int)currentSize withTotalSize:(int)totalSize withProgess:(float)progress;
Parameters
currentSize
Downloaded size of resources.
totalSize
The total size of resources.
type
materialType.
-
For the callback of resource download errors, you should check whether there are problems in the network and disk space.
Declaration
Objective-C
- (void)queenMaterialOnError:(kQueenMaterialType)type;
Parameters
type
materialType.