NTPackageManagerListener
@interface NTPackageManagerListener : NSObject {
void *swigCPtr;
BOOL swigCMemOwn;
}
Base class for map package manager event listeners. Includes callbacks for package list events and individual package events.
-
Listener method that is called when server package list has been successfully updated.
Declaration
Objective-C
- (void)onPackageListUpdated;
-
Listener method that is called when server package list has been successfully updated.
Declaration
Objective-C
- (void)onPackageListUpdatedSwigExplicitNTPackageManagerListener;
-
Listener method that is called when server package could not be downloaded or updated.
Declaration
Objective-C
- (void)onPackageListFailed;
-
Listener method that is called when server package could not be downloaded or updated.
Declaration
Objective-C
- (void)onPackageListFailedSwigExplicitNTPackageManagerListener;
-
Listener method that is called when a package status has changed. Information about the status of the package (current action, progress, etc) is explictly given with this event.
Declaration
Objective-C
- (void)onPackageStatusChanged:(NSString *)arg1 version:(int)version status:(NTPackageStatus *)status;
Parameters
id
The id of the package whose status has changed
version
The version of the package whose status has changed
status
The current status of the package
-
Listener method that is called when a package status has changed. Information about the status of the package (current action, progress, etc) is explictly given with this event.
Declaration
Objective-C
- (void) onPackageStatusChangedSwigExplicitNTPackageManagerListener:(NSString *)arg1 version:(int)version status: (NTPackageStatus *) status;
Parameters
id
The id of the package whose status has changed
version
The version of the package whose status has changed
status
The current status of the package
-
Listener method that is called when a package download has been cancelled.
Declaration
Objective-C
- (void)onPackageCancelled:(NSString *)arg1 version:(int)version;
Parameters
id
The id of the package that has been cancelled
version
The version of the package that has been cancelled
-
Listener method that is called when a package download has been cancelled.
Declaration
Objective-C
- (void)onPackageCancelledSwigExplicitNTPackageManagerListener:(NSString *)arg1 version:(int)version;
Parameters
id
The id of the package that has been cancelled
version
The version of the package that has been cancelled
-
Listener method that is called when a package is successfully updated (downloaded or removed).
Declaration
Objective-C
- (void)onPackageUpdated:(NSString *)arg1 version:(int)version;
Parameters
id
The id of the package that has been updated
version
The version of the package that has been updated
-
Listener method that is called when a package is successfully updated (downloaded or removed).
Declaration
Objective-C
- (void)onPackageUpdatedSwigExplicitNTPackageManagerListener:(NSString *)arg1 version:(int)version;
Parameters
id
The id of the package that has been updated
version
The version of the package that has been updated
-
Listener method that is called when updating a package failed (network error, etc).
Declaration
Objective-C
- (void)onPackageFailed:(NSString *)arg1 version:(int)version errorType:(enum NTPackageErrorType)errorType;
Parameters
id
The id of the package that failed
version
The version of the package that failed
errorType
Reason or type of the failure
-
Listener method that is called when updating a package failed (network error, etc).
Declaration
Objective-C
- (void)onPackageFailedSwigExplicitNTPackageManagerListener:(NSString *)arg1 version:(int)version errorType: (enum NTPackageErrorType) errorType;
Parameters
id
The id of the package that failed
version
The version of the package that failed
errorType
Reason or type of the failure
-
Listener method that is called when map style has been successfully updated.
Declaration
Objective-C
- (void)onStyleUpdated:(NSString *)styleName;
Parameters
styleName
The name of the style that was updated.
-
Listener method that is called when map style has been successfully updated.
Declaration
Objective-C
- (void)onStyleUpdatedSwigExplicitNTPackageManagerListener: (NSString *)styleName;
Parameters
styleName
The name of the style that was updated.
-
Listener method that is called when map style could not be downloaded or updated.
Declaration
Objective-C
- (void)onStyleFailed:(NSString *)styleName;
Parameters
styleName
The name of the style that could not be updated.
-
Listener method that is called when map style could not be downloaded or updated.
Declaration
Objective-C
- (void)onStyleFailedSwigExplicitNTPackageManagerListener:(NSString *)styleName;
Parameters
styleName
The name of the style that could not be updated.
-
Undocumented
Declaration
Objective-C
-(id)init;
-
Undocumented
Declaration
Objective-C
-(void)dealloc;