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
ReferencesCast Enginecom.huawei.castpluskitClass SummaryConnectRequestChoice

ConnectRequestChoice

Expand

Class Info

public class ConnectRequestChoice implements Parcelable

Reports the connection request result.

Public Constructor Summary

Expand

Constructor Name

public ConnectRequestChoice(int choice, ProjectionDevice device)

Creates a ConnectRequestChoice object.

Public Method Summary

Expand

Qualifier and Type

Method Name and Description

int

getChoice()

Obtains the result of whether the display device user allows the projection request.

ProjectionDevice

getRelatedDevice()

Obtains the information about the mobile device whose content will be projected to the display device.

Public Constructors

ConnectRequestChoice(int choice, ProjectionDevice device)

Expand

Constructor

public ConnectRequestChoice(int choice, ProjectionDevice device)

Creates a ConnectRequestChoice object.

Parameters

Expand

Name

Description

choice

Result of whether the display device user allows the projection request. The options are as follows:

device

Information about the mobile device whose content will be projected to the display device.

Public Methods

getChoice()

Expand

Method

public int getChoice()

Obtains the result of whether the display device user allows the projection request.

Return

Expand

Type

Description

int

Result of whether the display device user allows the projection request. The options are as follows:

getRelatedDevice()

Expand

Method

public ProjectionDevice getRelatedDevice()

Obtains the information about the mobile device whose content will be projected to the display device.

Return

Expand

Type

Description

ProjectionDevice

Information about the mobile device whose content will be projected to the display device.

Search in References
Enter a keyword.