ifish/Ifish/GWP2PSDK/GWP2P.framework/Headers/GWP2PClient+HXVision.h

52 lines
1.7 KiB
Objective-C
Executable File
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

//
// GWP2PClient+HXVision.h
// GWP2P
//
// Created by duxiaoyan on 2018/7/27.
// Copyright © 2018年 apple. All rights reserved.
//
#import <GWP2P/GWP2P.h>
#import <Foundation/Foundation.h>
#import "GWP2PPlayerDefine.h"
#import <UIKit/UIKit.h>
/**
操作预置位方式
*/
typedef enum GWHXVisonPreseSubcmdType {
GWHXVisonPreseSubcmdTypeAdd,//增加
GWHXVisonPreseSubcmdTypeDelete,//删除
GWHXVisonPreseSubcmdTypeGoTo,//转向
GWHXVisonPreseSubcmdTypeGet,//获取
} GWHXVisonPreseSubcmdType;
@interface GWP2PClient (HXVision)
#pragma mark 汇讯视通预置位操作
/**
操作设备预置位
@param subcmdType GWHXVisonPreseSubcmdType枚举值
@param index 预置位add、goto传0-4get传0delete传bit0-bit4对应值例如5个预置位都删除传31
@param deviceID 设备ID
@param devicePassword 设备密码
@param completionBlock 与设备交互完成后的回调Block
*/
- (void)operateHXVisonDevicePresetWithSubCmdType:(GWHXVisonPreseSubcmdType)subcmdType
presetIndex:(NSInteger)index
deviceID:(NSString *)deviceID
devicePassword:(NSString *)devicePassword
completionBlock:(CompletionBlock)completionBlock;
-(void)hxVison3DGestureCommand:(GWP2PHXVison3DGestureZoomType)zoomType
withDeviceID:(NSString *)deviceID
devicePassword:(NSString *)devicePassword
point:(CGPoint)point
size:(CGSize)size;
- (void)sendHXCommandTypeandOption:(GWP2PHXVisonDirection)direction;
@end