曹妃甸核酸检测平台.apk(点击下载) / g.java


package com.netease.nimlib.f;

import android.text.TextUtils;
import com.netease.nimlib.c;
import com.netease.nimlib.sdk.NimHandshakeType;
import com.netease.nimlib.sdk.ServerAddresses;
import com.netease.yunxin.nos.sdk.NosComponent;

public class g {
    public static String a() {
        String str = c.i() == null ? null : c.i().lbs;
        return TextUtils.isEmpty(str) ? f.f9041a.b() : str;
    }

    public static String b() {
        String str = c.i() == null ? null : c.i().probeIpv4Url;
        return TextUtils.isEmpty(str) ? f.f9041a.d() : str;
    }

    public static String c() {
        String str = c.i() == null ? null : c.i().probeIpv6Url;
        return TextUtils.isEmpty(str) ? f.f9041a.e() : str;
    }

    public static String d() {
        String str = c.i() == null ? null : c.i().defaultLink;
        return TextUtils.isEmpty(str) ? f.f9041a.a() : str;
    }

    public static String e() {
        String str = c.i() == null ? null : c.i().nosUploadLbs;
        return TextUtils.isEmpty(str) ? "http://wannos.127.net/lbs;http://wannos-hz.127.net/lbs;http://wannos-bj.127.net/lbs;http://wannos-oversea.127.net/lbs;http://223.252.196.38/lbs" : str;
    }

    public static String f() {
        String str = c.i() == null ? null : c.i().nosUploadDefaultLink;
        return TextUtils.isEmpty(str) ? NosComponent.UPLOAD_LINK_DEFAULT : str;
    }

    public static String g() {
        String str = c.i() == null ? null : c.i().nosUpload;
        return TextUtils.isEmpty(str) ? NosComponent.UPLOAD_VERIFY_HOST_DEFAULT : str;
    }

    public static String h() {
        String str = c.i() == null ? null : c.i().nosDownloadUrlFormat;
        return TextUtils.isEmpty(str) ? "{bucket}-nosdn.netease.im/{object}" : str;
    }

    public static String i() {
        String str = c.i() == null ? null : c.i().nosDownload;
        return TextUtils.isEmpty(str) ? "nos.netease.com" : str;
    }

    public static String j() {
        if (c.i() == null || TextUtils.isEmpty(c.i().nosAccess)) {
            return null;
        }
        return c.i().nosAccess;
    }

    public static String k() {
        return c.i() != null ? c.i().ntServerAddress : f.f9041a.c();
    }

    public static NimHandshakeType l() {
        NimHandshakeType nimHandshakeType;
        NimHandshakeType nimHandshakeType2 = NimHandshakeType.V1;
        ServerAddresses i = c.i();
        return (i == null || (nimHandshakeType = i.handshakeType) == null) ? nimHandshakeType2 : nimHandshakeType;
    }
}