Contact Notification Message
Friend Request Message Class
This class represents a friend request message. The message will be stored but will not be counted as an unread message.
Properties
Functions
Link copied to clipboard
Describes the type of special objects included in the Parcelable object arrangement information.
Link copied to clipboard
Retrieves the request or response message, such as the reason for adding or rejecting.
Link copied to clipboard
Retrieves the operation name, which corresponds to ContactOperationXxxx, or any custom string passed by the user.
Link copied to clipboard
Gets the user ID of the user who initiated the current operation.
Link copied to clipboard
Retrieves the user ID of the target user for the current operation.
Link copied to clipboard
public static ContactNotificationMessage obtain(String operation, String sourceUserId, String targetUserId, String message)
Creates a message instance.
Link copied to clipboard
Sets the request or response message, such as the reason for adding or rejecting.
Link copied to clipboard
Sets the operation name, which corresponds to ContactOperationXxxx, or you can pass any string.
Link copied to clipboard
Sets the user ID of the user initiating the current operation.
Link copied to clipboard
Sets the user ID of the target user for the current operation.
Link copied to clipboard
Writes the class data into the provided Parcel.