Updated on 2025-04-18 GMT+08:00

Notification of Local Recording Status Changes

Notification Description

A notification is sent when the local recording status changes.

Method Definition

1
virtual void OnSelfLocalRecordStateNotify(const HwmLocalRecordStateInfo* localRecordStateInfo) {};

Precautions

This notification is triggered when the local recording status changes.

Parameter Description

Table 1 HwmLocalRecordStateInfo description

Parameter

Type

Description

status

HwmLocalRecordStatus

Local recording status.

localRecordPath

char[]

Path of local recording files.

startTime

long long

Recording start time (timestamp, in seconds).

Table 2 Enumerated values of HwmLocalRecordStatus

Enumerated Value

Description

LOCAL_RECORD_STATUS_START

Local recording starts.

LOCAL_RECORD_STATUS_STOPPED

Local recording stops.

LOCAL_RECORD_STATUS_PAUSED

Local recording pauses.

LOCAL_RECORD_STATUS_RESUMED

Local recording resumes.