MeiCam SDK For iOS  3.14.0
Instance Methods | List of all members
<NvsAssetPackageManagerDelegate> Protocol Reference

#import <NvsAssetPackageManager.h>

Inheritance diagram for <NvsAssetPackageManagerDelegate>:

Instance Methods

(void) - didFinishAssetPackageInstallation:filePath:type:error:
 Notifies the accomplishment of asset package installation. More...
 
(void) - didFinishAssetPackageUpgrading:filePath:type:error:
 Notifies the completion of asset package upgrade. More...
 

Method Documentation

◆ didFinishAssetPackageInstallation:filePath:type:error:

- (void) didFinishAssetPackageInstallation: (NSString *)  assetPackageId
filePath: (NSString *)  assetPackageFilePath
type: (NvsAssetPackageType assetPackageType
error: (NvsAssetPackageManagerError error 
optional

Notifies the accomplishment of asset package installation.

Parameters
assetPackageIdAsset package ID
assetPackageFilePathAsset package file path
assetPackageTypeAsset package type
errorReturns error value of installation. "NvsAssetPackageManagerError_NoError" indicates that the installation succeeds, otherwise it fails.

Common causes of errors: 1. Package file path error.2. Package type error.

See also
- didFinishAssetPackageUpgrading:filePath:type:error:

◆ didFinishAssetPackageUpgrading:filePath:type:error:

- (void) didFinishAssetPackageUpgrading: (NSString *)  assetPackageId
filePath: (NSString *)  assetPackageFilePath
type: (NvsAssetPackageType assetPackageType
error: (NvsAssetPackageManagerError error 
optional

Notifies the completion of asset package upgrade.

Parameters
assetPackageIdAsset package ID.
assetPackageFilePathAsset package file path
assetPackageTypeAsset package type
errorReturns error value of upgrading. "NvsAssetPackageManagerError_NoError" indicates that the installation succeeds, otherwise it fails.
See also
- didFinishAssetPackageInstallation:filePath:type:error:

The documentation for this protocol was generated from the following file: