Package com.dropbox.core.v2.files
Class Dimensions
java.lang.Object
com.dropbox.core.v2.files.Dimensions
Dimensions for a photo or video.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
height
protected final long height -
width
protected final long width
-
-
Constructor Details
-
Dimensions
public Dimensions(long height, long width) Dimensions for a photo or video.- Parameters:
height- Height of the photo/video.width- Width of the photo/video.
-
-
Method Details
-
getHeight
public long getHeight()Height of the photo/video.- Returns:
- value for this field.
-
getWidth
public long getWidth()Width of the photo/video.- Returns:
- value for this field.
-
hashCode
public int hashCode() -
equals
-
toString
-
toStringMultiline
Returns a String representation of this object formatted for easier readability.The returned String may contain newlines.
- Returns:
- Formatted, multiline String representation of this object
-