hyphenate_SDK3.0  3.5.5
hyphenatejavaIMSDK
Public Member Functions | Static Public Attributes | Protected Attributes | List of all members
com.hyphenate.chat.EMContact Class Reference
Inheritance diagram for com.hyphenate.chat.EMContact:
Inheritance graph
[legend]
Collaboration diagram for com.hyphenate.chat.EMContact:
Collaboration graph
[legend]

Public Member Functions

 EMContact (String username)
 
String getUsername ()
 
void setNickname (String nick)
 
String getNickname ()
 
String toString ()
 
int describeContents ()
 
void writeToParcel (Parcel dest, int flags)
 

Static Public Attributes

static final Parcelable.Creator< EMContactCREATOR
 

Protected Attributes

String username
 
String nick
 

Detailed Description

EMContact used to be object of contact, and this is base class

Constructor & Destructor Documentation

com.hyphenate.chat.EMContact.EMContact ( String  username)

generate EMConcact object from app username

Parameters
username

Member Function Documentation

String com.hyphenate.chat.EMContact.getNickname ( )

get nick name

Returns
String com.hyphenate.chat.EMContact.getUsername ( )

get username from contact

void com.hyphenate.chat.EMContact.setNickname ( String  nick)

set nick name

Parameters
nick

Member Data Documentation

final Parcelable.Creator<EMContact> com.hyphenate.chat.EMContact.CREATOR
static
Initial value:
= new Parcelable.Creator<EMContact>() {
public EMContact createFromParcel(Parcel in) {
return new EMContact(in);
}
public EMContact[] newArray(int size) {
return new EMContact[size];
}
}
String com.hyphenate.chat.EMContact.username
protected

the user name assigned from app, which should be unique in the application


The documentation for this class was generated from the following file: