- Inheritance
-
- Object
- PlatformInterface
- HonorLyPlatform
- Implementers
Properties
-
hashCode
→ int
-
The hash code for this object.
no setterinherited
-
runtimeType
→ Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
consumeProduct(String purchaseToken)
→ Future<Map<String, dynamic>?>
-
-
getPlatformVersion()
→ Future<String?>
-
-
getProducts(ProductType type, List<String> productIds)
→ Future<List<Map<String, dynamic>>>
-
-
getPurchaseHistory(String publicKey)
→ Future<List<Map<String, dynamic>>>
-
-
init(String appId)
→ Future<bool>
-
-
initAd(String appId, String appKey, {bool useTest = false})
→ Future<bool>
-
-
initPay(String appId, String cpId, {bool sandBox = false})
→ Future<bool>
-
-
isHonorDevice()
→ Future<bool>
-
-
isLogined()
→ Future<bool>
-
-
loadBannerAd(String posId, {AdCallback? platformViewCallback})
→ Future<void>
-
-
loadInterAd(String posId, {AdCallback? interCallback})
→ Future<void>
-
-
loadNativeAd(String posId, {AdCallback? platformViewCallback})
→ Future<void>
-
-
loadRewardAd(String posId, {AdCallback? rewardCallback})
→ Future<void>
-
-
loadSplashAd(String posId, {AdCallback? platformViewCallback})
→ Future<void>
-
-
login()
→ Future<Map<String, dynamic>?>
-
-
noSuchMethod(Invocation invocation)
→ dynamic
-
Invoked when a nonexistent method or property is accessed.
inherited
-
payGoods(String goodsId, int inputPrice, String orderId, {PayCallback? callback, String? goodsName, String? goodsDesc})
→ Future<void>
-
-
payIap(String productId, ProductType type, {PayCallback? callback})
→ Future<void>
-
-
toString()
→ String
-
A string representation of this object.
inherited
-
userInfo()
→ Future<Map<String, dynamic>?>
-