PlayableExtensions.GetDuration

Declaration

public static double GetDuration(U playable);

Parameters

playable The Playable used by this operation.

Returns

double The duration in seconds.

Description

Returns the duration of the Playable.

Use this templated extension method on any type that inherits from IPlayable.


Did you find this page useful? Please give it a rating: