PreloadConfiguration
Creates a PreloadConfiguration instance using a Duration.
Return
A PreloadConfiguration instance with the specified preload duration.
Parameters
targetPreloadDuration
The target duration to preload. If null
, preloading will be disabled.