ContactManagerInterface class abstract
- Implementers
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
-
deleteFriend(
{required String userId, SyCallBack< bool> ? callback}) → void - 删除好友 @param userId @param callback
-
editFriendRemark(
{required String userId, required String remark, SyCallBack< bool> ? callback}) → void - 设置好友备注 @param userId @param remark @param callback
-
getContactInfo(
{required String userId, required SyCallBack< SyContact> callback}) → void - 查询用户信息 @param userId @return
-
getContactInfoFromCache(
String userId) → Future< SyContact?> - 同步查询用户信息 @param userId @return
-
getContactListFromService(
SyCallBack< List< callBack) → voidSyContact> > - 从服务器获取联系人信息
-
isFriend(
String userId) → Future< bool> - 查询是否是好友 @param userId @return
-
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