MethodChannelYicAttribution class

MethodChannel 版 YIC 归因实现(BDA + GDT)。

当前 Dart 层统一使用 yic_attribution_plugin 作为通道名, 通过方法名前缀区分 BDA/GDT:

  • BDA: bda_*
  • GDT: gdt_*
Inheritance

Properties

generalMethodChannel MethodChannel
final
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

bdaEnableDelayUpload() Future<bool>
override
bdaEnableIdfa(bool enable) Future<bool>
override
bdaGetClickId() Future<String?>
override
bdaInitialize({required String oaid}) → void
override
bdaOnActivation() → void
override
bdaOnRegister() → void
override
bdaRegisterOptionalData(Map<String, dynamic> data) Future<bool>
override
bdaStartSendingEvents() Future<bool>
override
bdaTrackPurchase(int payAmount, {String contentType = 'recharge', String contentName = '会员', String orderId = '', String payType = '支付宝'}) Future<bool>
override
gdtInitialize({required String actionSetId, required String secretKey, bool privacyEnable = true, String channelId = ''}) Future<bool>
override
gdtReportPurchaseAction({required String type, required String name, required String contentId, required int number, required String channel, required String realCurrency, required int amount, required bool isSuccess}) Future<bool>
override
gdtStart() Future<bool>
override
gdtTrackEvent({required String name, Map<String, dynamic>? params}) Future<bool>
override
gdtTrackStartApp({String? openUrl}) Future<bool>
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

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