导航菜单

页面标题

页面副标题

Aisle v12.32 - WorkerApiHelper.java 源代码

正在查看: Aisle v12.32 应用的 WorkerApiHelper.java JAVA 源代码文件

本页面展示 JAVA 反编译生成的源代码文件,支持语法高亮显示。 仅供安全研究与技术分析使用,严禁用于任何非法用途。请遵守相关法律法规。


package com.aisle.app.data.api;

import Fb.y;
import Ja.i;
import Ja.j;
import java.util.concurrent.TimeUnit;
import kotlin.Metadata;
import kotlin.jvm.functions.Function0;
import kotlin.jvm.internal.DefaultConstructorMarker;
import kotlin.jvm.internal.Intrinsics;
import okhttp3.ConnectionPool;
import okhttp3.OkHttpClient;
import okhttp3.logging.HttpLoggingInterceptor;
import org.jetbrains.annotations.NotNull;

@Metadata
public final class WorkerApiHelper {

    @NotNull
    public static final WorkerApiHelper INSTANCE = new WorkerApiHelper();

    @NotNull
    private static final i apiService$delegate = j.b(new Function0() {
        public final Object invoke() {
            WorkerApi apiService_delegate$lambda$0;
            apiService_delegate$lambda$0 = WorkerApiHelper.apiService_delegate$lambda$0();
            return apiService_delegate$lambda$0;
        }
    });

    private WorkerApiHelper() {
    }

    public static final WorkerApi apiService_delegate$lambda$0() {
        HttpLoggingInterceptor httpLoggingInterceptor = new HttpLoggingInterceptor((HttpLoggingInterceptor.Logger) null, 1, (DefaultConstructorMarker) null);
        httpLoggingInterceptor.level(HttpLoggingInterceptor.Level.NONE);
        OkHttpClient.Builder builder = new OkHttpClient.Builder();
        TimeUnit timeUnit = TimeUnit.SECONDS;
        return (WorkerApi) new y.b().b("https://notification.aisle.co/v1/").a(Gb.a.f()).f(builder.connectTimeout(30L, timeUnit).readTimeout(30L, timeUnit).connectionPool(new ConnectionPool(5, 5L, TimeUnit.MINUTES)).retryOnConnectionFailure(true).addInterceptor(httpLoggingInterceptor).build()).d().b(WorkerApi.class);
    }

    private final WorkerApi getApiService() {
        Object value = apiService$delegate.getValue();
        Intrinsics.checkNotNullExpressionValue(value, "getValue(...)");
        return (WorkerApi) value;
    }

    public final java.lang.Object updatePushNotificationData(@org.jetbrains.annotations.NotNull java.util.HashMap<java.lang.String, java.lang.Object> r5, @org.jetbrains.annotations.NotNull kotlin.coroutines.d<? super Fb.x<okhttp3.ResponseBody>> r6) {
        throw new UnsupportedOperationException("Method not decompiled: com.aisle.app.data.api.WorkerApiHelper.updatePushNotificationData(java.util.HashMap, kotlin.coroutines.d):java.lang.Object");
    }
}