matrix-sdk-android
androidJvm
matrix-sdk-android
/
org.matrix.android.sdk.api.session.content
/
ContentAttachmentData
Content
Attachment
Data
@
JsonClass
(
generateAdapter
=
true
)
data
class
ContentAttachmentData
(
val
size
:
Long
=
0
,
val
duration
:
Long
?
=
0
,
val
date
:
Long
=
0
,
val
height
:
Long
?
=
0
,
val
width
:
Long
?
=
0
,
val
exifOrientation
:
Int
=
ExifInterface.ORIENTATION_UNDEFINED
,
val
name
:
String
?
=
null
,
val
queryUri
:
Uri
,
val
mimeType
:
String
?
,
val
type
:
ContentAttachmentData.Type
,
val
waveform
:
List
<
Int
>
?
=
null
)
:
Parcelable
Members
Constructors
Content
Attachment
Data
Link copied to clipboard
constructor
(
size
:
Long
=
0
,
duration
:
Long
?
=
0
,
date
:
Long
=
0
,
height
:
Long
?
=
0
,
width
:
Long
?
=
0
,
exifOrientation
:
Int
=
ExifInterface.ORIENTATION_UNDEFINED
,
name
:
String
?
=
null
,
queryUri
:
Uri
,
mimeType
:
String
?
,
type
:
ContentAttachmentData.Type
,
waveform
:
List
<
Int
>
?
=
null
)
Types
Companion
Link copied to clipboard
object
Companion
Type
Link copied to clipboard
@
JsonClass
(
generateAdapter
=
false
)
enum
Type
:
Enum
<
ContentAttachmentData.Type
>
Functions
describe
Contents
Link copied to clipboard
abstract
fun
describeContents
(
)
:
Int
get
Safe
Mime
Type
Link copied to clipboard
fun
getSafeMimeType
(
)
:
String
?
to
Json
String
Link copied to clipboard
fun
toJsonString
(
)
:
String
write
To
Parcel
Link copied to clipboard
abstract
fun
writeToParcel
(
p0
:
Parcel
,
p1
:
Int
)
Properties
date
Link copied to clipboard
val
date
:
Long
=
0
duration
Link copied to clipboard
val
duration
:
Long
?
=
0
exif
Orientation
Link copied to clipboard
val
exifOrientation
:
Int
height
Link copied to clipboard
val
height
:
Long
?
=
0
mime
Type
Link copied to clipboard
val
mimeType
:
String
?
name
Link copied to clipboard
val
name
:
String
?
=
null
query
Uri
Link copied to clipboard
val
queryUri
:
Uri
size
Link copied to clipboard
val
size
:
Long
=
0
type
Link copied to clipboard
val
type
:
ContentAttachmentData.Type
waveform
Link copied to clipboard
val
waveform
:
List
<
Int
>
?
=
null
width
Link copied to clipboard
val
width
:
Long
?
=
0