Cos class

Constructors

Cos.new()
factory

Properties

flutterCosApi ImplFlutterCosApi
final
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

forceInvalidationCredential() Future<void>
强制让本地保存临时秘钥失效 包括SessionCredential或ScopeLimitCredential
getDefaultService() CosService
getDefaultTransferManger() CosTransferManger
getFetchCredentials() IFetchCredentials
getFetchDns() IFetchDns
getFetchScopeLimitCredentials() IFetchScopeLimitCredentials
getService(String key) CosService
getTransferManger(String key) CosTransferManger
hasDefaultService() bool
hasDefaultTransferManger() bool
hasService(String key) bool
hasTransferManger(String key) bool
initCustomerDNS(Map<String, List<String>> dnsMap) Future<void>
初始化自定义 DNS 解析Map
initCustomerDNSFetch(IFetchDns iFetchDns) Future<void>
初始化自定义 DNS 解析器
initWithPlainSecret(String secretId, String secretKey) Future<void>
设置永久秘钥
initWithScopeLimitCredential(IFetchScopeLimitCredentials iFetchScopeLimitCredentials) Future<void>
设置范围限制的临时秘钥提供器
initWithSessionCredential(IFetchCredentials iFetchCredentials) Future<void>
设置临时秘钥提供器
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
registerDefaultService(CosXmlServiceConfig config) Future<CosService>
registerDefaultTransferManger(CosXmlServiceConfig config, TransferConfig transferConfig) Future<CosTransferManger>
registerService(String serviceKey, CosXmlServiceConfig config) Future<CosService>
registerTransferManger(String serviceKey, CosXmlServiceConfig config, TransferConfig transferConfig) Future<CosTransferManger>
setCloseBeacon(bool isCloseBeacon) Future<void>
toString() String
A string representation of this object.
inherited

Operators

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

Constants

defaultKey → const String