Freigeben über


Class SPXUser

Declaration

@class SPXUser : NSObject;

Description

User representation in the conversation type of scenarios.

Added in version 1.13.0.

Methods

initFromUserId:

Gets the User instance from the specified user id.

- (instancetype _Nullable)initFromUserId:(NSString * _Nonnull)userId

Parameters

  • userId - The user's id.

Returns

The User instance.

initFromUserId:error:

Gets the User instance from the specified user id.

- (instancetype _Nullable)initFromUserId:(NSString * _Nonnull)userId
    error:(NSError * _Nullable * _Nullable)outError

Parameters

  • userId - The user's id.
  • outError - error information.

Returns

The User instance.

Properties

userId

@property (readwrite, copy, nonatomic) NSString * _Nullable userId;

User ID in the conversation session.