MethodChannelHonorLy class

An implementation of HonorLyPlatform that uses method channels.

Inheritance

Constructors

MethodChannelHonorLy()

Properties

hashCode int
The hash code for this object.
no setterinherited
methodChannel MethodChannel
The method channel used to interact with the native platform.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

consumeProduct(String purchaseToken) Future<Map<String, dynamic>?>
override
getPlatformVersion() Future<String?>
override
getProducts(ProductType type, List<String> productIds) Future<List<Map<String, dynamic>>>
override
getPurchaseHistory(String publicKey) Future<List<Map<String, dynamic>>>
override
init(String appId) Future<bool>
override
initAd(String appId, String appKey, {bool useTest = false}) Future<bool>
override
initPay(String appId, String cpId, {bool sandBox = false}) Future<bool>
override
isHonorDevice() Future<bool>
override
isLogined() Future<bool>
override
loadBannerAd(String posId, {AdCallback? platformViewCallback}) Future<void>
override
loadInterAd(String posId, {AdCallback? interCallback}) Future<void>
override
loadNativeAd(String posId, {AdCallback? platformViewCallback}) Future<void>
override
loadRewardAd(String posId, {AdCallback? rewardCallback}) Future<void>
override
loadSplashAd(String posId, {AdCallback? platformViewCallback}) Future<void>
override
login() Future<Map<String, dynamic>?>
override
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>
override
payIap(String productId, ProductType type, {PayCallback? callback}) Future<void>
override
toString() String
A string representation of this object.
inherited
userInfo() Future<Map<String, dynamic>?>
override

Operators

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