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

Obtaining a User Status

getUserState

API Description

This API is used to obtain the current status of a user (whether the user is being called or in the 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];