本文整理汇总了TypeScript中@ionic-native/adjust.AdjustEvent类的典型用法代码示例。如果您正苦于以下问题:TypeScript AdjustEvent类的具体用法?TypeScript AdjustEvent怎么用?TypeScript AdjustEvent使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。
在下文中一共展示了AdjustEvent类的4个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的TypeScript代码示例。
示例1: trackCallbackEvent
trackCallbackEvent() {
const adjustEvent: AdjustEvent = new AdjustEvent('34vgg9');
adjustEvent.addCallbackParameter('key', 'stuff');
adjustEvent.addCallbackParameter('x', 'y');
adjustEvent.addCallbackParameter('key', 'lock');
this.adjust.trackEvent(adjustEvent);
}
示例2: trackPartnerEvent
trackPartnerEvent() {
const adjustEvent: AdjustEvent = new AdjustEvent('w788qs');
adjustEvent.addPartnerParameter('foo', 'bar');
adjustEvent.addPartnerParameter('x', 'y');
adjustEvent.addPartnerParameter('foo', 'foot');
adjustEvent.addPartnerParameter('x', 'z');
this.adjust.trackEvent(adjustEvent);
}
示例3: trackRevenueEvent
trackRevenueEvent() {
const adjustEvent: AdjustEvent = new AdjustEvent('a4fd35');
adjustEvent.setRevenue(0.01, 'USD');
this.adjust.trackEvent(adjustEvent);
}
示例4: trackSimpleEventWithCallbackId
trackSimpleEventWithCallbackId() {
const adjustEvent: AdjustEvent = new AdjustEvent('g3mfiw');
adjustEvent.setCallbackId("test-callback-id");
this.adjust.trackEvent(adjustEvent);
}