}-(void)onHalfwayVerifySuccess:(AlicomFusionAuthHandler*)handler nodeName:(NSString*)nodeName maskToken:(NSString*)maskToken event:(nonnull AlicomFusionEvent*)event resultBlock:(void(^)(BOOL))resultBlock { NSLog(@"%s,调用...
NSString*h5Json=[[NSBundle mainBundle]pathForResource:[NSString stringWithFormat:@"MPCustomPresetApps.bundle/h5_json.json"]ofType:nil];NSString*amrBundle=[[NSBundle mainBundle]pathForResource:[NSString stringWithFormat:@...
registerModules/*设置自定义扩展 module@param modules 字典,key 为 module 名称,例如 animation,value 为类名,例如 CKAnitmationModule*/-(void)registerModules:(NSDictionary<NSString*,NSString*>*)modules;registerWidgets/*注册...
可以传 image 或者 URL 或者 cloudID@property(nonatomic,strong)NSString*topTitle;可以传 image 或者 URL 或者 cloudID@property(nonatomic,strong)id qrCodeIcon;二维码图@property(nonatomic,strong)NSString*bottomTitle;property...
[[TXCommonHandler sharedInstance]getLoginTokenWithTimeout:3.0 controller:self model:model complete:^(NSDictionary*_Nonnull resultDic){ NSString*resultCode=[resultDic objectForKey:@"resultCode"];if(...
返回结果说明 MPDNSNetworkInfo@interface MPDNSNetworkInfo:NSObject/域名@property(nonatomic,copy)NSString*host;cname@property(nonatomic,copy)NSString*cname;IP信息列表@property(nonatomic,copy)NSArray*>*ipList;end ...
参数:参数 类型 描述 备注 primaryDomain NSString 主域名 必需设置 standbyDomain NSString 备用域名 可选 提示:此方法需要初始化方法之前调用 示例:#import<UMAPM/UMAPMConfig.h>#import<UMAPM/UMCrashConfigure.h>#import...
SDK提供蓝牙Mesh组控业务的...设置群组开关属性为例,isOpen取值1表示打开设备,0表示关闭设备-(void)setControlGroupPowerProperty:(NSString*)groupId devices:NSArray<NSString*>*deviceIotIds isOpen:(BOOL)isOpen { IMSHomeLogDebug(@...
接口定义+(void)addAlias:(NSString*)alias withCallback:(CallbackHandler)callback;参数说明 参数 类型 是否必填 说明 alias NSString 是 别名 callback Block 否 回调 删除别名 删除设备别名。说明 支持删除指定别名和删除全部别名。...
按照指定格式对文本添加空格*@param text 文本内容*@return 添加空格后的文本*/-(NSString*)formatText:(NSString*)text;对于没有在初始化时指定 icon 的 inputBox,可以使用此方法添加*@param icon 按钮上的图标*/-(void)...
自定义jsapi路径和预置小程序包信息 NSString*presetApplistPath=[[NSBundle mainBundle]pathForResource:[NSString stringWithFormat:@"DemoCustomPresetApps.bundle/h5_json.json"]ofType:nil];NSString*appPackagePath=[[NSBundle ...
结束场景*@param templateId 场景唯一标识与控制台场景ID唯一对应*@note 随时调用,随时停止,与start接口对应,结束后才可以start下一次场景,不可同时start多个场景*/-(void)stopSceneWithTemplateId:(NSString*)templateId;使用示例...
define VMP_SIGN_WITH_GENERAL_WUA2(3)-(NSString*)avmpSign{@synchronized(self){ NSString*request_body="i am the request body,encrypted or not!if![self initAVMP]){[self toast:@"Error:init failed"];return nil;} NSString*...
if(result.resultType=TBScanResultTypeQRCode){ content=[NSString stringWithFormat:@"qrcode:%,hiddenData:%,TBScanQRCodeResultType:%",result.data,result.hiddenData,[result.extData objectForKey:TBScanResultTypeQRCode]];...
NSString*requestRange=[NSString stringWithFormat:@"bytes=llu-",self.totalReceivedContentLength];[request setValue:requestRange forHTTPHeaderField:@"Range"];} else { self.totalReceivedContentLength=0;} if(self....
代码示例#import<ALBBOpenAccountSSO/ALBBOpenAccountSSOService.h>#import<ALBBOpenAccountCloud/ALBBOpenAccountSDK.h>/Google生成plist文件中的CLIENT_ID static NSString*const IMSAuthPlatformGoogleAppKey="xxxx.apps....
end@protocol AUBladeViewDelegate<NSObject>@optional-(void)indexSelectionDidChange:(AUBladeView*)indexBar index:(NSInteger)index title:(NSString*)title;end 代码示例/bladeViewController.m/AntUI/import"bladeViewController.h"#...
支持中间插入多项@param array 插入的标题数组@param indexes 插入的 indexs*/-(void)insertTitleArray:(NSArray<NSString*>*)array atIndexes:(NSIndexSet*)indexes;支持在末尾新增多项@param array 新增的标题数组*/-(void)addTitleArray...
具体问题:iOS中接口:(NSArray*)getIpsByHostAsync:(NSString*)host;(NSString*)getIpByHostAsyncInURLFormat:(NSString*)host;返回的是最优的IP?需要怎样处理?回复:在SDK 1.6.12+的版本上增加 IP优选 功能的接口:(void)...
class="reference-link">+(BOOL)registerSyncBizWithName:(NSString*)bizName syncObserver:(id)observer selector:(SEL)selector;注册对业务名称为 bizName 的通知监听,内部调用了[[NSNotificationCenter defaultCenter]addObserver:...
总数据量要求小于10Kb*@param key key*@param value value*/(void)configCustomInfoWithKey:(NSString*)key value:(NSString*)value;使用示例:[AlicloudCrashProvider configCustomInfoWithKey:@"key"value:@"value"];配置项:自定义环境...
本文介绍 iOS SDK API 的使用方法。...(void)didSubscriber:(NSString*)subscriber unsubscribedAFeed:(ARTVCFeed*)feed{[self showToastWith:[NSString stringWithFormat:@"subscriber unsubscribed:%",feed]duration:2.0];}
(void)onNetworkQualityChanged:(NSString*)uid upNetworkQuality:(AliRtcNetworkQuality)upQuality downNetworkQuality:(AliRtcNetworkQuality)downQuality;参数 类型 描述 uid NSString*网络质量发生变化的用户ID,用户ID为空表示本地,...
使用方式 发送带身份认证的API请求/引入头文件#import<IMSAuthentication/IMSIoTAuthentication.h>#import<IMSApiClient/IMSApiClient.h>/构建请求 NSString*path="/uc/listByAccount;NSString*apiVer="1.0.0;NSDictionary*params={};...
引入头文件:#import<AlicloudAPM/AlicloudAPMProvider.h>#import添加代码段:NSString*appVersion="xxx;NSString*channel="xxx;NSString*nick="xxx;[[AlicloudAPMProvider alloc]autoInitWithAppVersion:appVersion channel:channel nick:...
自定义 JSAPI 路径和预置离线包信息 NSString*presetApplistPath=[[NSBundle mainBundle]pathForResource:[NSString stringWithFormat:@"DemoCustomPresetApps.bundle/h5_json.json"]ofType:nil];NSString*appPackagePath=[[NSBundle ...
初始化容器,自定义预置小程序包信息 NSString*presetApplistPath=[[NSBundle mainBundle]pathForResource:[NSString stringWithFormat:@"DemoCustomPresetApps.bundle/h5_json.json"]ofType:nil];NSString*appPackagePath=[[NSBundle ...
功能:记录页面从展现到页面离开的停留时间 入参:页面停留时间 是否必须调用:否 调用时机:需要记录当前页面停留时间 4.3.4 设置页面事件扩展参数 接口:(void)setProperty:(NSString*)pKey value:(NSString*)pValue;功能:给单条日志...
interface SampleHandler()<DingScreenShareExtDelegate>@end@implementation SampleHandler-(void)broadcastStartedWithSetupInfo:(NSDictionary<NSString*,NSObject*>*)setupInfo {/User has requested to start the broadcast.Setup ...
(NSString*)genInitParams { NSString*strResourcesBundle=[[NSBundle mainBundle]pathForResource:@"Resources"ofType:@"bundle"];NSString*bundlePath=[[NSBundle bundleWithPath:strResourcesBundle]resourcePath];NSString*id_string=...
参数说明 参数 类型 是否必须 说明 target int 是 目标类型可选值:1:本设备 2:本设备绑定的账号 3:别名 tags NSArray 是 标签(数组输入)alias NSString 否 别名,仅当target=3时生效 callback Block 否 回调 解绑标签 解绑指定目标的...
end@implementation APRefreshTableViewController-(id)initWithNibName:(NSString*)nibNameOrNil bundle:(NSBundle*)nibBundleOrNil { self=[super initWithNibName:nibNameOrNil bundle:nibBundleOrNil];if(self){/Custom initialization...
nil){ NSString*descrip=err.localizedDescription;[self insertMsgWithColor:@"red"main:@"升级时预检查失败"detail:descrip];} else {[self insertMsgWithColor:@"blue"main:@"升级时预检查完成"detail:@"成功"];} } else if(type=...
}#pragma mark-APSKLaunchpadDelegate-(void)sharingLaunchpad:(APSKLaunchpad*)launchpad didSelectChannel:(NSString*)channelName {[self shareWithChannel:channelName tag:launchpad.tag];[launchpad dismissAnimated:YES];}-(void)...
(void)application:(UIApplication*)application beforeDidFinishLaunchingWithOptions:(NSDictionary*)launchOptions { NSString*presetApplistPath=[[NSBundle mainBundle]pathForResource:[NSString stringWithFormat:@...
接口说明(instancetype)storageInDocumentsWithName:(NSString*)name;创建路径为/Documents/name 的自定义存储。(id)initWithPath:(NSString*)path;在任意指定路径创建自定义存储,一般情况下无需使用这个方法,使用 ...
引入头文件:#import<AlicloudAPM/AlicloudAPMProvider.h>#import添加代码段:NSString*appVersion="xxx;配置项 NSString*channel="xxx;配置项 NSString*nick="xxx;配置项[[AlicloudAPMProvider alloc]autoInitWithAppVersion:appVersion ...
(int)startAudioAccompanyWithFile:(NSString*)filePath onlyLocalPlay:(BOOL)onlyLocalPlay replaceMic:(BOOL)replaceMic loopCycles:(NSInteger)loopCycles;参数说明 名称 类型 描述 filePath NSString*文件路径。onlyLocalPlay BOOL ...
属性 exceptionMessage/异常信息@property(nonatomic,copy)NSString*message;exceptionCardUid/异常卡片id@property(nonatomic,copy)NSString*cardUid;exceptionExtraInfo/异常信息扩展参数@property(nonatomic,copy)NSDictionary*...
实现图文详情页插入自定义 View 的代理方法-(void)insertCustomViewForRichTextDetailWithFeedData:(id)feedData contrainerView:(UIView*)contrainerView {/或者图文详情信息 NSSTring*title=feedData.title;NSSTring*publishTime=...