MediaFile

class MediaFile(mediaFilePointer: GtkMediaFile_autoptr) : MediaStream

20 / 12 / 2021

See also

Constructors

MediaFile
Link copied to clipboard
fun MediaFile()
MediaFile
Link copied to clipboard
fun MediaFile(file: File)
MediaFile
Link copied to clipboard
fun MediaFile(fileName: String, isResourcePath: Boolean = false)
MediaFile
Link copied to clipboard
fun MediaFile(stream: InputStream)
MediaFile
Link copied to clipboard
fun MediaFile(mediaFilePointer: GtkMediaFile_autoptr)

Functions

addWeakPointer
Link copied to clipboard
fun addWeakPointer(weakPointerLocation: CValuesRef<COpaquePointerVar>)
bindProperty
Link copied to clipboard
fun bindProperty(property: String, target: KGObject, targetProperty: String, flags: Binding.Flags): Binding
clear
Link copied to clipboard
fun clear()
error
Link copied to clipboard
fun error(domain: UInt, code: Int, message: String)
gerror
Link copied to clipboard
fun gerror(error: KGError)
getString
Link copied to clipboard
fun getString(propertyName: String): String
pause
Link copied to clipboard
fun pause()
play
Link copied to clipboard
fun play()
realize
Link copied to clipboard
fun realize(surface: Surface)
ref
Link copied to clipboard
open fun ref(): KGObject
seek
Link copied to clipboard
fun seek(timestamp: Long)
seekFailed
Link copied to clipboard
fun seekFailed()
seekSuccess
Link copied to clipboard
fun seekSuccess()
set
Link copied to clipboard
fun set(propertyName: String, boolean: Boolean)
fun set(propertyName: String, string: String)
setFilename
Link copied to clipboard
fun setFilename(filename: String?)
setResource
Link copied to clipboard
fun setResource(resourcePath: String?)
streamEnded
Link copied to clipboard
fun streamEnded()
streamPrepared
Link copied to clipboard
fun streamPrepared(hasAudio: Boolean, hasVideo: Boolean, seekable: Boolean, duration: Long)
streamUnprepared
Link copied to clipboard
fun streamUnprepared()
unrealize
Link copied to clipboard
fun unrealize(surface: Surface)
unref
Link copied to clipboard
open override fun unref()
update
Link copied to clipboard
fun update(timestamp: Long)

Properties

duration
Link copied to clipboard
val duration: Long
ended
Link copied to clipboard
val ended: Boolean
error
Link copied to clipboard
val error: KGError?
file
Link copied to clipboard
var file: File?
gClass
Link copied to clipboard
open val gClass: TypeClass
hasAudio
Link copied to clipboard
val hasAudio: Boolean
hasVideo
Link copied to clipboard
val hasVideo: Boolean
inputStream
Link copied to clipboard
var inputStream: InputStream?
isPrepared
Link copied to clipboard
val isPrepared: Boolean
isSeekable
Link copied to clipboard
val isSeekable: Boolean
isSeeking
Link copied to clipboard
val isSeeking: Boolean
loop
Link copied to clipboard
var loop: Boolean
mediaFilePointer
Link copied to clipboard
val mediaFilePointer: GtkMediaFile_autoptr
mediaStreamPointer
Link copied to clipboard
val mediaStreamPointer: GtkMediaStream_autoptr
muted
Link copied to clipboard
var muted: Boolean
paintablePointer
Link copied to clipboard
open override val paintablePointer: CPointer<GdkPaintable>
playing
Link copied to clipboard
var playing: Boolean
pointer
Link copied to clipboard
val pointer: CPointer<GObject>
timestamp
Link copied to clipboard
val timestamp: Long
typeInstancePointer
Link copied to clipboard
open override val typeInstancePointer: CPointer<GTypeInstance>
volume
Link copied to clipboard
var volume: Double