HmsProfile class abstract
A class for checking whether to display messages for the user based on the account.
Supported devices: phones and tablets Supported operating systems: EMUI 9.1.0 or later and Android 9.0 or later
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
-
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
Static Methods
-
addMultiSenderProfile(
String subjectId, int type, String profileId) → Future< void> - Adds the relationships between the user and apps on the device in the multi-sender scenario.
-
addProfile(
int type, String profileId) → Future< void> - Adds the relationship between the user and app on the device.
-
deleteMultiSenderProfile(
String subjectId, String profileId) → Future< void> - Deletes the relationships between the user and apps on the device in the multi-sender scenario.
-
deleteProfile(
String profileId) → Future< void> - Deletes the relationship between the user and app on the device.
-
isSupportProfile(
) → Future< bool> - Checks whether the device supports account verification.
Constants
- CUSTOM_PROFILE → const int
- Account Type Constant.
- HUAWEI_PROFILE → const int
- Account Type Constant.
- UNDEFINED_PROFILE → const int
- Account Type Constant.