Class FriendAddEvent

  • All Implemented Interfaces:

    
    public final class FriendAddEvent
    
                        

    Event data for friend addition.

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private final String userId
      private final String name
      private final String portraitUri
      private final Long operationTime
    • Constructor Summary

      Constructors 
      Constructor Description
      FriendAddEvent(String userId, String name, String portraitUri, Long operationTime)
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      final String getUserId() The user ID of the friend being added
      final String getName() Display name of the friend
      final String getPortraitUri() Avatar URI of the friend
      final Long getOperationTime() Timestamp of the operation
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • FriendAddEvent

        FriendAddEvent(String userId, String name, String portraitUri, Long operationTime)
    • Method Detail

      • getUserId

         final String getUserId()

        The user ID of the friend being added

      • getName

         final String getName()

        Display name of the friend

      • getPortraitUri

         final String getPortraitUri()

        Avatar URI of the friend