package com.bytedance.sdk.openadsdk;

/* JADX INFO: loaded from: classes2.dex */
public class TTImage {
    private final int fm;

    /* JADX INFO: renamed from: lb, reason: collision with root package name */
    private final String f6721lb;
    private final int ro;
    private double yz;

    public TTImage(int i10, int i11, String str, double d10) {
        this.fm = i10;
        this.ro = i11;
        this.f6721lb = str;
        this.yz = d10;
    }

    public double getDuration() {
        return this.yz;
    }

    public int getHeight() {
        return this.fm;
    }

    public String getImageUrl() {
        return this.f6721lb;
    }

    public int getWidth() {
        return this.ro;
    }

    public boolean isValid() {
        String str;
        return this.fm > 0 && this.ro > 0 && (str = this.f6721lb) != null && str.length() > 0;
    }

    public TTImage(int i10, int i11, String str) {
        this(i10, i11, str, 0.0d);
    }
}
