class BaseMedia
A BaseMedia collects a specific media url, size and content type that will be used for sharing and for display purposes.
Summary
Constructors |
|
BaseMedia(url: String, width: Int, height: Int) |
|
BaseMedia(url: String, width: Int, height: Int, contentType: String?) |
|
Constructors
class BaseMedia(
url: String,
width: Int,
height: Int
)
Parameters |
|
url: String |
A direct url to the media, in the given content type and size. |
width: Int |
Width of the media for the provided url. |
height: Int |
Height of the media for the provided url. |
class BaseMedia(
url: String,
width: Int,
height: Int,
contentType: String? = null
)
Parameters |
|
url: String |
A direct url to the media, in the given content type and size. |
width: Int |
Width of the media for the provided url. |
height: Int |
Height of the media for the provided url. |
contentType: String? |
Content type of the media for the provided url. |