Share this page

com.hp.lft.sdk.mobile

## Class MediaUploadOptions

- java.lang.Object
- - com.hp.lft.sdk.mobile.MediaUploadOptions

-     public class MediaUploadOptions
      extends java.lang.Object

  Define how media files are uploaded.

- - ### Constructor Summary

    Constructor and Description
    `MediaUploadOptions(boolean saveToPicturesFolder)`

  - ### Method Summary

    Modifier and Type | Method and Description
    --- | ---
    `boolean` | `getSaveToPicturesFolder()` Get the flag defining if uploaded file will be saved to the device's Pictures folder.
    `void` | `setSaveToPicturesFolder(boolean saveToPicturesFolder)` Sets the flag defining if uploaded file will be saved to the device's Pictures folder.

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### MediaUploadOptions

          public MediaUploadOptions(boolean saveToPicturesFolder)

  - ### Method Detail

    - #### getSaveToPicturesFolder

          public boolean getSaveToPicturesFolder()

      Get the flag defining if uploaded file will be saved to the device's Pictures folder.
      Returns:
        the flag defining if uploaded file will be saved to the device's Pictures folder.

    - #### setSaveToPicturesFolder

          public void setSaveToPicturesFolder(boolean saveToPicturesFolder)

      Sets the flag defining if uploaded file will be saved to the device's Pictures folder.
      Parameters:
        `saveToPicturesFolder` - the flag defining if uploaded file will be saved to the device's Pictures folder.

Tips to improve your search results... UFT Developer Java SDK Reference Version 15.0-15.0.2 UFT Developer SDK Reference All View Local Help Center View Online Help Center back Go back in browser history forward Go forward in browser history Remove search highlights next topic Go to next topic previous topic Go to previous topic Print the current topic Version: