A B C D E F G H I K L M O R S U W Z
A
- addListener(ImageStream.Listener) - Method in class zendesk.belvedere.ImageStream
-
Add a
ImageStream.Listener
for getting notified when the users selects/deselects an attachment or the ImageStream gets visible or dismissed. - addListener(KeyboardHelper.Listener) - Method in class zendesk.belvedere.KeyboardHelper
- addScrollListener(ImageStream.ScrollListener) - Method in class zendesk.belvedere.ImageStream
-
Add a
ImageStream.ScrollListener
to get informed when the ImageStream gets dragged by the user. - allowMultiple(boolean) - Method in class zendesk.belvedere.MediaIntent.DocumentIntentBuilder
-
Allow to user to select multiple files.
B
- Belvedere - Class in zendesk.belvedere
-
Media picker manager.
- Belvedere.Builder - Class in zendesk.belvedere
-
Builder for creating a customize
Belvedere
instance. - BelvedereDialog - Class in zendesk.belvedere
-
This is a
DialogFragment
that allows the user to select an image source. - BelvedereDialog() - Constructor for class zendesk.belvedere.BelvedereDialog
- BelvedereUi - Class in zendesk.belvedere
-
Main entry-point for interacting the UI components of Belvedere.
- BelvedereUi() - Constructor for class zendesk.belvedere.BelvedereUi
- BelvedereUi.ImageStreamBuilder - Class in zendesk.belvedere
- BelvedereUi.UiConfig - Class in zendesk.belvedere
- BitmapUtils - Class in zendesk.belvedere
-
Utility methods for
Bitmap
- BitmapUtils() - Constructor for class zendesk.belvedere.BitmapUtils
- build() - Method in class zendesk.belvedere.Belvedere.Builder
-
Create a custom instance of
Belvedere
- build() - Method in class zendesk.belvedere.MediaIntent.CameraIntentBuilder
-
Create the
MediaIntent
- build() - Method in class zendesk.belvedere.MediaIntent.DocumentIntentBuilder
-
Create the
MediaIntent
- Builder(Context) - Constructor for class zendesk.belvedere.Belvedere.Builder
C
- Callback<E> - Class in zendesk.belvedere
-
Simple Callback used to deliver results asynchronously.
- Callback() - Constructor for class zendesk.belvedere.Callback
- camera() - Method in class zendesk.belvedere.Belvedere
-
Request an image from a camera app.
- cancel() - Method in class zendesk.belvedere.Callback
-
Cancel this callback.
- clearStorage() - Method in class zendesk.belvedere.Belvedere
-
Clear the internal Belvedere cache.
- compareTo(MediaResult) - Method in class zendesk.belvedere.MediaResult
- contentType(String) - Method in class zendesk.belvedere.MediaIntent.DocumentIntentBuilder
-
Restrict the selection to a content type
- CREATOR - Static variable in class zendesk.belvedere.BelvedereUi.UiConfig
- CREATOR - Static variable in class zendesk.belvedere.MediaIntent
- CREATOR - Static variable in class zendesk.belvedere.MediaResult
D
- debug(boolean) - Method in class zendesk.belvedere.Belvedere.Builder
-
Enable/disable logging.
- describeContents() - Method in class zendesk.belvedere.BelvedereUi.UiConfig
- describeContents() - Method in class zendesk.belvedere.MediaIntent
- describeContents() - Method in class zendesk.belvedere.MediaResult
- dismiss() - Method in class zendesk.belvedere.ImageStream
-
Hide the ImageStream if visible
- document() - Method in class zendesk.belvedere.Belvedere
-
Request media from an external app.
E
- equals(Object) - Method in class zendesk.belvedere.MediaResult
F
- from(Context) - Static method in class zendesk.belvedere.Belvedere
-
Get the global
Belvedere
instance.
G
- getFile() - Method in class zendesk.belvedere.MediaResult
-
Get the resolved
File
. - getFile(String, String) - Method in class zendesk.belvedere.Belvedere
-
Returns a
File
andUri
for the given file name. - getFilesFromActivityOnResult(int, int, Intent, Callback<List<MediaResult>>) - Method in class zendesk.belvedere.Belvedere
-
Parse data from
Activity#onActivityResult(int, int, Intent)
. - getFilesFromActivityOnResult(int, int, Intent, Callback<List<MediaResult>>, boolean) - Method in class zendesk.belvedere.Belvedere
-
Parse data from
Activity#onActivityResult(int, int, Intent)
. - getHeight() - Method in class zendesk.belvedere.MediaResult
-
Gets the height of the image.
- getImageDimensions(File) - Static method in class zendesk.belvedere.BitmapUtils
-
Gets the dimension of an image file.
- getInputTrap() - Method in class zendesk.belvedere.KeyboardHelper
- getIntent() - Method in class zendesk.belvedere.MediaIntent
-
Get the raw intent
- getKeyboardHeight() - Method in class zendesk.belvedere.KeyboardHelper
- getKeyboardHelper() - Method in class zendesk.belvedere.ImageStream
-
Gets the currently install
KeyboardHelper
- getMimeType() - Method in class zendesk.belvedere.MediaResult
-
Get the mime type of the file
- getName() - Method in class zendesk.belvedere.MediaResult
-
Get the name of the file.
- getOriginalUri() - Method in class zendesk.belvedere.MediaResult
-
Get the original
Uri
to the media. - getPermission() - Method in class zendesk.belvedere.MediaIntent
-
Permission that has to be granted before calling
MediaIntent.open(Activity)
- getShareIntent(Uri, String) - Method in class zendesk.belvedere.Belvedere
-
Create an
Intent
for sharing anUri
. - getSize() - Method in class zendesk.belvedere.MediaResult
-
Gets the file size.
- getTarget() - Method in class zendesk.belvedere.MediaIntent
-
Get the target of the intent.
- getUri() - Method in class zendesk.belvedere.MediaResult
-
Get the
Uri
to theFile
. - getViewIntent(Uri, String) - Method in class zendesk.belvedere.Belvedere
-
Create an
Intent
for viewing anUri
. - getWidth() - Method in class zendesk.belvedere.MediaResult
-
Gets the width of the image.
- grantPermissionsForUri(Intent, Uri) - Method in class zendesk.belvedere.Belvedere
-
Grant all Apps that are resolvable through the provided
Intent
Intent#FLAG_GRANT_READ_URI_PERMISSION
andIntent#FLAG_GRANT_WRITE_URI_PERMISSION
.
H
- hashCode() - Method in class zendesk.belvedere.MediaResult
I
- imageStream(Context) - Static method in class zendesk.belvedere.BelvedereUi
-
Gets the builder for showing the ImageStream.
- ImageStream - Class in zendesk.belvedere
-
APIs for interacting with the ImageStream
- ImageStream() - Constructor for class zendesk.belvedere.ImageStream
- ImageStream.Listener - Interface in zendesk.belvedere
-
Listener for observing the user interaction with the ImageStream
- ImageStream.ScrollListener - Interface in zendesk.belvedere
-
Informs about the scroll position of the ImageStream BottomSheet.
- inject(Activity) - Static method in class zendesk.belvedere.KeyboardHelper
- install(AppCompatActivity) - Static method in class zendesk.belvedere.BelvedereUi
-
Install the ImageStream to an
AppCompatActivity
- isAttachmentsPopupVisible() - Method in class zendesk.belvedere.ImageStream
-
Check if the ImageStream is currently visible.
- isAvailable() - Method in class zendesk.belvedere.MediaIntent
- isKeyboardVisible() - Method in class zendesk.belvedere.KeyboardHelper
K
- KeyboardHelper - Class in zendesk.belvedere
-
Here be dragons
- KeyboardHelper.Listener - Interface in zendesk.belvedere
L
- logger(L.Logger) - Method in class zendesk.belvedere.Belvedere.Builder
-
Provide a custom implementation of
L.Logger
M
- MediaIntent - Class in zendesk.belvedere
-
Model for representing a
- MediaIntent.CameraIntentBuilder - Class in zendesk.belvedere
- MediaIntent.DocumentIntentBuilder - Class in zendesk.belvedere
- MediaResult - Class in zendesk.belvedere
-
Model object, used to return results.
- MediaResult(File, Uri, Uri, String, String, long, long, long) - Constructor for class zendesk.belvedere.MediaResult
O
- onActivityResult(int, int, Intent) - Method in class zendesk.belvedere.ImageStream
- onCreate(Bundle) - Method in class zendesk.belvedere.BelvedereDialog
- onCreate(Bundle) - Method in class zendesk.belvedere.ImageStream
- onCreateView(LayoutInflater, ViewGroup, Bundle) - Method in class zendesk.belvedere.BelvedereDialog
- onDismissed() - Method in interface zendesk.belvedere.ImageStream.Listener
-
The user dismissed the ImageStream.
- onKeyboardDismissed() - Method in interface zendesk.belvedere.KeyboardHelper.Listener
- onKeyboardVisible() - Method in interface zendesk.belvedere.KeyboardHelper.Listener
- onMediaDeselected(List<MediaResult>) - Method in interface zendesk.belvedere.ImageStream.Listener
-
The user deselected one or multiple attachments.
- onMediaSelected(List<MediaResult>) - Method in interface zendesk.belvedere.ImageStream.Listener
-
The user selected one or multiple attachments.
- onPause() - Method in class zendesk.belvedere.ImageStream
- onRequestPermissionsResult(int, String[], int[]) - Method in class zendesk.belvedere.BelvedereDialog
- onRequestPermissionsResult(int, String[], int[]) - Method in class zendesk.belvedere.ImageStream
- onSaveInstanceState(Bundle) - Method in class zendesk.belvedere.BelvedereDialog
- onScroll(int, int, float) - Method in interface zendesk.belvedere.ImageStream.ScrollListener
-
Called if the ImageStream gets dragged by the user.
- onStart() - Method in class zendesk.belvedere.BelvedereDialog
- onVisible() - Method in interface zendesk.belvedere.ImageStream.Listener
-
The ImageStream became visible to the user.
- open(Activity) - Method in class zendesk.belvedere.MediaIntent.CameraIntentBuilder
-
Fire the intent.
- open(Activity) - Method in class zendesk.belvedere.MediaIntent.DocumentIntentBuilder
-
Fire the intent.
- open(Activity) - Method in class zendesk.belvedere.MediaIntent
-
Fire the intent.
- open(Fragment) - Method in class zendesk.belvedere.MediaIntent.CameraIntentBuilder
-
Fire the intent.
- open(Fragment) - Method in class zendesk.belvedere.MediaIntent.DocumentIntentBuilder
-
Fire the intent.
- open(Fragment) - Method in class zendesk.belvedere.MediaIntent
-
Fire the intent.
R
- resolveUris(List<Uri>, String, Callback<List<MediaResult>>) - Method in class zendesk.belvedere.Belvedere
-
Copy the list of provided
Uri
into the internal cache. - revokePermissionsForUri(Uri) - Method in class zendesk.belvedere.Belvedere
-
Revoke
Intent#FLAG_GRANT_READ_URI_PERMISSION
andIntent#FLAG_GRANT_WRITE_URI_PERMISSION
that were previously granted byBelvedere.grantPermissionsForUri(Intent, Uri)
.
S
- setSingletonInstance(Belvedere) - Static method in class zendesk.belvedere.Belvedere
-
Set the global
Belvedere
instance. - showDialog(FragmentManager, List<MediaIntent>) - Static method in class zendesk.belvedere.BelvedereUi
-
Show the Belvedere dialog to the user
- showDialog(FragmentManager, MediaIntent...) - Static method in class zendesk.belvedere.BelvedereUi
-
Show the Belvedere dialog to the user
- showPopup(AppCompatActivity) - Method in class zendesk.belvedere.BelvedereUi.ImageStreamBuilder
-
Show the ImageStream to the user.
- success(E) - Method in class zendesk.belvedere.Callback
-
Method used to deliver results.
U
- UNKNOWN_VALUE - Static variable in class zendesk.belvedere.MediaResult
W
- wasOpen() - Method in class zendesk.belvedere.ImageStream
-
Check if the ImageStream was visible before the last configuration change.
- withCameraIntent() - Method in class zendesk.belvedere.BelvedereUi.ImageStreamBuilder
-
Allow the user to select an image from the camera.
- withDocumentIntent(String, boolean) - Method in class zendesk.belvedere.BelvedereUi.ImageStreamBuilder
-
Allow the user to select files from the system.
- withExtraItems(List<MediaResult>) - Method in class zendesk.belvedere.BelvedereUi.ImageStreamBuilder
-
Pass in files that are not selected but should show up in the ImageStream.
- withMaxFileSize(long) - Method in class zendesk.belvedere.BelvedereUi.ImageStreamBuilder
-
Define a maximum file size.
- withSelectedItems(List<MediaResult>) - Method in class zendesk.belvedere.BelvedereUi.ImageStreamBuilder
-
Pass in files that are should be marked as selected.
- withTouchableItems(int...) - Method in class zendesk.belvedere.BelvedereUi.ImageStreamBuilder
-
Specify a list of ids from your activity that should be clickable although the ImageStream is visible.
- writeToParcel(Parcel, int) - Method in class zendesk.belvedere.BelvedereUi.UiConfig
- writeToParcel(Parcel, int) - Method in class zendesk.belvedere.MediaIntent
- writeToParcel(Parcel, int) - Method in class zendesk.belvedere.MediaResult
Z
- zendesk.belvedere - package zendesk.belvedere
-
An media picker library for Android.