Updated on 2023-03-23 GMT+08:00

Granting the Remote Control Permission to Others

Notification Description

A notification is sent when the status of the current remote control right changes. When the value of state is 1, the remote control right is granted to name. When the value of state is 0, the remote control right of name is released or revoked.

Method Definition

1
virtual void OnBeRemoteControledState(HwmRemoteControlStateInfo *remoteControlStateInfo) {};

Precautions

None

Parameter Description

Table 1 HwmRecvShareStateInfo parameters

Parameter

Type

Description

state

HwmState

Status.

name

char[]

Name of the permission owner.

number

char[]

Number of the permission owner.

Table 2 Enumerated values of HwmState

Enumerated Value

Description

HWM_STATE_OFF

Revoking the remote control permission.

HWM_STATE_ON

Granting the remote control permission to others.