# TestFileAttachmentMetadataEvent

@NullMarked
@Incubating
interface TestFileAttachmentMetadataEvent : TestMetadataEvent

An event emitted by tests that contains file attachment data.

#### Since

9.4.0

## Functions

getDescriptor
Link copied to clipboard
abstract fun getDescriptor(): OperationDescriptor
Returns the description of the operation for which progress is reported.
getDisplayName
Link copied to clipboard
abstract fun getDisplayName(): String
Returns a human consumable short description of the event.
getEventTime
Link copied to clipboard
abstract fun getEventTime(): Long
Returns the time this event was triggered.
getFile
Link copied to clipboard
abstract fun getFile(): File
The published file attachment.
getMediaType
Link copied to clipboard
@Nullable
abstract fun getMediaType(): @Nullable String
Media type of the file, if known.