UFT Pro (LeanFT) .NET SDK Reference, Version 14.03
UploadMedia(Image,String) Method
The image file. Supported formats: JPG, GIF, PNG, BMP, TIF (iOS only).
The unique ID of the uploaded media. The ID is used to start the simulation using IApplication.StartCameraSimulationMode.
Upload an image to the device for camera simulation. The file is deleted when the device is released.
Syntax
void UploadMedia( 
   Image image,
   string mediaID
)

Parameters

image
The image file. Supported formats: JPG, GIF, PNG, BMP, TIF (iOS only).
mediaID
The unique ID of the uploaded media. The ID is used to start the simulation using IApplication.StartCameraSimulationMode.