package com.singular.sdk.internal; import android.content.Context; /* loaded from: classes4.dex */ public abstract class LicenseApiHelper { public static final SingularLog logger = SingularLog.getLogger(LicenseApiHelper.class.getSimpleName()); public static abstract class LicenseResultHandler { public abstract void handle(int i, String str, String str2); } public static void checkLicense(Context context, LicenseResultHandler licenseResultHandler) { try { new LicenseChecker(context, licenseResultHandler).checkAccess(); } catch (Exception e) { logger.error("Error occurred while trying to run license check", e); } } }