BDUploadUtilTool class

Inheritance
  • Object
  • NativeClass
  • BDUploadUtilTool

Constructors

BDUploadUtilTool.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
enableNativeLogFunc(BOOL enable) FutureOr<void>
{zh} @brief 是否开启控制台 native 层日志输出。 @param enable 是否开启该功能。
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
setLogCallback(void logCallback(String info, int level)) FutureOr<void>
{zh} @brief 日志回调接口。 @param logCallback 该回调入参为日志信息以及日志等级,可以在该回调中获取上传日志以分析问题。 @notes level 等级:0 = verbose, 1 = debug, 2 = info, 6 = warn, 7 = error。
toString() String
A string representation of this object.
inherited
updateResource(NativeResource resource) → void
inherited

Operators

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

Static Methods

sharedInstance() FutureOr<BDUploadUtilTool>
{zh} @brief 获取 BDUploadUtilTool 单例。 @return BDUploadUtilTool单例。