Provides various callback methods for requests made in SYVoiceCatalog class.
More...
#import <SYVoiceCatalog.h>
Provides various callback methods for requests made in SYVoiceCatalog class.
◆ 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
-
◆ 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
-
| voiceCatalog | The SYVoiceCatalog instance sending the callback. |
| package | The NSString ID of package for this operation. |
| task | The 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
-
| voiceCatalog | The SYVoiceCatalog instance sending the callback. |
| progress | The SYVoicePackageInstallProgress containing progress information. |
| package | The SYVoicePackage for this operation. |
| task | The original SYTask. |
The documentation for this protocol was generated from the following file: