-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
27 changed files
with
590 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
Pod::Spec.new do |s| | ||
|
||
s.name = 'AlanSDK-iOS' | ||
s.version = '2.10.1' | ||
s.summary = 'Conversational Voice AI Platform.' | ||
s.description = <<-DESC | ||
The Alan Voice AI Platform provides a framework for fast and easy development and deployment voice experiences for your application. | ||
Alan voice enables any application, on any platform. | ||
DESC | ||
|
||
s.homepage = 'https://github.com/alan-ai/alan-sdk-ios' | ||
s.source = { :git => 'https://github.com/alan-ai/alan-sdk-ios.git', :tag => s.version } | ||
s.author = { 'Alan AI, Inc' => 'developer@alan.app' } | ||
s.license = { :type => 'MIT', :file => 'LICENSE' } | ||
s.social_media_url = 'https://twitter.com/alanvoiceai' | ||
|
||
s.frameworks = 'UIKit', 'CoreVideo', 'CoreMedia', 'CoreImage', 'CoreImage', 'CoreAudio', 'AVFoundation', 'AudioToolbox', 'VideoToolbox', 'Accelerate', 'MediaPlayer' | ||
|
||
s.source_files = 'AlanSDK-iOS/Classes/**/*' | ||
s.public_header_files = 'AlanSDK-iOS/Classes/**/*.h', 'AlanSDK/Frameworks/AlanSDK.framework/Headers/*' | ||
s.ios.deployment_target = '11.0' | ||
s.ios.vendored_frameworks = 'AlanSDK-iOS/Frameworks/AlanSDK.framework' | ||
|
||
end |
Empty file.
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
AlanSDK.framework/AlanSDK filter=lfs diff=lfs merge=lfs -text |
Binary file added
BIN
+699 Bytes
AlanSDK-iOS/Frameworks/AlanSDK.framework/AlanBase.bundle/Info.plist
Binary file not shown.
Binary file added
BIN
+162 Bytes
AlanSDK-iOS/Frameworks/AlanSDK.framework/AlanBase.bundle/_CodeSignature/CodeDirectory
Binary file not shown.
Binary file added
BIN
+184 Bytes
AlanSDK-iOS/Frameworks/AlanSDK.framework/AlanBase.bundle/_CodeSignature/CodeRequirements
Binary file not shown.
Binary file added
BIN
+210 Bytes
AlanSDK-iOS/Frameworks/AlanSDK.framework/AlanBase.bundle/_CodeSignature/CodeRequirements-1
Binary file not shown.
132 changes: 132 additions & 0 deletions
132
AlanSDK-iOS/Frameworks/AlanSDK.framework/AlanBase.bundle/_CodeSignature/CodeResources
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,132 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | ||
<plist version="1.0"> | ||
<dict> | ||
<key>files</key> | ||
<dict> | ||
<key>Headers/AlanBase.h</key> | ||
<data> | ||
VXzSdZ/cBzJbeicX422yIRGk+bI= | ||
</data> | ||
<key>Headers/json.hpp</key> | ||
<data> | ||
eJslJrqyU5pmVD2727kGlLl+eFo= | ||
</data> | ||
<key>Info.plist</key> | ||
<data> | ||
Xjoy20z7WWI4TgLMG0tyA/FOkYc= | ||
</data> | ||
</dict> | ||
<key>files2</key> | ||
<dict> | ||
<key>Headers/AlanBase.h</key> | ||
<dict> | ||
<key>hash</key> | ||
<data> | ||
VXzSdZ/cBzJbeicX422yIRGk+bI= | ||
</data> | ||
<key>hash2</key> | ||
<data> | ||
GNHWHRr0mUYXXgQnPivoBxTo5x22wVBV5bB9L6CGHYA= | ||
</data> | ||
</dict> | ||
<key>Headers/json.hpp</key> | ||
<dict> | ||
<key>hash</key> | ||
<data> | ||
eJslJrqyU5pmVD2727kGlLl+eFo= | ||
</data> | ||
<key>hash2</key> | ||
<data> | ||
nrJ41F2aaUrPCiMDrRoeqP/YLIP7/bNcTv1SShAdPsQ= | ||
</data> | ||
</dict> | ||
</dict> | ||
<key>rules</key> | ||
<dict> | ||
<key>^.*</key> | ||
<true/> | ||
<key>^.*\.lproj/</key> | ||
<dict> | ||
<key>optional</key> | ||
<true/> | ||
<key>weight</key> | ||
<real>1000</real> | ||
</dict> | ||
<key>^.*\.lproj/locversion.plist$</key> | ||
<dict> | ||
<key>omit</key> | ||
<true/> | ||
<key>weight</key> | ||
<real>1100</real> | ||
</dict> | ||
<key>^Base\.lproj/</key> | ||
<dict> | ||
<key>weight</key> | ||
<real>1010</real> | ||
</dict> | ||
<key>^version.plist$</key> | ||
<true/> | ||
</dict> | ||
<key>rules2</key> | ||
<dict> | ||
<key>.*\.dSYM($|/)</key> | ||
<dict> | ||
<key>weight</key> | ||
<real>11</real> | ||
</dict> | ||
<key>^(.*/)?\.DS_Store$</key> | ||
<dict> | ||
<key>omit</key> | ||
<true/> | ||
<key>weight</key> | ||
<real>2000</real> | ||
</dict> | ||
<key>^.*</key> | ||
<true/> | ||
<key>^.*\.lproj/</key> | ||
<dict> | ||
<key>optional</key> | ||
<true/> | ||
<key>weight</key> | ||
<real>1000</real> | ||
</dict> | ||
<key>^.*\.lproj/locversion.plist$</key> | ||
<dict> | ||
<key>omit</key> | ||
<true/> | ||
<key>weight</key> | ||
<real>1100</real> | ||
</dict> | ||
<key>^Base\.lproj/</key> | ||
<dict> | ||
<key>weight</key> | ||
<real>1010</real> | ||
</dict> | ||
<key>^Info\.plist$</key> | ||
<dict> | ||
<key>omit</key> | ||
<true/> | ||
<key>weight</key> | ||
<real>20</real> | ||
</dict> | ||
<key>^PkgInfo$</key> | ||
<dict> | ||
<key>omit</key> | ||
<true/> | ||
<key>weight</key> | ||
<real>20</real> | ||
</dict> | ||
<key>^embedded\.provisionprofile$</key> | ||
<dict> | ||
<key>weight</key> | ||
<real>20</real> | ||
</dict> | ||
<key>^version\.plist$</key> | ||
<dict> | ||
<key>weight</key> | ||
<real>20</real> | ||
</dict> | ||
</dict> | ||
</dict> | ||
</plist> |
Binary file added
BIN
+4.71 KB
AlanSDK-iOS/Frameworks/AlanSDK.framework/AlanBase.bundle/_CodeSignature/CodeSignature
Binary file not shown.
Git LFS file not shown
Binary file not shown.
99 changes: 99 additions & 0 deletions
99
AlanSDK-iOS/Frameworks/AlanSDK.framework/Headers/AlanButton.h
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,99 @@ | ||
// | ||
// AlanButton.h | ||
// AlanSDK | ||
// | ||
// Copyright © 2019 Alan AI Inc. All rights reserved. | ||
// Alan Studio - https://studio.alan.app | ||
// | ||
|
||
#import <UIKit/UIKit.h> | ||
|
||
@class AlanConfig; | ||
|
||
/** | ||
AlanButton | ||
This class provides a view with voice button | ||
Usage: | ||
1. Create AlanButton class as usual UIView | ||
2. Place AlanButton to some place in your application | ||
3. AlanButton will handle tap actions to start and stop recording | ||
*/ | ||
@interface AlanButton: UIView | ||
|
||
/** | ||
Creates new AlanButton instance | ||
@param config AlanConfig object for configuration | ||
@return AlanButton object with given parameters | ||
*/ | ||
- (instancetype)initWithConfig:(AlanConfig *)config; | ||
|
||
/** | ||
Plays text via Alan | ||
@param text Text to be played | ||
*/ | ||
- (void)playText:(NSString *)text; | ||
|
||
/** | ||
Sends voice synchronized data event | ||
@param data Command data event to be send | ||
*/ | ||
- (void)playData:(NSDictionary *)data __attribute__((deprecated("Use 'playCommand'"))); | ||
|
||
/** | ||
Sends voice synchronized data event | ||
@param command Command data event to be send | ||
*/ | ||
- (void)playCommand:(NSDictionary *)command; | ||
|
||
/** | ||
Set visual state of an application | ||
@param data Data with visual state description | ||
*/ | ||
- (void)setVisual:(NSDictionary *)data __attribute__((deprecated("Use 'setVisualState'"))); | ||
|
||
/** | ||
Set visual state of an application | ||
@param visualStateData Data with visual state description | ||
*/ | ||
- (void)setVisualState:(NSDictionary *)visualStateData; | ||
|
||
/** | ||
Calls specific Alan studio project api | ||
@param method Method name, like "script::someApiName", or just - "someApiName" | ||
@param params Method data params | ||
@param callback Callback to handle result | ||
*/ | ||
- (void)call:(NSString *)method withParams:(NSDictionary*)params callback:(void(^)(NSError *error, NSString *object))callback __attribute__((deprecated("Use 'callProjectApi(_:withData:callback:)'"))); | ||
|
||
/** | ||
Calls specific Alan studio project api | ||
@param method Method name, like "script::someApiName", or just - "someApiName" | ||
@param data Method data params | ||
@param callback Callback to handle result | ||
*/ | ||
- (void)callProjectApi:(NSString *)method withData:(NSDictionary*)data callback:(void(^)(NSError *error, NSString *object))callback; | ||
|
||
/** | ||
* Activate Alan voice button | ||
*/ | ||
- (void)activate; | ||
|
||
/** | ||
* Deactivate Alan voice button | ||
*/ | ||
- (void)deactivate; | ||
|
||
/// Indicator that Alan voice button is activated | ||
@property (readonly) BOOL isActivated; | ||
|
||
@end |
Oops, something went wrong.