Object AttachmentMediaActivity.Companion
-
- All Implemented Interfaces:
public class AttachmentMediaActivity.Companion
-
-
Field Summary
Fields Modifier and Type Field Description public final static AttachmentMediaActivity.CompanionINSTANCE
-
Method Summary
Modifier and Type Method Description final IntentcreateIntent(Context context, String url, String title, String mimeType, String type)Used to build an Intent to start the AttachmentMediaActivity with the required data. -
-
Method Detail
-
createIntent
final Intent createIntent(Context context, String url, String title, String mimeType, String type)
Used to build an Intent to start the AttachmentMediaActivity with the required data.
- Parameters:
context- The context to start the activity with.url- The URL of the media file.title- The title that will be shown in the header.mimeType- The MIME type of the file.type- The type of the attachment.- Returns:
The Intent to start the AttachmentMediaActivity.
-
-
-
-