We use essential cookies for the website to function, as well as analytics cookies for analyzing and creating statistics of the website performance. To agree to the use of analytics cookies, click "Accept All". You can manage your preferences at any time by clicking "Cookie Settings" on the footer. More Information.

Only Essential Cookies
Accept All
ReferencesVideo KitJavacom.huawei.hms.videokit.player.bean.contentClass SummaryPictureItem

PictureItem

Expand

Class Info

public class PictureItem

Contains a single poster of a video.

Public Constructor Summary

Expand

Constructor Name

PictureItem()

Default constructor.

Public Method Summary

Expand

Qualifier and Type

Method Name and Description

String

getSize()

Obtains the image size code name.

Three code names: F for original size, M for 50% of original size after compression, and S for 25% of original size after compression. Note that the code name is uppercase.

void

setSize(String size)

Sets the image size code name.

String[]

getUrl()

Obtains the image URL.

void

setUrl(String[] url)

Sets the image URL.

Public Constructors

PictureItem

Expand

Constructor

public PictureItem()

Default constructor.

Public Methods

getSize

Expand

Method

public String getSize()

Obtains the image size code name.

Returns

Expand

Type

Description

String

Image size code name.

Three code names: F for original size, M for 50% of original size after compression, and S for 25% of original size after compression. Note that the code name is uppercase.

setSize

Expand

Method

public void setSize(String size)

Sets the image size code name.

Parameters

Expand

Name

Description

size

Image size code name.

getUrl

Expand

Method

public String[] getUrl()

Obtains the image URL.

Returns

Expand

Type

Description

String[]

Image URL.

setUrl

Expand

Method

public void setUrl(String[] url)

Sets the image URL.

Parameters

Expand

Name

Description

url

Image URL.

Search in References
Enter a keyword.