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
typematerialType.
-
Callback of resource download progress.
Declaration
Objective-C
- (void)queenMaterialOnProgress:(kQueenMaterialType)type withCurrentSize:(int)currentSize withTotalSize:(int)totalSize withProgess:(float)progress;Parameters
currentSizeDownloaded size of resources.
totalSizeThe total size of resources.
typematerialType.
-
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
typematerialType.
QueenMaterialDelegate Protocol Reference