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

Obtaining Remote Control Permission Notification

Notification Description

A notification is sent when the status of the current remote control permission changes. When the value of state is 1, the remote control permission is obtained from name. When the value of state is 0, the remote control permission of name is released or revoked.

Method Definition

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

Precautions

None

Parameter Description

Table 1 HwmRemoteControlStateInfo 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

Obtaining the remote control permission.