VastSdkFactory class abstract
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
-
getConfiguration(
) → Future< VastSdkConfiguration?> - Obtains the configuration object for initializing the SDK.
-
init(
VastSdkConfiguration configuration) → Future< void> - Initializes the HUAWEI VAST SDK.
-
updateSdkServerConfig(
String slotId) → Future< void> - Immediately synchronizes the local cache configuration file to the cloud. Once synchronized, the validity period of the file will be recalculated.
-
userAcceptAdLicense(
bool isAcceptOrNot) → Future< void> - Sets whether consent is obtained from users to use their device data and personal data specified in user agreements.