请求参数 参数 类型 说明 是否必须 faceFea1 NSArray*>faceFea1 的特征值 是 faceFea2 NSArray*>faceFea2 的特征值 是 返回值 类型 说明 float 两张人脸的对比分数 代码示例 float score1=[self.idrs faceRecognitionSimilarity:face....
NSArray*sortedList=[keyList sortedArrayUsingComparator:^NSComparisonResult(id_Nonnull obj1,id_Nonnull obj2){ return[(NSString*)obj1 compare:obj2];}];[sortedList enumerateObjectsUsingBlock:^(id_Nonnull obj,NSUInteger idx,...
扩展字段@end@interface AUSegment(ItemModel)/*第二版的初始化函数*@param frame frame*@param menus item 数组*/-(instancetype)initWithFrame:(CGRect)frame menus:(NSArray*>*)menus;支持更新控件 item 项@param items 需要更新的 item...
参数说明 参数 类型 是否必须 说明 target int 是 目标类型可选值:1:本设备 2:本设备绑定的账号 3:别名 tags NSArray 是 标签(数组输入)alias NSString 否 别名,仅当target=3时生效 callback Block 否 回调 解绑标签 解绑指定目标的...
(NSArray*>*_Nullable)getCameraList;getCurrentCamera:获取当前使用的摄像头名称(仅Mac)。(NSString*_Nullable)getCurrentCamera;setCurrentCamera:通过名称设置摄像头(仅Mac)。(void)setCurrentCamera:(NSString*_Nonnull)camera;...
param domain 域名/param complete 回调(所有域名信息)-(void)getIpv4InfoWithDomain:(NSString*)domain complete:(void(^)(NSArray*>*domainInfoArray))complete;获取域名解析后的IPv6信息数组/如果开启了缓存开关,那么优先获取缓存中的...
(NSArray*>*_Nullable)getCameraList;getCurrentCamera:获取当前使用的摄像头名称(仅Mac)。(NSString*_Nullable)getCurrentCamera;setCurrentCamera:通过名称设置摄像头(仅Mac)。(void)setCurrentCamera:(NSString*_Nonnull)camera;...
参数说明 参数 类型 是否必填 说明 hosts NSArray 是 预解析域名列表 ipType AlicloudHttpDNS_IPType 是 取值如下:AlicloudHttpDNS_IPTypeV4(IPv4)AlicloudHttpDNS_IPTypeV6(IPv6)AlicloudHttpDNS_IPTypeV64(IPv4+IPv6)是否允许HTTPDNS...
end NSArray*datas=[[DemoVerticalTabData new],[DemoVerticalTabData new],[DemoVerticalTabData new],[DemoVerticalTabData new],[DemoVerticalTabData new],[DemoVerticalTabData new],[DemoVerticalTabData new]];AUVerticalTabView*...
接口定义-(NSArray*)getIPv6sByHostAsync:(NSString*)host 重要 2.1.0版本对接口名称进行了优化,如果接入的SDK是2.1.0版本或2.1.0以后的版本,建议使用下面的新API,上面这个旧API可能会在后续版本中删除-(NSArray*)getIPv6...
2.获取缩略图/使用时间间隔获取接口[self.parser loadThumbnailListWithDuration:1.0 imageWidth:100 complete:^(int errorCode,NSArray*>*imageList){ }];使用时间数组获取接口 NSArray*>*timeList=[@0,@1.0,@2.5,@6];[self.parser ...
2.获取缩略图/使用时间间隔获取接口[self.parser loadThumbnailListWithDuration:1.0 imageWidth:100 complete:^(int errorCode,NSArray*>*imageList){ }];使用时间数组获取接口 NSArray*>*timeList=[@0,@1.0,@2.5,@6];[self.parser ...
NSArray*camList=[self.engine getCameraList];设备名称 NSString*matchDeviceName=*测试设备名*/;int camCount=(int)camList.count;for(int i=0;i;i+){ DingRtcDeviceInfo*deviceInfo=[camList objectAtIndex:i];NSString*name=deviceInfo...
createCards/*创建批量卡片,每个卡片结果回调一次@param configs 批量卡片配置参数@param callback 卡片创建回调*/-(void)createCards:(NSArray*>*)configs callback:(id)callback;createView/*创建渲染 view@return CubeView*/-(CubeView...
NSArray*camList=[self.engine getCameraList];设备名称 NSString*matchDeviceName=*测试设备名*/;int camCount=(int)camList.count;for(int i=0;i;i+){ AliRtcDeviceInfo*deviceInfo=[camList objectAtIndex:i];NSString*name=deviceInfo....
Property List 对象:NSNumber、NSString、NSData、NSDate、NSArray、NSDictionary,NSArray 和 NSDictionary 里的子对象也只能是 PList 对象。使用 setObject 保存 Property List 后,使用 objectForKey 取到的对象是 Mutable 的。下面...
NSArray*>*agent=[@""];运行。Demo运行成功进入首页,输入频道号并单击 确定。进入频道页面后,可以看到本地已经开启的预览视图。单击 开始 加入频道,如果该频道中有其他用户即可开始实时音视频通话。您也可以单击 屏幕共享 把自己的屏幕...
通过阅读本文,您可以了解运行iOS Demo的方法。前提条件 您已从控制台获取鉴权信息,具体操作,请...NSArray*>*agent=[@""];运行。Demo运行成功进入首页,您可以看到本地预览视图并进入房间。如果该频道中有其他用户即可开始实时音视频通话。
interface AUAmountInputBox:UIView/*AUAmountInputBox 初始化方法@param views@[AUAmountInputField,AUAmountInputFieldFooterView]@return AUAmountInputBox*/(AUAmountInputBox*)amountInputBoxWithViews:(NSArray*)views;end NS_ASSUME...
菜单点开后发 RPC 加载动态下发菜单项,RPC 完成后调 update,完成旧 view 移出,添加新 view 的过程*/-(void)updateWithItems:(NSArray*>*)items;end AUNavItemView.h/AUNavItemView.h/AntUI/import<UIKit/UIKit.h>typedef NS_ENUM...
} }-(NSArray*>*)handleHeaderFields:(NSDictionary*)headerFields forURL:(NSURL*)URL { NSArray*cookieArray=[NSHTTPCookie cookiesWithResponseHeaderFields:headerFields forURL:URL];if(cookieArray!nil){ NSHTTPCookieStorage*...
} }-(NSArray*>*)handleHeaderFields:(NSDictionary*)headerFields forURL:(NSURL*)URL { NSArray*cookieArray=[NSHTTPCookie cookiesWithResponseHeaderFields:headerFields forURL:URL];if(cookieArray!nil){ NSHTTPCookieStorage*...
NSArray*spaceCodes=[@"code1",@"code2"];[CDPPromotionCenter addObserver:self spaceCodesForView:spaceCodes spaceCodesForData:nil extInfo:nil immediately:YES];实现 PromotionCenterDelegate 协议中回调 spaceView 对象的方法,将...
人脸追踪[self.idrs faceTrackFromVideo:detectParam faceDetectionCallback:^(NSError*error,NSArray*>*faces){ dispatch_async(dispatch_get_main_queue(),^{ self.drawView.faceDetectView.detectResult=faces;});}];} })} 自定义推音频...
IP信息列表@property(nonatomic,copy)NSArray*>*ipList;end MPDNSNetworkIP@interface MPDNSNetworkIP:NSObject/IP地址@property(nonatomic,copy)NSString*ip;IP端口@property(nonatomic,assign)NSInteger port;IP类型(4:IPv4 6:IPv6)@...
property(nonatomic,strong,readonly)NSArray<id<AUImagePickerDataProtocol>>*imagePickerDatas;(void)updateImagePickerDatas:(NSArray<id<AUImagePickerDataProtocol>>*)datas;end@protocol AUImagePickerDelegate<NSObject>@required-...
重要 2.1.0版本对接口名称进行了优化,如果接入的SDK是2.1.0版本或2.1.0以后的版本,建议使用下面的新API,上面这个旧API可能会在后续版本中删除-(NSArray*)getIPv4ListForHostAsync:(NSString*)host;参数说明 参数 类型 是否必填 说明 ...
NSArray*items=[@"类方法创建",@"成员方法创建",@"时间选择器1",@"时间选择器2"];UISegmentedControl*segmentControl=[[UISegmentedControl alloc]initWithItems:items];[segmentControl addTarget:self action:@selector(onClick:)...
if([op isKindOfClass:[NSArray class]]){[op enumerateObjectsUsingBlock:^(NSDictionary*item,NSUInteger idx,BOOL*stop){ if([item isKindOfClass:[NSDictionary class]]){ NSString*plString=item[@"pl"];业务数据 payload if(item[@...
callJsFunction/*调用 JS 方法@param function 方法名@param arguments 调用参数*/-(void)callJsFunction:(NSString*)function arguments:(NSArray*)arguments;notifyState/*通知卡片状态@param state 卡片状态,在卡片出屏,上屏、前后台...
初始化方法(强烈推荐此方法)*@param data 数组存放对象模型 CellDataModel*@param location 方向角的基准点*@param offset 方向角相对基准点的偏移量*@return self*/-(instancetype)initWithData:(NSArray*)data location:(CGPoint)...
(CGRect)frame bizType:(NSString*)bizType images:(NSArray*)images placeholder:(UIImage*)placeholder actionURLs:(NSArray*)actionURLs makeConfig:(void(^)(AUBannerViewConfig*config))configOperation;end/Extension#interface ...
(NSArray*>*)getOnlineRemoteUsers;返回说明 返回用户ID列表。getUserInfo:查询远端用户信息。(NSDictionary*)getUserInfo:(NSString*)uid;参数说明 名称 类型 描述 uid NSString*用户ID。isUserOnline:查询用户是否在线。(BOOL)...
(void)didJoinroomSuccess{ }-(void)didParticepantsEntered:(NSArray*>*)participants{ } 加入房间失败,会有 error 回调。error.code=ARTVCErrorCodeProtocolErrorJoinRoomFailed-(void)didEncounterError:(NSError*)error forFeed:...
获取所有小程序包 appId 接口说明 代码示例 NSArray*res=[[MPNebulaAdapterInterface shareInstance]allAppIds];获取指定小程序包信息 接口说明 代码示例 NSDictionary*res=[[MPNebulaAdapterInterface shareInstance]allAppsForAppId:@[@...
property(nonatomic,strong)NSArray*>*rowSubList;end/联动效果所需要的数据模型@interface AUCascadePickerModel:NSObject@property(nonatomic,strong)AUCascadePickerSelectedRowItem*preSelected;业务方传进来的选中项@property...
获取当前的播放url,截取url的前缀 NSArray*urlSeparated=[self.playUrl componentsSeparatedByString:@":/"];NSString*urlPrefix=urlSeparated.firstObject;判断url前缀是否是artc,如果是的话就降级为http-flv形式的传统直播 if(...
设置群组开关属性为例,isOpen取值1表示打开设备,0表示关闭设备-(void)setControlGroupPowerProperty:(NSString*)groupId devices:NSArray*>*deviceIotIds isOpen:(BOOL)isOpen { IMSHomeLogDebug(@"setControlGroupPwoerProperty:%isOpen...
liveTranscodingConfig.mixStreams=[NSArray arrayWithObjects:anchorMixStream,audienceMixStream,nil];[self.rtcPusher setLiveMixTranscodingConfig:liveTranscodingConfig];取消静音功能 取消静音需求,也需要分两个操作:主播A调用...
datas 是 AUPopItemModel 对象列表*position 方向尖角所在位置*superView 所在父 view*isArchViewUp 方向角的朝向,默认朝下*/-(instancetype)initWithDatas:(NSArray*)datas position:(CGPoint)position superView:(UIView*)superView ...