BDUploadLog class

Inheritance
  • Object
  • NativeClass
  • BDUploadLog

Constructors

BDUploadLog.new([NativeClassOptions? options])

Properties

$resource → NativeResource
no setterinherited
hashCode int
The hash code for this object.
no setterinherited
ready Future<void>
Whether the instance is initialized
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

destroy() → void
inherited
nativeCall<T>(String method, [List? args, NativeMethodMeta? meta]) Future<T>
Call instance method
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
sendInstanceGet<T>(String property) Future<T>
Get instance property
inherited
sendInstanceSet(String property, dynamic value) Future<void>
Set instance property
inherited
toString() String
A string representation of this object.
inherited
updateResource(NativeResource resource) → void
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Properties

LOG_DEBUG Future<int>
{zh} @detail api @brief 日志级别,仅高于 LOG_VERBOSE。
no setter
LOG_ERROR Future<int>
{zh} @detail api @brief 日志级别,高于 LOG_WARN,最高日志级别。
no setter
LOG_INFO Future<int>
{zh} @detail api @brief 日志级别,高于 LOG_DEBUG。
no setter
LOG_KILL Future<int>
{zh} @detail api @brief 日志级别,高于 LOG_TRACK,是默认开启的日志级别。
no setter
LOG_PRINT_BOTH Future<int>
no setter
LOG_PRINT_CALL_BACK Future<int>
no setter
LOG_PRINT_LOCAL Future<int>
no setter
LOG_PRINT_NONE Future<int>
no setter
LOG_TRACK Future<int>
{zh} @detail api @brief 日志级别,高于 LOG_INFO。
no setter
LOG_VERBOSE Future<int>
{zh} @detail api @brief 日志级别,最低的日志级别。
no setter
LOG_WARN Future<int>
{zh} @detail api @brief 日志级别,高于 LOG_KILL。
no setter

Static Methods

setALogCallback(ALogCallback callback) FutureOr<void>
{zh} @brief 设置日志回调 @detail api @param callback 设置的日志回调
setLogPrintType(int printType) FutureOr<void>
{zh} @brief 设置日志打印类型 @detail api @param printType 打印类型 :LOG_PRINT_NONE 本地不打印日志、也不回调日志,LOG_PRINT_LOCAL 仅本地打印日志,LOG_PRINT_CALL_BACK 仅回调日志,LOG_PRINT_BOTH 本地打印日志,并且回调日志
turnOn(int level, int isTurnOn) FutureOr<void>
{zh} @detail api @param level 设置日志级别,取值范围:LOG_VERBOSE - LOG_ERROR 即 0-6 @param isTurnOn 开启或者关闭对应参数中 level 级别的日志:0 关闭,1 开启 @brief 设置日志级别。