Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Miss size property in Image and Media Class #5

Open
wuseal opened this issue Oct 17, 2018 · 0 comments
Open

Miss size property in Image and Media Class #5

wuseal opened this issue Oct 17, 2018 · 0 comments

Comments

@wuseal
Copy link

wuseal commented Oct 17, 2018

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant