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

45 lines
1.2 KiB
Objective-C
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+RemoteControl.h
// GWP2P
//
// Created by JonorZhang on 2019/8/29.
// Copyright © 2019 apple. All rights reserved.
//
#import <GWP2P/GWP2P.h>
NS_ASSUME_NONNULL_BEGIN
@interface GWP2PClient (RemoteControl)
/**
多sensor支持。[15:8]支持sensor数量, [7:0]当前选择的sensor索引(注意索引值是从1开始的没有用0)
@param index 当前选择的sensor索引(注意索引值是从1开始的没有用0)
@param deviceID 设备ID
@param devicePassword 设备密码
@param completionBlock 与设备交互完成后的回调Block
*/
- (void)setMultiSensorIdx:(UInt16)index
deviceID:(NSString *)deviceID
devicePassword:(NSString *)devicePassword
completionBlock:(CompletionBlock)completionBlock;
/**
手动红外灯控制
@param on 红外灯状态,1开0关
@param deviceID 设备ID
@param devicePassword 设备密码
@param completionBlock 与设备交互完成后的回调Block
*/
- (void)setIRLEDLightOn:(BOOL)on
deviceID:(NSString *)deviceID
devicePassword:(NSString *)devicePassword
completionBlock:(CompletionBlock)completionBlock;
@end
NS_ASSUME_NONNULL_END