tenor-android-core icon indicating copy to clipboard operation
tenor-android-core copied to clipboard

Miss `size` property in `Image` and `Media` Class

Open wuseal opened this issue 6 years ago • 0 comments

While the json returned from server has a property called size: image But in tenor-android-core SDK there can't get this property value form Image nor Media Class

public class Image implements Serializable {
    private static final long serialVersionUID = -8616498739266612929L;
    private String url;

    @SerializedName("dims")
    private int[] dimensions;

    ...
}
public class Media extends Image {
    private static final long serialVersionUID = -8616498739266612929L;
    private String preview;
    private double duration;

    ...
}

We need to get this value for some logic usage, hope to add it. thanks

wuseal avatar Oct 17 '18 10:10 wuseal