@adapty/capacitor
Version:
Official Adapty SDK for Capacitor
26 lines • 617 B
JavaScript
export class LogScope {
constructor(args) {
this.methodName = args.methodName;
this.onStart = args.onStart;
this.onSuccess = args.onSuccess;
this.onFailed = args.onFailed;
this.onWait = args.onWait;
this.onWaitComplete = args.onWaitComplete;
}
start(args) {
this.onStart(args);
}
wait(args) {
this.onWait(args);
}
waitComplete(args) {
this.onWaitComplete(args);
}
success(args) {
this.onSuccess(args);
}
failed(args) {
this.onFailed(args);
}
}
//# sourceMappingURL=log-scope.js.map