AI SDK Kotlin
Toggle table of contents
0.3.0-beta01
common
Target filter
common
Switch theme
Search in API
Skip to content
AI SDK Kotlin
AI SDK Kotlin
/
ai.torad.aisdk
/
FileData
/
Bytes
Bytes
class
Bytes
(
bytes
:
ByteArray
,
val
mediaType
:
String
?
=
null
,
val
filename
:
String
?
=
null
)
:
FileData
(
source
)
Since
0.3.0-beta01
Members
Constructors
Bytes
Link copied to clipboard
constructor
(
bytes
:
ByteArray
,
mediaType
:
String
?
=
null
,
filename
:
String
?
=
null
)
Properties
filename
Link copied to clipboard
open
override
val
filename
:
String
?
media
Type
Link copied to clipboard
open
override
val
mediaType
:
String
?
Functions
equals
Link copied to clipboard
open
operator override
fun
equals
(
other
:
Any
?
)
:
Boolean
hash
Code
Link copied to clipboard
open
override
fun
hashCode
(
)
:
Int
to
Byte
Array
Link copied to clipboard
fun
toByteArray
(
)
:
ByteArray
to
String
Link copied to clipboard
open
override
fun
toString
(
)
:
String