ZaloLogin class
ZaloLogin class for MethodChannel("flutter_zalo_login");
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
-
getFriendListUsedApp(
) → Future - TODO: Lấy danh sách bạn bè More info: https://developers.zalo.me/docs/sdk/android-sdk/open-api/lay-danh-sach-ban-be-post-437
-
getInfo(
) → Future< ZaloProfileModel> - getInfo will get account info from Zalo
-
init(
) → Future - You need to call function init first when using this plugins
-
inviteFriendUseApp(
) → Future - TODO: Mời sử dụng ứng dụng More info: https://developers.zalo.me/docs/sdk/android-sdk/open-api/moi-su-dung-ung-dung-post-1218
-
isAuthenticated(
) → Future< bool> -
isAuthenticated will check is session out or not
Ex:
bool isAuthenticated = await ZaloLogin().isAuthenticated();
-
logIn(
) → Future< ZaloLoginResult> - logIn will open WebOrApp Zalo login
-
logOut(
) → Future< void> - logOut will clean Zalo session
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
postToWall(
) → Future - TODO: Đăng bài viết More info: https://developers.zalo.me/docs/sdk/android-sdk/open-api/dang-bai-viet-post-1212
-
sendMsgToFriend(
) → Future - TODO: Gửi tin nhắn tới bạn bè More info: https://developers.zalo.me/docs/sdk/android-sdk/open-api/gui-tin-nhan-toi-ban-be-post-1205
- TODO: Đăng bài viết More info: https://developers.zalo.me/docs/sdk/android-sdk/tuong-tac-voi-app-zalo/dang-bai-viet-post-447
- TODO: Gửi tin nhắn tới bạn bè More info: https://developers.zalo.me/docs/sdk/android-sdk/tuong-tac-voi-app-zalo/gui-tin-nhan-toi-ban-be-post-452
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Constants
- channel → const MethodChannel