MediaClock クラス
定義
MediaTimeline を使用してメディアのタイミング状態を保持します。Maintains the timing state for media through a MediaTimeline.
public ref class MediaClock : System::Windows::Media::Animation::Clock
public class MediaClock : System.Windows.Media.Animation.Clock
type MediaClock = class
inherit Clock
Public Class MediaClock
Inherits Clock
- 継承
コンストラクター
MediaClock(MediaTimeline) |
MediaClock クラスの新しいインスタンスを初期化します。Initializes a new instance of the MediaClock class. |
プロパティ
Controller |
この Clock を開始、一時停止、再開、シーク、スキップ、停止、削除するために使用できる ClockController を取得します。Gets a ClockController that can be used to start, pause, resume, seek, skip, stop, or remove this Clock. (継承元 Clock) |
CurrentGlobalSpeed |
現実世界の時間と比較したときの、クロックの時間が現在進行しているレートを取得します。Gets the rate at which the clock's time is currently progressing, compared to real-world time. (継承元 Clock) |
CurrentGlobalTime |
WPFWPF タイミング システムによって確立される、現在のグローバル時刻を取得します。Gets the current global time, as established by the WPFWPF timing system. (継承元 Clock) |
CurrentIteration |
このクロックの現在の反復を取得します。Get the current iteration of this clock. (継承元 Clock) |
CurrentProgress |
現在の反復におけるこの Clock の進行状況を取得します。Gets the current progress of this Clock within its current iteration. (継承元 Clock) |
CurrentState |
クロックが現在 Active、Filling、または Stopped であるかどうかを示す値を取得します。Gets a value indicating whether the clock is currently Active, Filling, or Stopped. (継承元 Clock) |
CurrentTime |
このクロックの現在の反復における現在の時刻を取得します。Gets this clock's current time within its current iteration. (継承元 Clock) |
Dispatcher |
この Dispatcher が関連付けられている DispatcherObject を取得します。Gets the Dispatcher this DispatcherObject is associated with. (継承元 DispatcherObject) |
HasControllableRoot |
この Clock が制御可能なクロック ツリーの一部かどうかを示す値を取得します。Gets a value that indicates whether this Clock is part of a controllable clock tree. (継承元 Clock) |
IsPaused |
この Clock または親が一時停止しているかどうかを示す値を取得します。Gets a value that indicates whether this Clock, or any of its parents, is paused. (継承元 Clock) |
NaturalDuration |
このクロックの Timeline の自然な継続時間を取得します。Gets the natural duration of this clock's Timeline. (継承元 Clock) |
Parent |
このクロックの親であるクロックを取得します。Gets the clock that is the parent of this clock. (継承元 Clock) |
Timeline |
クロックの制御動作を記述する MediaTimeline を取得します。Gets the MediaTimeline that describes the controlling behavior of the clock. |
メソッド
CheckAccess() |
呼び出し元のスレッドがこの DispatcherObject にアクセスできるかどうかを確認します。Determines whether the calling thread has access to this DispatcherObject. (継承元 DispatcherObject) |
DiscontinuousTimeMovement() |
動作が中断すると呼び出されます。Invoked when movement is discontinues. |
Equals(Object) |
指定されたオブジェクトが現在のオブジェクトと等しいかどうかを判定します。Determines whether the specified object is equal to the current object. (継承元 Object) |
GetCanSlip() |
メディア クロックのずれが可能かどうかを示す値を取得します。Retrieves a value that indicates whether the media clock can slip. |
GetCurrentTimeCore() |
実際のメディア時間を示す値を取得します。Retrieves a value that identifies the actual media time. この値を使用して、ずれの同期を行うことができます。This value can be used for slip synchronization. |
GetHashCode() |
既定のハッシュ関数として機能します。Serves as the default hash function. (継承元 Object) |
GetType() |
現在のインスタンスの Type を取得します。Gets the Type of the current instance. (継承元 Object) |
MemberwiseClone() |
現在の Object の簡易コピーを作成します。Creates a shallow copy of the current Object. (継承元 Object) |
SpeedChanged() |
クロック速度が変化すると呼び出されます。Invoked when the clock speed has changed. |
Stopped() |
クロックが停止すると呼び出されます。Invoked when the clock is stopped. |
ToString() |
現在のオブジェクトを表す string を返します。Returns a string that represents the current object. (継承元 Object) |
VerifyAccess() |
呼び出し元のスレッドがこの DispatcherObject にアクセスできるように強制します。Enforces that the calling thread has access to this DispatcherObject. (継承元 DispatcherObject) |
イベント
Completed |
クロックの再生が完全に終了すると発生します。Occurs when this clock has completely finished playing. (継承元 Clock) |
CurrentGlobalSpeedInvalidated |
クロックの速度が更新されると発生します。Occurs when the clock's speed is updated. (継承元 Clock) |
CurrentStateInvalidated |
クロックの CurrentState プロパティが更新されると発生します。Occurs when the clock's CurrentState property is updated. (継承元 Clock) |
CurrentTimeInvalidated |
このクロックの CurrentTime が無効になると発生します。Occurs when this clock's CurrentTime becomes invalid. (継承元 Clock) |
RemoveRequested |
この Remove() または親クロックのいずれかで Clock メソッドが呼び出されると発生します。Occurs when the Remove() method is called on this Clock or one of its parent clocks. (継承元 Clock) |