DataSourceListener

Callback interface for the data source

Constructors

Link copied to clipboard
constructor()

Types

Link copied to clipboard
object Companion

DataSourceListener's companion object

Inherited properties

Link copied to clipboard

Address of native referenced object. nullptr if not referencing any native allocated object. Note native allocation will happen only once.

Functions

Link copied to clipboard
open fun onDataInterruptionEvent(type: <Error class: unknown class>, reason: EDataInterruptionReason, ended: Boolean)

Notify data type is no longer available.

Link copied to clipboard
open fun onNewData(data: SenseData)

Notify data source has new data.

Link copied to clipboard
open fun onPlayingStatusChanged(type: <Error class: unknown class>, status: EPlayingStatus)

Callback when the data source playing status changed.

Link copied to clipboard
open fun onProgressChanged(progressMs: Long)

Notify data source progress had changed.

Inherited functions

Link copied to clipboard
fun finalize()

Overrides finalize that garbage collector will call when needed.

Link copied to clipboard

True if keeps a reference to a C++ SDK object False if keeps a C++ SDK object

Link copied to clipboard
operator fun not(): Boolean

Checks if this object is valid.

Link copied to clipboard
fun release()

Releases the native referenced value of this object if: