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

Notification of Local Recording Status Updates

Notification Description

A notification is sent when the local recording status changes.

Method Definition

1
- (void)onSelfLocalRecordStateNotify:(HWMUISDKLocalRecordStateInfoModel *)lcoalRecordStateInfo;

Sample Code

- (void)onSelfLocalRecordStateNotify:((HWMUISDKLocalRecordStateInfoModel *)lcoalRecordStateInfo{
    NSLog(@"Local recording status report onSelfLocalRecordStateNotify :%@", [lcoalRecordStateInfo yy_modelDescription]);
}

Precautions

  1. Subscribe to the HWMBizNotificationHandler delegate during SDK initialization or set the delegate on the target page.

Parameter Description

Table 1 HWMUISDKLocalRecordStateInfoModel description

Parameter

Type

Description

status

HWMUISDKLocalRecordStatus

Local recording status.

localRecordPath

NSString

Path of local recording files.

startTime

NSInteger

Recording start time (timestamp, in seconds).

Table 2 Enumerated values of HWMUISDKLocalRecordStatus

Enumeration Name

Enumerated Value

Description

HWMUISDKLocalRecordStatusStart

0

Local recording starts.

HWMUISDKLocalRecordStatusStoped

1

Local recording stops.

HWMUISDKLocalRecordStatusPaused

2

Local recording pauses.

HWMUISDKLocalRecordStatusResumed

3

Local recording resumes.