- 28,932 files - Full Java source code - Smali files - Resources Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
46 lines
1.4 KiB
Java
46 lines
1.4 KiB
Java
package com.google.android.ump;
|
|
|
|
import android.app.Activity;
|
|
import androidx.annotation.RecentlyNonNull;
|
|
import java.lang.annotation.Retention;
|
|
import java.lang.annotation.RetentionPolicy;
|
|
|
|
/* loaded from: classes3.dex */
|
|
public interface ConsentInformation {
|
|
|
|
@Retention(RetentionPolicy.SOURCE)
|
|
public @interface ConsentStatus {
|
|
public static final int NOT_REQUIRED = 1;
|
|
public static final int OBTAINED = 3;
|
|
public static final int REQUIRED = 2;
|
|
public static final int UNKNOWN = 0;
|
|
}
|
|
|
|
public interface OnConsentInfoUpdateFailureListener {
|
|
void onConsentInfoUpdateFailure(@RecentlyNonNull FormError formError);
|
|
}
|
|
|
|
public interface OnConsentInfoUpdateSuccessListener {
|
|
void onConsentInfoUpdateSuccess();
|
|
}
|
|
|
|
public enum PrivacyOptionsRequirementStatus {
|
|
UNKNOWN,
|
|
NOT_REQUIRED,
|
|
REQUIRED
|
|
}
|
|
|
|
boolean canRequestAds();
|
|
|
|
int getConsentStatus();
|
|
|
|
@RecentlyNonNull
|
|
PrivacyOptionsRequirementStatus getPrivacyOptionsRequirementStatus();
|
|
|
|
boolean isConsentFormAvailable();
|
|
|
|
void requestConsentInfoUpdate(@RecentlyNonNull Activity activity, @RecentlyNonNull ConsentRequestParameters consentRequestParameters, @RecentlyNonNull OnConsentInfoUpdateSuccessListener onConsentInfoUpdateSuccessListener, @RecentlyNonNull OnConsentInfoUpdateFailureListener onConsentInfoUpdateFailureListener);
|
|
|
|
void reset();
|
|
}
|