FMX.Media.TMediaPlayerCurrentTime

From RAD Studio API Documentation
Jump to: navigation, search

FMX.Media.TMediaPlayerValueFMX.StdActns.TCustomValueRangeActionFMX.Controls.TCustomControlActionFMX.ActnList.TCustomActionSystem.Actions.TContainedActionTMediaPlayerCurrentTime

Delphi

TMediaPlayerCurrentTime = class(TMediaPlayerValue)

C++

class PASCALIMPLEMENTATION TMediaPlayerCurrentTime : public TMediaPlayerValue

Properties

Type Visibility Source Unit Parent
class public
FMX.Media.pas
FMX.Media.hpp
FMX.Media FMX.Media

Description

Action that provides control over the CurrentTime property of a FireMonkey media player.

Assign an instance of TMediaPlayerCurrentTime to the Action property of a track bar to control the current time of the playback using that track bar.

The default text of the action is the current time of the media player. For example: "00:12:34". You can use the CustomText property to customize the text of the action. If you define a value for CustomText, you can include time specifiers in your value, which TMediaPlayerCurrentTime replaces by actual time values based on the current time of the media player. For a list of time specifiers, see FormatDateTime.

See Also