Updated on 2024-07-30 GMT+08:00

Obtaining a User Status

getUserState

API Description

This API is used to obtain the status of a user (whether the user is in a meeting).

Precautions

None

Method Definition

- (HWMUserState)getUserState;

Parameter Description

Table 1 Enumerated values of HWMUserState

Parameter

Value

Description

HWMUserStateIdle

0

The participant is in the idle state.

HWMUserStateInConf

1

The participant is in the meeting.

HWMUserStateInCall

2

The participant is being called.

Return Values

None

Sample Code

[[HWMSdk getOpenApi] getUserState];