Property

HsCore:current-media

Declaration

property current-media: guint [ read, write ]

Description [src]

Index of the current media (e.g. a CD on PlayStation).

To use it, cores must implement Hs.CoreClass.get_current_media and Hs.CoreClass.set_current_media. Otherwise, it’s always set to 0.

To notify this property, use hs_core_notify_current_media().

Type:guint

Default value0
Getter methodhs_core_get_current_media()
Setter methodhs_core_set_current_media()

Flags

Readableyes
Writableyes
Constructno
Construct onlyno