chengyanfang

sdk upgrade

Showing 56 changed files with 102 additions and 102 deletions
1 Pod::Spec.new do |s| 1 Pod::Spec.new do |s|
2 s.name = "HHMedicSDK" 2 s.name = "HHMedicSDK"
3 - s.version = "3.1.0.041214" 3 + s.version = "3.1.0.041215"
4 s.summary = "和缓基础SDK" 4 s.summary = "和缓基础SDK"
5 5
6 s.description = <<-DESC 6 s.description = <<-DESC
@@ -3,5 +3,5 @@ @@ -3,5 +3,5 @@
3 <plist version="1.0"> 3 <plist version="1.0">
4 <dict> 4 <dict>
5 <key>HHBundleVersion</key> 5 <key>HHBundleVersion</key>
6 -<string>3.1.0.041214</string></dict> 6 +<string>3.1.0.041215</string></dict>
7 </plist> 7 </plist>
@@ -582,6 +582,36 @@ typedef SWIFT_ENUM(NSInteger, HHPagerViewTransformerType, open) { @@ -582,6 +582,36 @@ typedef SWIFT_ENUM(NSInteger, HHPagerViewTransformerType, open) {
582 HHPagerViewTransformerTypeCubic = 8, 582 HHPagerViewTransformerTypeCubic = 8,
583 }; 583 };
584 584
  585 +
  586 +SWIFT_CLASS("_TtC10HHSDKVideo12HHPermission")
  587 +@interface HHPermission : NSObject
  588 +- (nonnull instancetype)init SWIFT_UNAVAILABLE;
  589 ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable");
  590 +@end
  591 +
  592 +
  593 +@interface HHPermission (SWIFT_EXTENSION(HHSDKVideo)) <CLLocationManagerDelegate>
  594 +- (void)locationManager:(CLLocationManager * _Nonnull)manager didChangeAuthorizationStatus:(CLAuthorizationStatus)status;
  595 +@end
  596 +
  597 +
  598 +
  599 +
  600 +
  601 +
  602 +
  603 +
  604 +
  605 +
  606 +
  607 +
  608 +@interface HHPermission (SWIFT_EXTENSION(HHSDKVideo))
  609 +/// The textual representation of self.
  610 +@property (nonatomic, readonly, copy) NSString * _Nonnull description;
  611 +/// A textual representation of this instance, suitable for debugging.
  612 +@property (nonatomic, readonly, copy) NSString * _Nonnull debugDescription;
  613 +@end
  614 +
585 @class UIViewController; 615 @class UIViewController;
586 616
587 SWIFT_CLASS("_TtC10HHSDKVideo23HHPhotoPickerController") 617 SWIFT_CLASS("_TtC10HHSDKVideo23HHPhotoPickerController")
@@ -722,36 +752,6 @@ SWIFT_PROTOCOL("_TtP10HHSDKVideo14OptionProtocal_") @@ -722,36 +752,6 @@ SWIFT_PROTOCOL("_TtP10HHSDKVideo14OptionProtocal_")
722 752
723 753
724 754
725 -  
726 -SWIFT_CLASS("_TtC10HHSDKVideo10Permission")  
727 -@interface Permission : NSObject  
728 -- (nonnull instancetype)init SWIFT_UNAVAILABLE;  
729 -+ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable");  
730 -@end  
731 -  
732 -  
733 -@interface Permission (SWIFT_EXTENSION(HHSDKVideo)) <CLLocationManagerDelegate>  
734 -- (void)locationManager:(CLLocationManager * _Nonnull)manager didChangeAuthorizationStatus:(CLAuthorizationStatus)status;  
735 -@end  
736 -  
737 -  
738 -  
739 -  
740 -  
741 -  
742 -  
743 -  
744 -  
745 -  
746 -  
747 -  
748 -@interface Permission (SWIFT_EXTENSION(HHSDKVideo))  
749 -/// The textual representation of self.  
750 -@property (nonatomic, readonly, copy) NSString * _Nonnull description;  
751 -/// A textual representation of this instance, suitable for debugging.  
752 -@property (nonatomic, readonly, copy) NSString * _Nonnull debugDescription;  
753 -@end  
754 -  
755 typedef SWIFT_ENUM(NSInteger, PermissionType, open) { 755 typedef SWIFT_ENUM(NSInteger, PermissionType, open) {
756 PermissionTypeLocationAlways = 0, 756 PermissionTypeLocationAlways = 0,
757 PermissionTypeLocationWhenInUse = 1, 757 PermissionTypeLocationWhenInUse = 1,
@@ -1441,6 +1441,36 @@ typedef SWIFT_ENUM(NSInteger, HHPagerViewTransformerType, open) { @@ -1441,6 +1441,36 @@ typedef SWIFT_ENUM(NSInteger, HHPagerViewTransformerType, open) {
1441 HHPagerViewTransformerTypeCubic = 8, 1441 HHPagerViewTransformerTypeCubic = 8,
1442 }; 1442 };
1443 1443
  1444 +
  1445 +SWIFT_CLASS("_TtC10HHSDKVideo12HHPermission")
  1446 +@interface HHPermission : NSObject
  1447 +- (nonnull instancetype)init SWIFT_UNAVAILABLE;
  1448 ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable");
  1449 +@end
  1450 +
  1451 +
  1452 +@interface HHPermission (SWIFT_EXTENSION(HHSDKVideo)) <CLLocationManagerDelegate>
  1453 +- (void)locationManager:(CLLocationManager * _Nonnull)manager didChangeAuthorizationStatus:(CLAuthorizationStatus)status;
  1454 +@end
  1455 +
  1456 +
  1457 +
  1458 +
  1459 +
  1460 +
  1461 +
  1462 +
  1463 +
  1464 +
  1465 +
  1466 +
  1467 +@interface HHPermission (SWIFT_EXTENSION(HHSDKVideo))
  1468 +/// The textual representation of self.
  1469 +@property (nonatomic, readonly, copy) NSString * _Nonnull description;
  1470 +/// A textual representation of this instance, suitable for debugging.
  1471 +@property (nonatomic, readonly, copy) NSString * _Nonnull debugDescription;
  1472 +@end
  1473 +
1444 @class UIViewController; 1474 @class UIViewController;
1445 1475
1446 SWIFT_CLASS("_TtC10HHSDKVideo23HHPhotoPickerController") 1476 SWIFT_CLASS("_TtC10HHSDKVideo23HHPhotoPickerController")
@@ -1581,36 +1611,6 @@ SWIFT_PROTOCOL("_TtP10HHSDKVideo14OptionProtocal_") @@ -1581,36 +1611,6 @@ SWIFT_PROTOCOL("_TtP10HHSDKVideo14OptionProtocal_")
1581 1611
1582 1612
1583 1613
1584 -  
1585 -SWIFT_CLASS("_TtC10HHSDKVideo10Permission")  
1586 -@interface Permission : NSObject  
1587 -- (nonnull instancetype)init SWIFT_UNAVAILABLE;  
1588 -+ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable");  
1589 -@end  
1590 -  
1591 -  
1592 -@interface Permission (SWIFT_EXTENSION(HHSDKVideo)) <CLLocationManagerDelegate>  
1593 -- (void)locationManager:(CLLocationManager * _Nonnull)manager didChangeAuthorizationStatus:(CLAuthorizationStatus)status;  
1594 -@end  
1595 -  
1596 -  
1597 -  
1598 -  
1599 -  
1600 -  
1601 -  
1602 -  
1603 -  
1604 -  
1605 -  
1606 -  
1607 -@interface Permission (SWIFT_EXTENSION(HHSDKVideo))  
1608 -/// The textual representation of self.  
1609 -@property (nonatomic, readonly, copy) NSString * _Nonnull description;  
1610 -/// A textual representation of this instance, suitable for debugging.  
1611 -@property (nonatomic, readonly, copy) NSString * _Nonnull debugDescription;  
1612 -@end  
1613 -  
1614 typedef SWIFT_ENUM(NSInteger, PermissionType, open) { 1614 typedef SWIFT_ENUM(NSInteger, PermissionType, open) {
1615 PermissionTypeLocationAlways = 0, 1615 PermissionTypeLocationAlways = 0,
1616 PermissionTypeLocationWhenInUse = 1, 1616 PermissionTypeLocationWhenInUse = 1,
@@ -301,7 +301,7 @@ public struct SDKConfigModel : HHSDKBase.Mappable { @@ -301,7 +301,7 @@ public struct SDKConfigModel : HHSDKBase.Mappable {
301 public init?(map: HHSDKBase.Map) 301 public init?(map: HHSDKBase.Map)
302 mutating public func mapping(map: HHSDKBase.Map) 302 mutating public func mapping(map: HHSDKBase.Map)
303 } 303 }
304 -extension Permission : CoreLocation.CLLocationManagerDelegate { 304 +extension HHPermission : CoreLocation.CLLocationManagerDelegate {
305 @objc dynamic public func locationManager(_ manager: CoreLocation.CLLocationManager, didChangeAuthorization status: CoreLocation.CLAuthorizationStatus) 305 @objc dynamic public func locationManager(_ manager: CoreLocation.CLLocationManager, didChangeAuthorization status: CoreLocation.CLAuthorizationStatus)
306 } 306 }
307 extension EKAttributes { 307 extension EKAttributes {
@@ -906,12 +906,12 @@ extension EKAttributes { @@ -906,12 +906,12 @@ extension EKAttributes {
906 @objc required dynamic public init?(coder aDecoder: Foundation.NSCoder) 906 @objc required dynamic public init?(coder aDecoder: Foundation.NSCoder)
907 @objc deinit 907 @objc deinit
908 } 908 }
909 -@objc public class Permission : ObjectiveC.NSObject {  
910 - public static let locationAlways: HHSDKVideo.Permission  
911 - public static let locationWhenInUse: HHSDKVideo.Permission  
912 - public static let microphone: HHSDKVideo.Permission  
913 - public static let camera: HHSDKVideo.Permission  
914 - public static let photos: HHSDKVideo.Permission 909 +@objc public class HHPermission : ObjectiveC.NSObject {
  910 + public static let locationAlways: HHSDKVideo.HHPermission
  911 + public static let locationWhenInUse: HHSDKVideo.HHPermission
  912 + public static let microphone: HHSDKVideo.HHPermission
  913 + public static let camera: HHSDKVideo.HHPermission
  914 + public static let photos: HHSDKVideo.HHPermission
915 final public let type: HHSDKVideo.PermissionType 915 final public let type: HHSDKVideo.PermissionType
916 public var status: HHSDKVideo.PermissionStatus { 916 public var status: HHSDKVideo.PermissionStatus {
917 get 917 get
@@ -925,7 +925,7 @@ extension EKAttributes { @@ -925,7 +925,7 @@ extension EKAttributes {
925 @objc override dynamic public init() 925 @objc override dynamic public init()
926 @objc deinit 926 @objc deinit
927 } 927 }
928 -extension Permission { 928 +extension HHPermission {
929 @objc override dynamic public var description: Swift.String { 929 @objc override dynamic public var description: Swift.String {
930 @objc get 930 @objc get
931 } 931 }
@@ -301,7 +301,7 @@ public struct SDKConfigModel : HHSDKBase.Mappable { @@ -301,7 +301,7 @@ public struct SDKConfigModel : HHSDKBase.Mappable {
301 public init?(map: HHSDKBase.Map) 301 public init?(map: HHSDKBase.Map)
302 mutating public func mapping(map: HHSDKBase.Map) 302 mutating public func mapping(map: HHSDKBase.Map)
303 } 303 }
304 -extension Permission : CoreLocation.CLLocationManagerDelegate { 304 +extension HHPermission : CoreLocation.CLLocationManagerDelegate {
305 @objc dynamic public func locationManager(_ manager: CoreLocation.CLLocationManager, didChangeAuthorization status: CoreLocation.CLAuthorizationStatus) 305 @objc dynamic public func locationManager(_ manager: CoreLocation.CLLocationManager, didChangeAuthorization status: CoreLocation.CLAuthorizationStatus)
306 } 306 }
307 extension EKAttributes { 307 extension EKAttributes {
@@ -906,12 +906,12 @@ extension EKAttributes { @@ -906,12 +906,12 @@ extension EKAttributes {
906 @objc required dynamic public init?(coder aDecoder: Foundation.NSCoder) 906 @objc required dynamic public init?(coder aDecoder: Foundation.NSCoder)
907 @objc deinit 907 @objc deinit
908 } 908 }
909 -@objc public class Permission : ObjectiveC.NSObject {  
910 - public static let locationAlways: HHSDKVideo.Permission  
911 - public static let locationWhenInUse: HHSDKVideo.Permission  
912 - public static let microphone: HHSDKVideo.Permission  
913 - public static let camera: HHSDKVideo.Permission  
914 - public static let photos: HHSDKVideo.Permission 909 +@objc public class HHPermission : ObjectiveC.NSObject {
  910 + public static let locationAlways: HHSDKVideo.HHPermission
  911 + public static let locationWhenInUse: HHSDKVideo.HHPermission
  912 + public static let microphone: HHSDKVideo.HHPermission
  913 + public static let camera: HHSDKVideo.HHPermission
  914 + public static let photos: HHSDKVideo.HHPermission
915 final public let type: HHSDKVideo.PermissionType 915 final public let type: HHSDKVideo.PermissionType
916 public var status: HHSDKVideo.PermissionStatus { 916 public var status: HHSDKVideo.PermissionStatus {
917 get 917 get
@@ -925,7 +925,7 @@ extension EKAttributes { @@ -925,7 +925,7 @@ extension EKAttributes {
925 @objc override dynamic public init() 925 @objc override dynamic public init()
926 @objc deinit 926 @objc deinit
927 } 927 }
928 -extension Permission { 928 +extension HHPermission {
929 @objc override dynamic public var description: Swift.String { 929 @objc override dynamic public var description: Swift.String {
930 @objc get 930 @objc get
931 } 931 }
@@ -301,7 +301,7 @@ public struct SDKConfigModel : HHSDKBase.Mappable { @@ -301,7 +301,7 @@ public struct SDKConfigModel : HHSDKBase.Mappable {
301 public init?(map: HHSDKBase.Map) 301 public init?(map: HHSDKBase.Map)
302 mutating public func mapping(map: HHSDKBase.Map) 302 mutating public func mapping(map: HHSDKBase.Map)
303 } 303 }
304 -extension Permission : CoreLocation.CLLocationManagerDelegate { 304 +extension HHPermission : CoreLocation.CLLocationManagerDelegate {
305 @objc dynamic public func locationManager(_ manager: CoreLocation.CLLocationManager, didChangeAuthorization status: CoreLocation.CLAuthorizationStatus) 305 @objc dynamic public func locationManager(_ manager: CoreLocation.CLLocationManager, didChangeAuthorization status: CoreLocation.CLAuthorizationStatus)
306 } 306 }
307 extension EKAttributes { 307 extension EKAttributes {
@@ -906,12 +906,12 @@ extension EKAttributes { @@ -906,12 +906,12 @@ extension EKAttributes {
906 @objc required dynamic public init?(coder aDecoder: Foundation.NSCoder) 906 @objc required dynamic public init?(coder aDecoder: Foundation.NSCoder)
907 @objc deinit 907 @objc deinit
908 } 908 }
909 -@objc public class Permission : ObjectiveC.NSObject {  
910 - public static let locationAlways: HHSDKVideo.Permission  
911 - public static let locationWhenInUse: HHSDKVideo.Permission  
912 - public static let microphone: HHSDKVideo.Permission  
913 - public static let camera: HHSDKVideo.Permission  
914 - public static let photos: HHSDKVideo.Permission 909 +@objc public class HHPermission : ObjectiveC.NSObject {
  910 + public static let locationAlways: HHSDKVideo.HHPermission
  911 + public static let locationWhenInUse: HHSDKVideo.HHPermission
  912 + public static let microphone: HHSDKVideo.HHPermission
  913 + public static let camera: HHSDKVideo.HHPermission
  914 + public static let photos: HHSDKVideo.HHPermission
915 final public let type: HHSDKVideo.PermissionType 915 final public let type: HHSDKVideo.PermissionType
916 public var status: HHSDKVideo.PermissionStatus { 916 public var status: HHSDKVideo.PermissionStatus {
917 get 917 get
@@ -925,7 +925,7 @@ extension EKAttributes { @@ -925,7 +925,7 @@ extension EKAttributes {
925 @objc override dynamic public init() 925 @objc override dynamic public init()
926 @objc deinit 926 @objc deinit
927 } 927 }
928 -extension Permission { 928 +extension HHPermission {
929 @objc override dynamic public var description: Swift.String { 929 @objc override dynamic public var description: Swift.String {
930 @objc get 930 @objc get
931 } 931 }
@@ -301,7 +301,7 @@ public struct SDKConfigModel : HHSDKBase.Mappable { @@ -301,7 +301,7 @@ public struct SDKConfigModel : HHSDKBase.Mappable {
301 public init?(map: HHSDKBase.Map) 301 public init?(map: HHSDKBase.Map)
302 mutating public func mapping(map: HHSDKBase.Map) 302 mutating public func mapping(map: HHSDKBase.Map)
303 } 303 }
304 -extension Permission : CoreLocation.CLLocationManagerDelegate { 304 +extension HHPermission : CoreLocation.CLLocationManagerDelegate {
305 @objc dynamic public func locationManager(_ manager: CoreLocation.CLLocationManager, didChangeAuthorization status: CoreLocation.CLAuthorizationStatus) 305 @objc dynamic public func locationManager(_ manager: CoreLocation.CLLocationManager, didChangeAuthorization status: CoreLocation.CLAuthorizationStatus)
306 } 306 }
307 extension EKAttributes { 307 extension EKAttributes {
@@ -906,12 +906,12 @@ extension EKAttributes { @@ -906,12 +906,12 @@ extension EKAttributes {
906 @objc required dynamic public init?(coder aDecoder: Foundation.NSCoder) 906 @objc required dynamic public init?(coder aDecoder: Foundation.NSCoder)
907 @objc deinit 907 @objc deinit
908 } 908 }
909 -@objc public class Permission : ObjectiveC.NSObject {  
910 - public static let locationAlways: HHSDKVideo.Permission  
911 - public static let locationWhenInUse: HHSDKVideo.Permission  
912 - public static let microphone: HHSDKVideo.Permission  
913 - public static let camera: HHSDKVideo.Permission  
914 - public static let photos: HHSDKVideo.Permission 909 +@objc public class HHPermission : ObjectiveC.NSObject {
  910 + public static let locationAlways: HHSDKVideo.HHPermission
  911 + public static let locationWhenInUse: HHSDKVideo.HHPermission
  912 + public static let microphone: HHSDKVideo.HHPermission
  913 + public static let camera: HHSDKVideo.HHPermission
  914 + public static let photos: HHSDKVideo.HHPermission
915 final public let type: HHSDKVideo.PermissionType 915 final public let type: HHSDKVideo.PermissionType
916 public var status: HHSDKVideo.PermissionStatus { 916 public var status: HHSDKVideo.PermissionStatus {
917 get 917 get
@@ -925,7 +925,7 @@ extension EKAttributes { @@ -925,7 +925,7 @@ extension EKAttributes {
925 @objc override dynamic public init() 925 @objc override dynamic public init()
926 @objc deinit 926 @objc deinit
927 } 927 }
928 -extension Permission { 928 +extension HHPermission {
929 @objc override dynamic public var description: Swift.String { 929 @objc override dynamic public var description: Swift.String {
930 @objc get 930 @objc get
931 } 931 }
@@ -301,7 +301,7 @@ public struct SDKConfigModel : HHSDKBase.Mappable { @@ -301,7 +301,7 @@ public struct SDKConfigModel : HHSDKBase.Mappable {
301 public init?(map: HHSDKBase.Map) 301 public init?(map: HHSDKBase.Map)
302 mutating public func mapping(map: HHSDKBase.Map) 302 mutating public func mapping(map: HHSDKBase.Map)
303 } 303 }
304 -extension Permission : CoreLocation.CLLocationManagerDelegate { 304 +extension HHPermission : CoreLocation.CLLocationManagerDelegate {
305 @objc dynamic public func locationManager(_ manager: CoreLocation.CLLocationManager, didChangeAuthorization status: CoreLocation.CLAuthorizationStatus) 305 @objc dynamic public func locationManager(_ manager: CoreLocation.CLLocationManager, didChangeAuthorization status: CoreLocation.CLAuthorizationStatus)
306 } 306 }
307 extension EKAttributes { 307 extension EKAttributes {
@@ -906,12 +906,12 @@ extension EKAttributes { @@ -906,12 +906,12 @@ extension EKAttributes {
906 @objc required dynamic public init?(coder aDecoder: Foundation.NSCoder) 906 @objc required dynamic public init?(coder aDecoder: Foundation.NSCoder)
907 @objc deinit 907 @objc deinit
908 } 908 }
909 -@objc public class Permission : ObjectiveC.NSObject {  
910 - public static let locationAlways: HHSDKVideo.Permission  
911 - public static let locationWhenInUse: HHSDKVideo.Permission  
912 - public static let microphone: HHSDKVideo.Permission  
913 - public static let camera: HHSDKVideo.Permission  
914 - public static let photos: HHSDKVideo.Permission 909 +@objc public class HHPermission : ObjectiveC.NSObject {
  910 + public static let locationAlways: HHSDKVideo.HHPermission
  911 + public static let locationWhenInUse: HHSDKVideo.HHPermission
  912 + public static let microphone: HHSDKVideo.HHPermission
  913 + public static let camera: HHSDKVideo.HHPermission
  914 + public static let photos: HHSDKVideo.HHPermission
915 final public let type: HHSDKVideo.PermissionType 915 final public let type: HHSDKVideo.PermissionType
916 public var status: HHSDKVideo.PermissionStatus { 916 public var status: HHSDKVideo.PermissionStatus {
917 get 917 get
@@ -925,7 +925,7 @@ extension EKAttributes { @@ -925,7 +925,7 @@ extension EKAttributes {
925 @objc override dynamic public init() 925 @objc override dynamic public init()
926 @objc deinit 926 @objc deinit
927 } 927 }
928 -extension Permission { 928 +extension HHPermission {
929 @objc override dynamic public var description: Swift.String { 929 @objc override dynamic public var description: Swift.String {
930 @objc get 930 @objc get
931 } 931 }