导航菜单

页面标题

页面副标题

Biko v2.0.23 - LiveStreamBroadcastReceiver.java 源代码

正在查看: Biko v2.0.23 应用的 LiveStreamBroadcastReceiver.java JAVA 源代码文件

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


package app.callpe.common.utils.receivers;

import android.content.Context;
import android.content.Intent;
import app.callpe.common.utils.RxBus;
import app.callpe.common.utils.extensions.BroadcastExtKt;
import app.callpe.service.ApiService;
import app.callpe.service.LiveStreamingService;
import com.facebook.internal.NativeProtocol;
import dagger.hilt.android.AndroidEntryPoint;
import javax.inject.Inject;
import kotlin.Metadata;
import kotlin.jvm.internal.Intrinsics;

@Metadata(d1 = {"\u0000D\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\b\u0002\n\u0002\u0018\u0002\n\u0002\b\u0005\n\u0002\u0018\u0002\n\u0002\b\u0005\n\u0002\u0010\u0002\n\u0000\n\u0002\u0018\u0002\n\u0000\n\u0002\u0010\u000e\n\u0000\n\u0002\u0010\t\n\u0000\n\u0002\u0010\u000b\n\u0002\b\u0003\n\u0002\u0018\u0002\n\u0002\b\u0002\b\u0007\u0018\u00002\u00020\u0001B\u0005¢\u0006\u0002\u0010\u0002J3\u0010\u000f\u001a\u00020\u00102\b\u0010\u0011\u001a\u0004\u0018\u00010\u00122\u0006\u0010\u0013\u001a\u00020\u00142\u0006\u0010\u0015\u001a\u00020\u00162\u0006\u0010\u0017\u001a\u00020\u0018H\u0082@ø\u0001\u0000¢\u0006\u0002\u0010\u0019J\u001c\u0010\u001a\u001a\u00020\u00102\b\u0010\u0011\u001a\u0004\u0018\u00010\u00122\b\u0010\u001b\u001a\u0004\u0018\u00010\u001cH\u0016J\u001a\u0010\u001d\u001a\u00020\u00102\b\u0010\u0011\u001a\u0004\u0018\u00010\u00122\u0006\u0010\u0013\u001a\u00020\u0014H\u0002R\u001e\u0010\u0003\u001a\u00020\u00048\u0006@\u0006X\u0087.¢\u0006\u000e\n\u0000\u001a\u0004\b\u0005\u0010\u0006\"\u0004\b\u0007\u0010\bR\u001e\u0010\t\u001a\u00020\n8\u0006@\u0006X\u0087.¢\u0006\u000e\n\u0000\u001a\u0004\b\u000b\u0010\f\"\u0004\b\r\u0010\u000e\u0082\u0002\u0004\n\u0002\b\u0019¨\u0006\u001e"}, d2 = {"Lapp/callpe/common/utils/receivers/LiveStreamBroadcastReceiver;", "Landroid/content/BroadcastReceiver;", "()V", "apiService", "Lapp/callpe/service/ApiService;", "getApiService", "()Lapp/callpe/service/ApiService;", "setApiService", "(Lapp/callpe/service/ApiService;)V", "rxBus", "Lapp/callpe/common/utils/RxBus;", "getRxBus", "()Lapp/callpe/common/utils/RxBus;", "setRxBus", "(Lapp/callpe/common/utils/RxBus;)V", "handleApiCall", "", "context", "Landroid/content/Context;", NativeProtocol.WEB_DIALOG_ACTION, "", "liveStreamId", "", "fromLiveScreen", "", "(Landroid/content/Context;Ljava/lang/String;JZLkotlin/coroutines/Continuation;)Ljava/lang/Object;", "onReceive", "intent", "Landroid/content/Intent;", "sendIntentToService", "app_bikoRelease"}, k = 1, mv = {1, 8, 0}, xi = 48)
@AndroidEntryPoint
public final class LiveStreamBroadcastReceiver extends Hilt_LiveStreamBroadcastReceiver {

    @Inject
    public ApiService apiService;

    @Inject
    public RxBus rxBus;

    public final RxBus getRxBus() {
        RxBus rxBus = this.rxBus;
        if (rxBus != null) {
            return rxBus;
        }
        Intrinsics.throwUninitializedPropertyAccessException("rxBus");
        return null;
    }

    public final void setRxBus(RxBus rxBus) {
        Intrinsics.checkNotNullParameter(rxBus, "<set-?>");
        this.rxBus = rxBus;
    }

    public final ApiService getApiService() {
        ApiService apiService = this.apiService;
        if (apiService != null) {
            return apiService;
        }
        Intrinsics.throwUninitializedPropertyAccessException("apiService");
        return null;
    }

    public final void setApiService(ApiService apiService) {
        Intrinsics.checkNotNullParameter(apiService, "<set-?>");
        this.apiService = apiService;
    }

    @Override
    public void onReceive(Context context, Intent intent) {
        super.onReceive(context, intent);
        BroadcastExtKt.goAsync$default(this, null, new LiveStreamBroadcastReceiver$onReceive$1(intent, context, this, null), 1, null);
    }

    public final java.lang.Object handleApiCall(android.content.Context r17, java.lang.String r18, long r19, boolean r21, kotlin.coroutines.Continuation<? super kotlin.Unit> r22) {
        throw new UnsupportedOperationException("Method not decompiled: app.callpe.common.utils.receivers.LiveStreamBroadcastReceiver.handleApiCall(android.content.Context, java.lang.String, long, boolean, kotlin.coroutines.Continuation):java.lang.Object");
    }

    private final void sendIntentToService(Context context, String action) {
        Intent intent = new Intent(context, (Class<?>) LiveStreamingService.class);
        intent.setAction(action);
        if (context != null) {
            context.startService(intent);
        }
    }
}