package com.igaworks.ssp.common; import android.content.Context; import com.pci.beacon.PCI; /* loaded from: classes2.dex */ public class i { public static void a(Context context, String str) { Thread currentThread; String str2; try { com.igaworks.ssp.common.o.m.a.c(Thread.currentThread(), "setKTThirdPartyID start : " + str); PCI.with(context).beaconStart(str, "1004"); g.e().c(str); com.igaworks.ssp.common.o.m.a.c(Thread.currentThread(), "setKTThirdPartyID finish"); } catch (Exception unused) { currentThread = Thread.currentThread(); str2 = "setKTThirdPartyID Exception"; com.igaworks.ssp.common.o.m.a.c(currentThread, str2); } catch (NoClassDefFoundError unused2) { currentThread = Thread.currentThread(); str2 = "setKTThirdPartyID NoClassDefFoundError"; com.igaworks.ssp.common.o.m.a.c(currentThread, str2); } catch (NoSuchMethodError unused3) { currentThread = Thread.currentThread(); str2 = "setKTThirdPartyID NoSuchMethodError"; com.igaworks.ssp.common.o.m.a.c(currentThread, str2); } } public static boolean a() { try { Class.forName("com.pci.beacon.PCI"); com.igaworks.ssp.common.o.m.a.c(Thread.currentThread(), "isKTLibraryExist"); return true; } catch (ClassNotFoundException unused) { com.igaworks.ssp.common.o.m.a.c(Thread.currentThread(), "isKTLibraryExist NoClassDefFoundError"); return false; } catch (Exception unused2) { com.igaworks.ssp.common.o.m.a.c(Thread.currentThread(), "isKTLibraryExist Exception"); return false; } catch (NoClassDefFoundError unused3) { com.igaworks.ssp.common.o.m.a.c(Thread.currentThread(), "isKTLibraryExist NoClassDefFoundError"); return false; } catch (NoSuchMethodError unused4) { com.igaworks.ssp.common.o.m.a.c(Thread.currentThread(), "isKTLibraryExist NoSuchMethodError"); return false; } } }