Back to Acra

DefaultAttachmentProvider

web/static/javadoc/5.2.0/org/acra/attachment/DefaultAttachmentProvider.html

latest4.2 KB
Original Source

Skip navigation links

org.acra.attachment

Class DefaultAttachmentProvider


public classDefaultAttachmentProviderextends[Object](http://d.android.com/reference/java/lang/Object.html?is-external=true "class or interface in java.lang")implements[AttachmentUriProvider](../../../org/acra/attachment/AttachmentUriProvider.html "interface in org.acra.attachment")

Reads attachment uris from the configuration Since:10.03.2017

Constructor Summary

Constructors | Constructor and Description | | --- | | DefaultAttachmentProvider() |

Method Summary

All Methods Instance Methods Concrete Methods | Modifier and Type | Method and Description | | --- | --- | | List<Uri> | getAttachments(Context context, CoreConfiguration configuration) |

- 

Methods inherited from class java.lang.Object

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

Constructor Detail

- 

DefaultAttachmentProvider

public DefaultAttachmentProvider()

Method Detail

- 

getAttachments

[@NonNull](http://d.android.com/reference/android/support/annotation/NonNull.html?is-external=true "class or interface in android.support.annotation")public[List](http://d.android.com/reference/java/util/List.html?is-external=true "class or interface in java.util")<[Uri](http://d.android.com/reference/android/net/Uri.html?is-external=true "class or interface in android.net")> getAttachments([@NonNull](http://d.android.com/reference/android/support/annotation/NonNull.html?is-external=true "class or interface in android.support.annotation")[Context](http://d.android.com/reference/android/content/Context.html?is-external=true "class or interface in android.content")context,[@NonNull](http://d.android.com/reference/android/support/annotation/NonNull.html?is-external=true "class or interface in android.support.annotation")[CoreConfiguration](../../../org/acra/config/CoreConfiguration.html "class in org.acra.config")configuration)

Specified by:getAttachments in interface AttachmentUriProviderParameters:context - a contextconfiguration - ACRA configurationReturns:all file uris that should be attached to the report

Skip navigation links