CosApi class
Constructors
CosApi.new ({BinaryMessenger ? binaryMessenger })
Constructor for CosApi . The binaryMessenger
named argument is
available for dependency injection. If it is left null, the default
BinaryMessenger will be used which routes to the host platform.
Properties
hashCode
→ int
The hash code for this object.
no setter inherited
runtimeType
→ Type
A representation of the runtime type of the object.
no setter inherited
Methods
addLogListener (int arg_key )
→ Future <void >
addSensitiveRule (String arg_ruleName , String arg_regex )
→ Future <void >
enableLogcat (bool arg_enable )
→ Future <void >
enableLogFile (bool arg_enable )
→ Future <void >
forceInvalidationCredential ()
→ Future <void >
getLogRootDir ()
→ Future <String >
initCustomerDNS (Map <String ? , List <String ? > ? > arg_dnsMap )
→ Future <void >
initCustomerDNSFetch ()
→ Future <void >
initWithPlainSecret (String arg_secretId , String arg_secretKey )
→ Future <void >
initWithScopeLimitCredential ()
→ Future <void >
initWithSessionCredential ()
→ Future <void >
noSuchMethod (Invocation invocation )
→ dynamic
Invoked when a nonexistent method or property is accessed.
inherited
registerDefaultService (CosXmlServiceConfig arg_config )
→ Future <String >
registerDefaultTransferManger (CosXmlServiceConfig arg_config , TransferConfig ? arg_transferConfig )
→ Future <String >
registerService (String arg_key , CosXmlServiceConfig arg_config )
→ Future <String >
registerTransferManger (String arg_key , CosXmlServiceConfig arg_config , TransferConfig ? arg_transferConfig )
→ Future <String >
removeLogListener (int arg_key )
→ Future <void >
removeSensitiveRule (String arg_ruleName )
→ Future <void >
setAppVersion (String arg_appVersion )
→ Future <void >
setCloseBeacon (bool arg_isCloseBeacon )
→ Future <void >
setCLsChannelAnonymous (String arg_topicId , String arg_endpoint )
→ Future <void >
setCLsChannelSessionCredential (String arg_topicId , String arg_endpoint )
→ Future <void >
setCLsChannelStaticKey (String arg_topicId , String arg_endpoint , String arg_secretId , String arg_secretKey )
→ Future <void >
setClsMinLevel (LogLevel arg_minLevel )
→ Future <void >
setDeviceID (String arg_deviceID )
→ Future <void >
setDeviceModel (String arg_deviceModel )
→ Future <void >
setFileMinLevel (LogLevel arg_minLevel )
→ Future <void >
setLogcatMinLevel (LogLevel arg_minLevel )
→ Future <void >
setLogFileEncryptionKey (Uint8List arg_key , Uint8List arg_iv )
→ Future <void >
setMinLevel (LogLevel arg_minLevel )
→ Future <void >
toString ()
→ String
A string representation of this object.
inherited
tencentcloud_cos_sdk_plugin 1.2.2