public class

AttachmentActionSelectMedia

extends AttachmentAction
java.lang.Object
   ↳ com.sap.cloud.mobile.fiori.attachment.AttachmentAction
     ↳ com.sap.cloud.mobile.fiori.attachment.actions.AttachmentActionSelectMedia
Known Direct Subclasses

Class Overview

A concrete class for selecting attachments of media type such as video and images.

Summary

[Expand]
Inherited Constants
From class com.sap.cloud.mobile.fiori.attachment.AttachmentAction
[Expand]
Inherited Fields
From class com.sap.cloud.mobile.fiori.attachment.AttachmentAction
Public Constructors
AttachmentActionSelectMedia(String title, AttachmentFormCell attachmentFormCell)
Public Methods
Drawable getIcon()
Intent getSelectingIntent()
Get the intent to be used to perform the selection of the media attachments.
String[] requiredPermissions()
Get the required permissions
[Expand]
Inherited Methods
From class com.sap.cloud.mobile.fiori.attachment.AttachmentAction
From class java.lang.Object

Public Constructors

public AttachmentActionSelectMedia (String title, AttachmentFormCell attachmentFormCell)

Public Methods

public Drawable getIcon ()

public Intent getSelectingIntent ()

Get the intent to be used to perform the selection of the media attachments.

Returns
  • Intent

public String[] requiredPermissions ()

Get the required permissions

Returns
  • array of String representing the permissions required to use this facility