How to set duration of image MediaClip apart from constructor in Windows Phone 8.1? RRS feed

  • Question

  • In Windows Phone 8.1 MediaClip class has method CreateFromImageFileAsync(IStorageFile file, TimeSpan originalDuration); to create MediaClip object for image. In that I have to pass duration in constructor. How can I get & set/change later the duration of that image media clip object? I can't see any property for that. I want to give choice to users to set time for photos.
    Thursday, June 19, 2014 12:51 PM


  • I don't think it's a feasible solution. To just change a timespan I have to create new mediaclip each time by calling an async method. It must have a property to change the time span later on.
    • Marked as answer by Xyroid Thursday, June 26, 2014 6:19 AM
    Wednesday, June 25, 2014 7:13 AM

All replies