java.lang.Object | ||
↳ | com.sap.cloud.mobile.fiori.attachment.AttachmentAction | |
↳ | com.sap.cloud.mobile.fiori.attachment.actions.AttachmentActionTakePicture |
A concrete class for making attachments by taking pictures using camera.
Structure
Capturing image requires saving the image to file and then using the URI into Attachment, which requires the Authority of FileProvider
.
See FileProvider.
Uri of the captured image.
SeeAttachmentAction
[Expand]
Inherited Constants | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() |
[Expand]
Inherited Fields | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() |
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
AttachmentActionTakePicture(AttachmentFormCell cell, String authority) | |||||||||||
AttachmentActionTakePicture(String title, AttachmentFormCell attachmentFormCell, String authority) |
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
List<Uri> |
getAttachmentUris(Intent intent)
Return the Uri of the Capture image file
| ||||||||||
Drawable | getIcon() | ||||||||||
Intent |
getSelectingIntent()
Get the intent to be make attachments using camera.
| ||||||||||
String[] |
requiredPermissions()
Get the required permissions
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() | |||||||||||
![]() |
Return the Uri of the Capture image file
intent | Intent |
---|
Get the intent to be make attachments using camera.
Get the required permissions