Skip to main content
Table of Contents

TTMSFNCWXAudioPlayer.OnError Event

Occurs when the source fails to load or play.

API unit family: TMSFNCWXAudioPlayer Declaring type: TTMSFNCWXAudioPlayer Inherited from: TTMSFNCWXCustomMediaPlayer

Syntax

FMX.TMSFNCWXMediaPlayer.hppPascalC++
OnError: TTMSFNCWXMediaPlayerErrorEvent;
__property TTMSFNCWXMediaPlayerErrorEvent OnError = {read=FOnError, write=FOnError};

Parameters

Name Description
Sender The media player that raised the event.
AError Details of the error that occurred.