Skip to content

Commit

Permalink
Merge pull request #3 from The-TONE-Knows-Inc/ToneLibraryV4
Browse files Browse the repository at this point in the history
set a new notification for full content response
  • Loading branch information
AlejandroArciniegas authored Mar 31, 2022
2 parents 122da10 + 247ee1a commit a9652f8
Show file tree
Hide file tree
Showing 8 changed files with 25 additions and 131 deletions.
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Generated by Apple Swift version 5.5.2 (swiftlang-1300.0.47.5 clang-1300.0.29.30)
// Generated by Apple Swift version 5.6 (swiftlang-5.6.0.323.62 clang-1316.0.20.8)
#ifndef TONELISTEN_SWIFT_H
#define TONELISTEN_SWIFT_H
#pragma clang diagnostic push
Expand Down Expand Up @@ -184,6 +184,13 @@ typedef unsigned int swift_uint4 __attribute__((__ext_vector_type__(4)));
#if !defined(IBSegueAction)
# define IBSegueAction
#endif
#if !defined(SWIFT_EXTERN)
# if defined(__cplusplus)
# define SWIFT_EXTERN extern "C"
# else
# define SWIFT_EXTERN extern
# endif
#endif
#if __has_feature(modules)
#if __has_warning("-Watimport-in-framework-header")
#pragma clang diagnostic ignored "-Watimport-in-framework-header"
Expand Down
Binary file not shown.
Binary file not shown.
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// swift-interface-format-version: 1.0
// swift-compiler-version: Apple Swift version 5.5.2 (swiftlang-1300.0.47.5 clang-1300.0.29.30)
// swift-compiler-version: Apple Swift version 5.6 (swiftlang-5.6.0.323.62 clang-1316.0.20.8)
// swift-module-flags: -target arm64-apple-ios14.0 -enable-objc-interop -enable-library-evolution -swift-version 5 -enforce-exclusivity=checked -O -module-name ToneListen
import AVFoundation
import AudioKit
Expand All @@ -16,7 +16,7 @@ import UserNotifications
import _Concurrency
@_hasMissingDesignatedInitializers public class RemoteService {
public static func handleContent(actionType: Swift.String, actionUrl: Swift.String)
public static func checkTone(detectedTone: Swift.String, clientID: Swift.String)
public static func checkTone(detectedTone: Swift.String)
@objc deinit
}
public struct ToneFrameworkData {
Expand Down Expand Up @@ -48,7 +48,10 @@ public protocol Observer : AnyObject {
@objc @_inheritsConvenienceInitializers public class NotificationsHandler : ObjectiveC.NSObject, UserNotifications.UNUserNotificationCenterDelegate {
@objc override dynamic public init()
public static var shared: ToneListen.NotificationsHandler
public var contentResponse: [Swift.String : Any]
public static let clientNotificationName: Foundation.Notification.Name
public static let notificationName: Foundation.Notification.Name
public static let responseObjectNotificationName: Foundation.Notification.Name
public func requestPermission()
@objc public func userNotificationCenter(_ center: UserNotifications.UNUserNotificationCenter, willPresent notification: UserNotifications.UNNotification, withCompletionHandler completionHandler: @escaping (UserNotifications.UNNotificationPresentationOptions) -> Swift.Void)
@objc public func userNotificationCenter(_ center: UserNotifications.UNUserNotificationCenter, didReceive response: UserNotifications.UNNotificationResponse, withCompletionHandler completionHandler: @escaping () -> Swift.Void)
Expand Down Expand Up @@ -78,8 +81,10 @@ public class ToneFrameworkManager {
@objc deinit
}
public class ToneFramework {
public init(clientID: Swift.String)
public static let shared: ToneListen.ToneFramework
public init()
public func start()
public func stop()
public func setClientId(clientID: Swift.String)
@objc deinit
}
Binary file not shown.

This file was deleted.

Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -6,39 +6,27 @@
<dict>
<key>Headers/ToneListen-Swift.h</key>
<data>
6AQCi+8YUobKUoDlbuV1MF7Xa4E=
7M+zqRp2KMjRynSVij5EuHGkb9M=
</data>
<key>Headers/ToneListen.h</key>
<data>
FVeFTxeXWB29yaGNKgYxS4euqLM=
</data>
<key>Info.plist</key>
<data>
D6VP1vqZ03hG5Dh1Xf/5R/f/T6k=
i/n/n7gDEnGrpBV5Zb3VXNWHqrA=
</data>
<key>Modules/ToneListen.swiftmodule/arm64-apple-ios.swiftdoc</key>
<data>
vMFLu5mWRTMdJTqO/DFlyoFt3+k=
cxweRk/VllfbOGbtZLgZv5NADbw=
</data>
<key>Modules/ToneListen.swiftmodule/arm64-apple-ios.swiftinterface</key>
<data>
ICvP5LEV4QHJvh4EIquM2tPzmFw=
rWRXxKqasj1Qxlbuekg+CoYciTE=
</data>
<key>Modules/ToneListen.swiftmodule/arm64-apple-ios.swiftmodule</key>
<data>
TBakHl/eE0vexP+C9125mYxtwIs=
</data>
<key>Modules/ToneListen.swiftmodule/arm64.swiftdoc</key>
<data>
vMFLu5mWRTMdJTqO/DFlyoFt3+k=
</data>
<key>Modules/ToneListen.swiftmodule/arm64.swiftinterface</key>
<data>
ICvP5LEV4QHJvh4EIquM2tPzmFw=
</data>
<key>Modules/ToneListen.swiftmodule/arm64.swiftmodule</key>
<data>
TBakHl/eE0vexP+C9125mYxtwIs=
Xm48aiXxDQJ4KYlGLzmcF1mHeVg=
</data>
<key>Modules/module.modulemap</key>
<data>
Expand All @@ -55,7 +43,7 @@
<dict>
<key>hash2</key>
<data>
DpxB7Gwq4CbYUqTeZHhi6WO6/jsG8mJax5TQ9pZ6Apc=
80Y+gZgsjfaEY20pqTAZlrAa9ivYXYZ9W0NrgKmSVsg=
</data>
</dict>
<key>Headers/ToneListen.h</key>
Expand All @@ -69,42 +57,21 @@
<dict>
<key>hash2</key>
<data>
mIaRlHcBHA8KRmyvoGlakgjeRrRVpAgzzOZYDbpwr/c=
T5/fxiKQV1eeC1RjBOITt56AdmJt9ZKW5DkCPEn/0GI=
</data>
</dict>
<key>Modules/ToneListen.swiftmodule/arm64-apple-ios.swiftinterface</key>
<dict>
<key>hash2</key>
<data>
z8p7opRseSINIw3WSvKRaQ7fLQICTabGTJkrhFASAq4=
rkVBIYDMpSqxMeem3xc/2Tr4mD7h40iGXiWo62/dYP0=
</data>
</dict>
<key>Modules/ToneListen.swiftmodule/arm64-apple-ios.swiftmodule</key>
<dict>
<key>hash2</key>
<data>
EVUoirPwnse5ryCky1lbyhQE+gkw7m3/XWsnM9y9twQ=
</data>
</dict>
<key>Modules/ToneListen.swiftmodule/arm64.swiftdoc</key>
<dict>
<key>hash2</key>
<data>
mIaRlHcBHA8KRmyvoGlakgjeRrRVpAgzzOZYDbpwr/c=
</data>
</dict>
<key>Modules/ToneListen.swiftmodule/arm64.swiftinterface</key>
<dict>
<key>hash2</key>
<data>
z8p7opRseSINIw3WSvKRaQ7fLQICTabGTJkrhFASAq4=
</data>
</dict>
<key>Modules/ToneListen.swiftmodule/arm64.swiftmodule</key>
<dict>
<key>hash2</key>
<data>
EVUoirPwnse5ryCky1lbyhQE+gkw7m3/XWsnM9y9twQ=
ebg4WL45n9U7kPAn/UA3J5M++88o6lkq9V9ot3ST9yg=
</data>
</dict>
<key>Modules/module.modulemap</key>
Expand Down

0 comments on commit a9652f8

Please sign in to comment.