ContactManager class
- Inheritance
-
- Object
- ContactManagerInterface
- ContactManager
Constructors
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
addFriend(
{required String userId, SyCallBack< bool> ? callback}) → void -
添加好友
@param userId
@param callback
override
-
deleteFriend(
{required String userId, SyCallBack< bool> ? callback}) → void -
删除好友
@param userId
@param callback
override
-
editFriendRemark(
{required String userId, required String remark, SyCallBack< bool> ? callback}) → void -
设置好友备注
@param userId
@param remark
@param callback
override
-
getContactInfo(
{required String userId, required SyCallBack< SyContact> callback}) → void -
查询用户信息
@param userId
@return
override
-
getContactInfoFromCache(
String userId) → Future< SyContact?> -
同步查询用户信息
@param userId
@return
override
-
getContactListFromService(
SyCallBack< List< callBack) → voidSyContact> > -
从服务器获取联系人信息
override
-
isFriend(
String userId) → Future< bool> -
查询是否是好友
@param userId
@return
override
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited