Updated on 2023-10-12 GMT+08:00

onRegStatusUpdate (Reporting the Registration Status)

Event Description

After a subscriber initiates a registration request, this event is used to report the registration status to the subscriber twice. For the first time, the subscriber is notified that the current account is being registered. For the second time, the subscriber is notified that the account is registered or not registered.

Event Example

{
   "description" : "TSDK_E_LOGIN_EVT_LOGIN_SUCCESS",   
   "notify" : 1004,
   "param" : {
      "loginSuccessInfo" : {"confEnvType":0},
      "serviceAccountType" : 4,
      "userId" : 0
   }
}

Parameter Description

Table 1 Parameter description

Parameter

Type

Description

description

String

Description of the current request.

notify

Number

Internal event ID.

param

Param

Event content.

Table 2 Param

Parameter

Type

Description

userId

Number

User ID.

serviceAccountType

Number

Account type.

  • 4: UAP
  • 5: UAP pool networking

loginSuccessInfo

Number

Login success information.