iOS客户端Demo体验

}-(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:@...

CubeEngine

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...

iOS客户端Demo体验

[[TXCommonHandler sharedInstance]getLoginTokenWithTimeout:3.0 controller:self model:model complete:^(NSDictionary*_Nonnull resultDic){ NSString*resultCode=[resultDic objectForKey:@"resultCode"];if(...

接入 iOS

返回结果说明 MPDNSNetworkInfo@interface MPDNSNetworkInfo:NSObject/域名@property(nonatomic,copy)NSString*host;cname@property(nonatomic,copy)NSString*cname;IP信息列表@property(nonatomic,copy)NSArray*>*ipList;end ...

iOS SDK

参数:参数 类型 描述 备注 primaryDomain NSString 主域名 必需设置 standbyDomain NSString 备用域名 可选 提示:此方法需要初始化方法之前调用 示例:#import<UMAPM/UMAPMConfig.h>#import<UMAPM/UMCrashConfigure.h>#import...

蓝牙 Mesh 组控 SDK

SDK提供蓝牙Mesh组控业务的...设置群组开关属性为例,isOpen取值1表示打开设备,0表示关闭设备-(void)setControlGroupPowerProperty:(NSString*)groupId devices:NSArray<NSString*>*deviceIotIds isOpen:(BOOL)isOpen { IMSHomeLogDebug(@...

别名(alias)相关接口

接口定义+(void)addAlias:(NSString*)alias withCallback:(CallbackHandler)callback;参数说明 参数 类型 是否必填 说明 alias NSString 是 别名 callback Block 否 回调 删除别名 删除设备别名。说明 支持删除指定别名和删除全部别名。...

普通输入框

按照指定格式对文本添加空格*@param text 文本内容*@return 添加空格后的文本*/-(NSString*)formatText:(NSString*)text;对于没有在初始化时指定 icon 的 inputBox,可以使用此方法添加*@param icon 按钮上的图标*/-(void)...

在客户端预置 iOS 小程序

自定义jsapi路径和预置小程序包信息 NSString*presetApplistPath=[[NSBundle mainBundle]pathForResource:[NSString stringWithFormat:@"DemoCustomPresetApps.bundle/h5_json.json"]ofType:nil];NSString*appPackagePath=[[NSBundle ...

iOS客户端接入

结束场景*@param templateId 场景唯一标识与控制台场景ID唯一对应*@note 随时调用,随时停止,与start接口对应,结束后才可以start下一次场景,不可同时start多个场景*/-(void)stopSceneWithTemplateId:(NSString*)templateId;使用示例...

为iOS应用集成SDK

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....

iOS集成Google和Apple三方登录

代码示例#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...

httpDns iOS:接口返回的是最优的IP?

具体问题:iOS中接口:(NSArray*)getIpsByHostAsync:(NSString*)host;(NSString*)getIpByHostAsyncInURLFormat:(NSString*)host;返回的是最优的IP?需要怎样处理?回复:在SDK 1.6.12+的版本上增加 IP优选 功能的接口:(void)...

iOS 接口

class="reference-link">+(BOOL)registerSyncBizWithName:(NSString*)bizName syncObserver:(id)observer selector:(SEL)selector;注册对业务名称为 bizName 的通知监听,内部调用了[[NSNotificationCenter defaultCenter]addObserver:...

iOS SDK接口说明

总数据量要求小于10Kb*@param key key*@param value value*/(void)configCustomInfoWithKey:(NSString*)key value:(NSString*)value;使用示例:[AlicloudCrashProvider configCustomInfoWithKey:@"key"value:@"value"];配置项:自定义环境...

使用 iOS SDK

本文介绍 iOS SDK API 的使用方法。...(void)didSubscriber:(NSString*)subscriber unsubscribedAFeed:(ARTVCFeed*)feed{[self showToastWith:[NSString stringWithFormat:@"subscriber unsubscribed:%",feed]duration:2.0];}

iOS

(void)onNetworkQualityChanged:(NSString*)uid upNetworkQuality:(AliRtcNetworkQuality)upQuality downNetworkQuality:(AliRtcNetworkQuality)downQuality;参数 类型 描述 uid NSString*网络质量发生变化的用户ID,用户ID为空表示本地,...

身份认证SDK

使用方式 发送带身份认证的API请求/引入头文件#import<IMSAuthentication/IMSIoTAuthentication.h>#import<IMSApiClient/IMSApiClient.h>/构建请求 NSString*path="/uc/listByAccount;NSString*apiVer="1.0.0;NSDictionary*params={};...

iOS SDK接入(Pod集成)

引入头文件:#import<AlicloudAPM/AlicloudAPMProvider.h>#import添加代码段:NSString*appVersion="xxx;NSString*channel="xxx;NSString*nick="xxx;[[AlicloudAPMProvider alloc]autoInitWithAppVersion:appVersion channel:channel nick:...

自定义 JSAPI

自定义 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;功能:给单条日志...

iOS

interface SampleHandler()<DingScreenShareExtDelegate>@end@implementation SampleHandler-(void)broadcastStartedWithSetupInfo:(NSDictionary<NSString*,NSObject*>*)setupInfo {/User has requested to start the broadcast.Setup ...

iOS SDK

(NSString*)genInitParams { NSString*strResourcesBundle=[[NSBundle mainBundle]pathForResource:@"Resources"ofType:@"bundle"];NSString*bundlePath=[[NSBundle bundleWithPath:strResourcesBundle]resourcePath];NSString*id_string=...

标签(tag)相关接口

参数说明 参数 类型 是否必须 说明 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...

蓝牙OTA SDK

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)...

使用 H5 离线包

(void)application:(UIApplication*)application beforeDidFinishLaunchingWithOptions:(NSDictionary*)launchOptions { NSString*presetApplistPath=[[NSBundle mainBundle]pathForResource:[NSString stringWithFormat:@...

自定义存储

接口说明(instancetype)storageInDocumentsWithName:(NSString*)name;创建路径为/Documents/name 的自定义存储。(id)initWithPath:(NSString*)path;在任意指定路径创建自定义存储,一般情况下无需使用这个方法,使用 ...

iOS SDK接入(手动集成)

引入头文件:#import<AlicloudAPM/AlicloudAPMProvider.h>#import添加代码段:NSString*appVersion="xxx;配置项 NSString*channel="xxx;配置项 NSString*nick="xxx;配置项[[AlicloudAPMProvider alloc]autoInitWithAppVersion:appVersion ...

iOS播放音效文件

(int)startAudioAccompanyWithFile:(NSString*)filePath onlyLocalPlay:(BOOL)onlyLocalPlay replaceMic:(BOOL)replaceMic loopCycles:(NSInteger)loopCycles;参数说明 名称 类型 描述 filePath NSString*文件路径。onlyLocalPlay BOOL ...

CExceptionInfo

属性 exceptionMessage/异常信息@property(nonatomic,copy)NSString*message;exceptionCardUid/异常卡片id@property(nonatomic,copy)NSString*cardUid;exceptionExtraInfo/异常信息扩展参数@property(nonatomic,copy)NSDictionary*...

接入 SDK

实现图文详情页插入自定义 View 的代理方法-(void)insertCustomViewForRichTextDetailWithFeedData:(id)feedData contrainerView:(UIView*)contrainerView {/或者图文详情信息 NSSTring*title=feedData.title;NSSTring*publishTime=...
共有10条 < 1 2 3 4 ... 10 >
跳转至: GO
产品推荐
云服务器 安全管家服务 安全中心
这些文档可能帮助您
弹性公网IP 短信服务 人工智能平台 PAI 金融分布式架构 对象存储 物联网平台
新人特惠 爆款特惠 最新活动 免费试用