SoundProfileCallback


abstract class SoundProfileCallback

Callback used to monitor status of sound profiles.

Summary

Public constructors

Public methods
open Unit
onError(profileId: String?, errorCode: Int)

This is invoked when an issue has occurred.

open Unit

This is invoked when parameter capabilities has been changed due to status changes of the content.

open Unit
onSoundProfileAdded(profileId: String, profile: SoundProfile)

This is invoked when a sound profile has been added.

open Unit
onSoundProfileRemoved(profileId: String, profile: SoundProfile)

This is invoked when a sound profile has been removed.

open Unit
onSoundProfileUpdated(profileId: String, profile: SoundProfile)

This is invoked when a sound profile has been updated.

Public constructors

SoundProfileCallback

SoundProfileCallback()

Public methods

onError

open fun onError(
    profileId: String?,
    errorCode: Int
): Unit

This is invoked when an issue has occurred.

onParameterCapabilitiesChanged

open fun onParameterCapabilitiesChanged(
    profileId: String?,
    updatedCaps: MutableList<ParameterCapability!>
): Unit

This is invoked when parameter capabilities has been changed due to status changes of the content.

Parameters
profileId String?: the ID of the profile used by the media content. null if there is no associated profile
updatedCaps MutableList<ParameterCapability!>: the updated capabilities. This value cannot be null.

onSoundProfileAdded

open fun onSoundProfileAdded(
    profileId: String,
    profile: SoundProfile
): Unit

This is invoked when a sound profile has been added.

Parameters
profileId String: the ID of the profile. This value cannot be null.
profile SoundProfile: the newly added profile. This value cannot be null.

onSoundProfileRemoved

open fun onSoundProfileRemoved(
    profileId: String,
    profile: SoundProfile
): Unit

This is invoked when a sound profile has been removed.

Parameters
profileId String: the ID of the profile. This value cannot be null.
profile SoundProfile: the removed profile. This value cannot be null.

onSoundProfileUpdated

open fun onSoundProfileUpdated(
    profileId: String,
    profile: SoundProfile
): Unit

This is invoked when a sound profile has been updated.

Parameters
profileId String: the ID of the profile. This value cannot be null.
profile SoundProfile: the profile with updated info. This value cannot be null.