ashen_23

sdk upgrade

Showing 55 changed files with 63 additions and 65 deletions
No preview for this file type
No preview for this file type
... ... @@ -3,5 +3,5 @@
<plist version="1.0">
<dict>
<key>HHBundleVersion</key>
<string>05:27:14:20</string></dict>
<string>08:26:18:37</string></dict>
</plist>
... ...

7.62 KB | W: | H:

3.67 KB | W: | H:

  • 2-up
  • Swipe
  • Onion skin

7.5 KB | W: | H:

3.68 KB | W: | H:

  • 2-up
  • Swipe
  • Onion skin

10.8 KB | W: | H:

5.41 KB | W: | H:

  • 2-up
  • Swipe
  • Onion skin

11 KB | W: | H:

5.34 KB | W: | H:

  • 2-up
  • Swipe
  • Onion skin

11.8 KB | W: | H:

5.57 KB | W: | H:

  • 2-up
  • Swipe
  • Onion skin

12.2 KB | W: | H:

5.54 KB | W: | H:

  • 2-up
  • Swipe
  • Onion skin

7.27 KB | W: | H:

3.5 KB | W: | H:

  • 2-up
  • Swipe
  • Onion skin

7.13 KB | W: | H:

3.7 KB | W: | H:

  • 2-up
  • Swipe
  • Onion skin
... ... @@ -242,16 +242,6 @@ SWIFT_PROTOCOL("_TtP11HHDoctorSDK23FloatRatingViewDelegate_")
- (void)floatRatingView:(FloatRatingView * _Nonnull)ratingView isUpdating:(float)rating;
@end
SWIFT_CLASS("_TtC11HHDoctorSDK16HHAccountManager")
@interface HHAccountManager : NSObject
- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER;
@end
/// 呼叫类型
/// <ul>
/// <li>
... ... @@ -267,6 +257,13 @@ typedef SWIFT_ENUM(NSInteger, HHCallType, closed) {
};
/// 用户信息
SWIFT_CLASS("_TtC11HHDoctorSDK12HHCallerInfo")
@interface HHCallerInfo : NSObject
- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER;
@end
SWIFT_CLASS("_TtC11HHDoctorSDK11HHDateUtils")
@interface HHDateUtils : NSObject
- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER;
... ... @@ -377,12 +374,17 @@ SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly, strong, getter=defau
/// returns:
/// url
- (NSString * _Nonnull)getAllMedicsWithUserToken:(NSString * _Nonnull)userToken SWIFT_WARN_UNUSED_RESULT;
/// 主叫发起通话
/// 主动发起多人通话
/// \param type 呼叫类型
///
/// \param busyCanJump 繁忙时是否跳转
/// \param callee 被呼叫人的信息
///
- (void)startTeamCall:(enum HHCallType)type callee:(HHCallerInfo * _Nonnull)callee;
/// 主叫发起通话
/// \param type 呼叫类型
///
- (void)startCall:(enum HHCallType)type;
- (void)terminate;
/// 更新APNS Token
/// \param token APNS Token
///
... ... @@ -411,6 +413,7 @@ enum PermissionType : NSInteger;
/// 视频管理器代理
SWIFT_PROTOCOL("_TtP11HHDoctorSDK16HHMVideoDelegate_")
@protocol HHMVideoDelegate <NSObject>
@optional
/// 主动视频时的呼叫状态变化
/// \param state 当前呼叫状态
///
... ... @@ -495,21 +498,12 @@ typedef SWIFT_ENUM(NSInteger, HHPagerViewTransformerType, closed) {
HHPagerViewTransformerTypeCubic = 8,
};
@class UIViewController;
SWIFT_CLASS("_TtC11HHDoctorSDK23HHPhotoPickerController")
@interface HHPhotoPickerController : UINavigationController
- (void)viewDidLoad;
- (nonnull instancetype)initWithNavigationBarClass:(Class _Nullable)navigationBarClass toolbarClass:(Class _Nullable)toolbarClass OBJC_DESIGNATED_INITIALIZER SWIFT_AVAILABILITY(ios,introduced=5.0);
- (nonnull instancetype)initWithRootViewController:(UIViewController * _Nonnull)rootViewController OBJC_DESIGNATED_INITIALIZER;
- (nonnull instancetype)initWithNibName:(NSString * _Nullable)nibNameOrNil bundle:(NSBundle * _Nullable)nibBundleOrNil OBJC_DESIGNATED_INITIALIZER;
- (nullable instancetype)initWithCoder:(NSCoder * _Nonnull)aDecoder OBJC_DESIGNATED_INITIALIZER;
@end
/// 全局配置
SWIFT_CLASS("_TtC11HHDoctorSDK12HHSDKOptions")
@interface HHSDKOptions : NSObject
SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly, strong, getter=default) HHSDKOptions * _Nonnull default_;)
+ (HHSDKOptions * _Nonnull)default SWIFT_WARN_UNUSED_RESULT;
/// hud 自动显示的时间
@property (nonatomic) NSTimeInterval hudDisTime;
/// 调试模式(打印日志)
... ... @@ -526,6 +520,8 @@ SWIFT_CLASS("_TtC11HHDoctorSDK12HHSDKOptions")
@property (nonatomic) BOOL allowBeauty;
/// 允许视频完成后评价
@property (nonatomic) BOOL allowEvaluate;
/// 不要配置此参数
@property (nonatomic) BOOL isShowDocInfo;
- (nonnull instancetype)initWithProductId:(NSString * _Nonnull)productId isDebug:(BOOL)isDebug isDevelop:(BOOL)isDevelop OBJC_DESIGNATED_INITIALIZER;
- (nonnull instancetype)init SWIFT_UNAVAILABLE;
+ (nonnull instancetype)new SWIFT_DEPRECATED_MSG("-init is unavailable");
... ... @@ -577,6 +573,8 @@ typedef SWIFT_ENUM(NSInteger, PermissionType, closed) {
@class UITapGestureRecognizer;
@class NSTimer;
... ...
... ... @@ -32,18 +32,18 @@
#import "ijksdl_vout_overlay_videotoolbox.h"
#import "NTESGLView.h"
#import "ObjectMapper.h"
#import "HHPhotoPicker.h"
#import "CGGeometry+RSKImageCropper.h"
#import "RSKImageCropper.h"
#import "RSKImageCropVC.h"
#import "RSKImageCropViewController+Protected.h"
#import "RSKImageCropViewController.h"
#import "RSKImageScrollView.h"
#import "RSKTouchView.h"
#import "SDKImageCropper.h"
#import "SDKImageScrollView.h"
#import "SDKTouchView.h"
#import "UIApplication+RSKImageCropper.h"
#import "UIImage+RSKImageCropper.h"
#import "HHCameraImageModel.h"
#import "PhotoPicker.h"
#import "HHCameraUtil.h"
#import "HHPHAssetManager.h"
#import "SDKCameraImageModel.h"
#import "SDKCameraUtil.h"
#import "SDKPHAssetManager.h"
#import "HttpsDNSAuth.h"
#import "HHAnimatedImageRep.h"
#import "HHImageCache.h"
... ...
... ... @@ -9,6 +9,6 @@
#ifndef PhotoPicker_h
#define PhotoPicker_h
#import "HHCameraImageModel.h"
#import "SDKCameraImageModel.h"
#endif /* PhotoPicker_h */
... ...
//
// RSKImageCropViewController.h
// RSKImageCropVC.h
//
// Copyright (c) 2014-present Ruslan Skorb, http://ruslanskorb.com/
//
... ... @@ -24,8 +24,8 @@
#import <UIKit/UIKit.h>
@protocol RSKImageCropViewControllerDataSource;
@protocol RSKImageCropViewControllerDelegate;
@protocol RSKImageCropVCDataSource;
@protocol RSKImageCropVCDelegate;
/**
Types of supported crop modes.
... ... @@ -40,7 +40,7 @@ typedef NS_ENUM(NSUInteger, RSKImageCropMode) {
};
@interface RSKImageCropViewController : UIViewController
@interface RSKImageCropVC : UIViewController
/**
Designated initializer. Initializes and returns a newly allocated view controller object with the specified image.
... ... @@ -64,16 +64,16 @@ typedef NS_ENUM(NSUInteger, RSKImageCropMode) {
/**
The receiver's delegate.
@discussion A `RSKImageCropViewControllerDelegate` delegate responds to messages sent by completing / canceling crop the image in the image crop view controller.
@discussion A `RSKImageCropVCDelegate` delegate responds to messages sent by completing / canceling crop the image in the image crop view controller.
*/
@property (weak, nonatomic) id<RSKImageCropViewControllerDelegate> delegate;
@property (weak, nonatomic) id<RSKImageCropVCDelegate> delegate;
/**
The receiver's data source.
@discussion A `RSKImageCropViewControllerDataSource` data source provides a custom rect and a custom path for the mask.
@discussion A `RSKImageCropVCDataSource` data source provides a custom rect and a custom path for the mask.
*/
@property (weak, nonatomic) id<RSKImageCropViewControllerDataSource> dataSource;
@property (weak, nonatomic) id<RSKImageCropVCDataSource> dataSource;
///--------------------------
/// @name Accessing the Image
... ... @@ -191,9 +191,9 @@ typedef NS_ENUM(NSUInteger, RSKImageCropMode) {
@end
/**
The `RSKImageCropViewControllerDataSource` protocol is adopted by an object that provides a custom rect and a custom path for the mask.
The `RSKImageCropVCDataSource` protocol is adopted by an object that provides a custom rect and a custom path for the mask.
*/
@protocol RSKImageCropViewControllerDataSource <NSObject>
@protocol RSKImageCropVCDataSource <NSObject>
/**
Asks the data source a custom rect for the mask.
... ... @@ -204,7 +204,7 @@ typedef NS_ENUM(NSUInteger, RSKImageCropMode) {
@discussion Only valid if `cropMode` is `RSKImageCropModeCustom`.
*/
- (CGRect)imageCropViewControllerCustomMaskRect:(RSKImageCropViewController *)controller;
- (CGRect)imageCropViewControllerCustomMaskRect:(RSKImageCropVC *)controller;
/**
Asks the data source a custom path for the mask.
... ... @@ -215,7 +215,7 @@ typedef NS_ENUM(NSUInteger, RSKImageCropMode) {
@discussion Only valid if `cropMode` is `RSKImageCropModeCustom`.
*/
- (UIBezierPath *)imageCropViewControllerCustomMaskPath:(RSKImageCropViewController *)controller;
- (UIBezierPath *)imageCropViewControllerCustomMaskPath:(RSKImageCropVC *)controller;
@optional
... ... @@ -228,35 +228,35 @@ typedef NS_ENUM(NSUInteger, RSKImageCropMode) {
@discussion Only valid if `cropMode` is `RSKImageCropModeCustom`. If you want to support the rotation when `cropMode` is `RSKImageCropModeCustom` you must implement it. Will be marked as `required` in version `2.0.0`.
*/
- (CGRect)imageCropViewControllerCustomMovementRect:(RSKImageCropViewController *)controller;
- (CGRect)imageCropViewControllerCustomMovementRect:(RSKImageCropVC *)controller;
@end
/**
The `RSKImageCropViewControllerDelegate` protocol defines messages sent to a image crop view controller delegate when crop image was canceled or the original image was cropped.
The `RSKImageCropVCDelegate` protocol defines messages sent to a image crop view controller delegate when crop image was canceled or the original image was cropped.
*/
@protocol RSKImageCropViewControllerDelegate <NSObject>
@protocol RSKImageCropVCDelegate <NSObject>
@optional
/**
Tells the delegate that crop image has been canceled.
*/
- (void)imageCropViewControllerDidCancelCrop:(RSKImageCropViewController *)controller;
- (void)imageCropViewControllerDidCancelCrop:(RSKImageCropVC *)controller;
/**
Tells the delegate that the original image will be cropped.
*/
- (void)imageCropViewController:(RSKImageCropViewController *)controller willCropImage:(UIImage *)originalImage;
- (void)imageCropViewController:(RSKImageCropVC *)controller willCropImage:(UIImage *)originalImage;
/**
Tells the delegate that the original image has been cropped. Additionally provides a crop rect used to produce image.
*/
- (void)imageCropViewController:(RSKImageCropViewController *)controller didCropImage:(UIImage *)croppedImage usingCropRect:(CGRect)cropRect;
- (void)imageCropViewController:(RSKImageCropVC *)controller didCropImage:(UIImage *)croppedImage usingCropRect:(CGRect)cropRect;
/**
Tells the delegate that the original image has been cropped. Additionally provides a crop rect and a rotation angle used to produce image.
*/
- (void)imageCropViewController:(RSKImageCropViewController *)controller didCropImage:(UIImage *)croppedImage usingCropRect:(CGRect)cropRect rotationAngle:(CGFloat)rotationAngle;
- (void)imageCropViewController:(RSKImageCropVC *)controller didCropImage:(UIImage *)croppedImage usingCropRect:(CGRect)cropRect rotationAngle:(CGFloat)rotationAngle;
@end
... ...
//
// RSKImageCropViewController+Protected.h
// RSKImageCropVC+Protected.h
//
// Copyright (c) 2014-present Ruslan Skorb, http://ruslanskorb.com/
//
... ... @@ -23,11 +23,11 @@
//
/**
The methods in the RSKImageCropViewControllerProtectedMethods category
The methods in the RSKImageCropVCProtectedMethods category
typically should only be called by subclasses which are implementing new
image crop view controllers. They may be overridden but must call super.
*/
@interface RSKImageCropViewController (RSKImageCropViewControllerProtectedMethods)
@interface RSKImageCropVC (RSKImageCropVCProtectedMethods)
/**
Asynchronously crops the original image in accordance with the current settings and tells the delegate that the original image will be / has been cropped.
... ...
... ... @@ -9,7 +9,7 @@
#import <Foundation/Foundation.h>
#import <UIKit/UIKit.h>
@interface HHCameraImageModel : NSObject
@interface SDKCameraImageModel : NSObject
/// 全尺寸图像
@property(nonatomic,strong)NSString *fullPath;
... ...
//
// HHCameraUtil.h
// SDKCameraUtil.h
// CameraLibrary
//
// Created by shmily on 16/5/25.
... ... @@ -20,7 +20,7 @@ typedef enum : NSUInteger {
} ProType;
@interface HHCameraUtil : NSObject
@interface SDKCameraUtil : NSObject
/// 是否应该被压缩
@property(nonatomic,assign)BOOL shouldReduce;
... ...
... ... @@ -26,4 +26,4 @@
`RSKImageCropper` is an image cropper for iOS like in the Contacts app with support for landscape orientation.
*/
#import "RSKImageCropViewController.h"
#import "RSKImageCropVC.h"
... ...
/*
File: RSKImageScrollView.h
File: SDKImageScrollView.h
Abstract: Centers image within the scroll view and configures image sizing and display.
Version: 1.3 modified by Ruslan Skorb on 8/24/14.
... ... @@ -47,7 +47,7 @@
#import <UIKit/UIKit.h>
@interface RSKImageScrollView : UIScrollView
@interface SDKImageScrollView : UIScrollView
@property (nonatomic, strong) UIImageView *zoomView;
@property (nonatomic, assign) BOOL aspectFill;
... ...
//
// HHPHAssetManager.h
// SDKPHAssetManager.h
// CameraLibrary
//
// Created by shmily on 16/3/16.
... ... @@ -9,7 +9,7 @@
#import <UIKit/UIKit.h>
#import <Photos/Photos.h>
@interface HHPHAssetManager : NSObject
@interface SDKPHAssetManager : NSObject
- (void)tranformImage:(PHAsset *)asset finished:(void (^)(NSData *fullData,NSData *scaledData))finishBlock;
... ...
//
// RSKTouchView.h
// SDKTouchView.h
//
// Copyright (c) 2014-present Ruslan Skorb, http://ruslanskorb.com/
//
... ... @@ -24,7 +24,7 @@
#import <UIKit/UIKit.h>
@interface RSKTouchView : UIView
@interface SDKTouchView : UIView
@property (weak, nonatomic) UIView *receiver;
... ...
No preview for this file type
No preview for this file type