FlutterAlibc class

Constructors

FlutterAlibc()

Properties

hashCode int
The hash code for this object. [...]
read-only, inherited
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toString() String
A string representation of this object. [...]
inherited

Operators

operator ==(Object other) bool
The equality operator. [...]
inherited

Static Properties

platformVersion Future<String>
read-only

Static Methods

initAlibc({String version, String appName}) Future
初始化 version:当前app版本 appName:当前app名称 result:{ errorCode, //0为初始化成功,其他为失败 errorMessage, //message }
loginOut() → dynamic
@description: 退出淘宝登录 @param {type} @return:
loginTaoBao() Future
@description: 登录淘宝 [...]
openByUrl({String url, dynamic openType = AlibcOpenType.AlibcOpenTypeAuto, bool isNeedCustomNativeFailMode = false, dynamic nativeFailMode = AlibcNativeFailMode.AlibcNativeFailModeNone, dynamic schemeType = AlibcSchemeType.AlibcSchemeTmall, dynamic taokeParams, String backUrl}) Future
@description: 通过url打开,包括h5,唤起手淘等 @param url:目标url openType:打开类型 isNeedCustomNativeFailMode:是否需要设置唤端失败策略 nativeFailMode:唤端失败策略 schemeType:唤起哪个端 taokeParams:淘客数据 backUrl: 跳转回来的url @return:
openCart({dynamic openType = AlibcOpenType.AlibcOpenTypeAuto, bool isNeedCustomNativeFailMode = false, dynamic nativeFailMode = AlibcNativeFailMode.AlibcNativeFailModeNone, dynamic schemeType = AlibcSchemeType.AlibcSchemeTmall, dynamic taokeParams, Map trackParam, String backUrl}) Future
@description: 打开购物车 @param {type} @return:
openItemDetail({String itemID, dynamic openType = AlibcOpenType.AlibcOpenTypeAuto, bool isNeedCustomNativeFailMode = false, dynamic nativeFailMode = AlibcNativeFailMode.AlibcNativeFailModeNone, dynamic schemeType = AlibcSchemeType.AlibcSchemeTmall, dynamic taokeParams, Map trackParam, String backUrl}) Future
@description: 打开商品详情 @param 同上 itemID 商品id,可以是真实的也可以是混淆的 isNeedPush iOS独占 @return:
openShop({String shopId, dynamic openType = AlibcOpenType.AlibcOpenTypeAuto, bool isNeedCustomNativeFailMode = false, dynamic nativeFailMode = AlibcNativeFailMode.AlibcNativeFailModeNone, dynamic schemeType = AlibcSchemeType.AlibcSchemeTmall, dynamic taokeParams, Map trackParam, String backUrl}) Future
@description: 打开店铺 @param {type} shopId 店铺id @return:
syncForTaoke(bool isSync) → dynamic
taoKeLogin({String url, dynamic openType = AlibcOpenType.AlibcOpenTypeAuto, bool isNeedCustomNativeFailMode = false, dynamic nativeFailMode = AlibcNativeFailMode.AlibcNativeFailModeNone, dynamic schemeType = AlibcSchemeType.AlibcSchemeTaoBao, dynamic taokeParams, String backUrl}) Future<Map>
@description: 渠道授权,获取access_token @param {type} @return: Map<String,String>
useAlipayNative(bool isNeed) → dynamic