<SYVoiceCatalogDelegate> Protocol Reference

Provides various callback methods for requests made in SYVoiceCatalog class. More...

#import <SYVoiceCatalog.h>

Inheritance diagram for <SYVoiceCatalogDelegate>:
Collaboration diagram for <SYVoiceCatalogDelegate>:

Instance Methods

(void) - voiceCatalog:didInstallVoicePackage:fromTask:
 Called when SYVoiceCatalog::installMapPackage: method is completed. This method will be called whether the installation succeeds, fails or is cancelled. More...
 
(void) - voiceCatalog:didUninstallVoicePackage:fromTask:
 Called when SYVoiceCatalog::uninstallMapPackage: method is completed. More...
 
(void) - voiceCatalog:didUpdateVoicePackageInstallProgress:forPackageId:fromTask:
 Called when progress of SYVoiceCatalog::installMapPackage: method is changed. More...
 

Detailed Description

Provides various callback methods for requests made in SYVoiceCatalog class.

Method Documentation

◆ voiceCatalog:didInstallVoicePackage:fromTask:

- (void) voiceCatalog: (nonnull SYVoiceCatalog *)  voiceCatalog
didInstallVoicePackage: (nonnull NSString *)  packageId
fromTask: (nonnull SYTask *)  task 
optional

Called when SYVoiceCatalog::installMapPackage: method is completed. This method will be called whether the installation succeeds, fails or is cancelled.

Parameters
voiceCatalogThe SYVoiceCatalog instance sending the callback.
packageThe SYVoicePackage for this operation.
taskThe original SYTask with status information.

◆ voiceCatalog:didUninstallVoicePackage:fromTask:

- (void) voiceCatalog: (nonnull SYVoiceCatalog *)  voiceCatalog
didUninstallVoicePackage: (nonnull NSString *)  packageId
fromTask: (nonnull SYTask *)  task 
optional

Called when SYVoiceCatalog::uninstallMapPackage: method is completed.

Parameters
voiceCatalogThe SYVoiceCatalog instance sending the callback.
packageThe NSString ID of package for this operation.
taskThe original SYTask with status information.

◆ voiceCatalog:didUpdateVoicePackageInstallProgress:forPackageId:fromTask:

- (void) voiceCatalog: (nonnull SYVoiceCatalog *)  voiceCatalog
didUpdateVoicePackageInstallProgress: (nonnull SYPackageInstallProgress *)  progress
forPackageId: (nonnull NSString *)  packageId
fromTask: (nonnull SYTask *)  task 
optional

Called when progress of SYVoiceCatalog::installMapPackage: method is changed.

Parameters
voiceCatalogThe SYVoiceCatalog instance sending the callback.
progressThe SYVoicePackageInstallProgress containing progress information.
packageThe SYVoicePackage for this operation.
taskThe original SYTask.

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