TransferDataStream class

Inheritance

Constructors

TransferDataStream({String? url, Uint8List? content})
TransferDataStream.fromMap(Map map)
factory

Properties

bytes Uint8List?
Used if type is DataTypes.bytes, otherwise null.
finalinherited
content Uint8List?
Java InputStream converted to a byte array. (UInt8List) This is the data that will be transferred when HMSTransferEngine.sendData is called, if url is null.
getter/setter pair
file TransferDataFile?
Used if type is DataTypes.file, otherwise null.
finalinherited
hash int?
Hash value of the data object that was created and transferred on the platform side. This will be accessible to Flutter with the callback that returns the transferred data, such as HMSTransferEngine.dataOnTransferUpdate.
getter/setter pairinherited
hashCode int
The hash code for this object.
no setterinherited
id int?
getter/setter pairinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
stream TransferDataStream?
Used if type is DataTypes.stream, otherwise null.
finalinherited
type int?
getter/setter pairinherited
url String?
URL or URI for the stream to be transferred.
getter/setter pair

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toMap() Map<String, dynamic>
override
toString() String
A string representation of this object.
inherited

Operators

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