FMX.Media.TMediaPlayerPlayPause
Delphi
TMediaPlayerPlayPause = class(TCustomMediaPlayerAction)
C++
class PASCALIMPLEMENTATION TMediaPlayerPlayPause : public TCustomMediaPlayerAction
Properties
| Type | Visibility | Source | Unit | Parent |
|---|---|---|---|---|
| class | public | FMX.Media.pas FMX.Media.hpp |
FMX.Media | FMX.Media |
Description
FireMonkey media player action that starts or resumes the playback of its media player if the state of the media player is Stopped, or stops the playback if the state of the media player is Playing.
TMediaPlayerPlayPause is enabled only if all of the following conditions match:
- There is an instance of TMediaPlayer assigned to the MediaPlayer property of the action.
- The state of the media player is not
Unavailable.