UFT Pro (LeanFT) .NET SDK Reference, Version 14.03
UploadMedia(VideoData,String) Method
Video file data. Supported formats: MP4, 3GP (Android only), MKV (Android only), MOV (iOS only), M4V (iOS only).
The unique ID of the uploaded video. The ID is used to start the simulation using IApplication.StartCameraSimulationMode.
Upload a video to the device for video simulation. The file is deleted when the device is released.
Syntax
void UploadMedia( 
   VideoData videoData,
   string mediaID
)

Parameters

videoData
Video file data. Supported formats: MP4, 3GP (Android only), MKV (Android only), MOV (iOS only), M4V (iOS only).
mediaID
The unique ID of the uploaded video. The ID is used to start the simulation using IApplication.StartCameraSimulationMode.