|
Essential Kit
|
Contains options for selecting media content.
Public Member Functions | |
| MediaContentSelectOptions (string title, string allowedMimeType, int maxAllowed) | |
| Initializes a new instance of the MediaContentSelectOptions class. | |
Static Public Member Functions | |
Helpers | |
| static MediaContentSelectOptions | CreateForImage (int maxAllowed=1) |
| Creates options for selecting image. | |
| static MediaContentSelectOptions | CreateForVideo (int maxAllowed=1) |
| Creates options for selecting video. | |
| static MediaContentSelectOptions | CreateForAudio (int maxAllowed=1) |
| Creates options for selecting audio. | |
| static MediaContentSelectOptions | CreateForAny (int maxAllowed=1) |
| Creates options for selecting any file type. | |
Properties | |
| string | Title [get] |
| Gets the title which is shown to user. | |
| string | AllowedMimeType [get] |
| Gets the allowed mime type. | |
| int | MaxAllowed [get] |
| Gets the max allowed. | |
| MediaContentSelectOptions | ( | string | title, |
| string | allowedMimeType, | ||
| int | maxAllowed ) |
| title | Title. |
| allowedMimeType | Allowed mime type. |
| maxAllowed | Max allowed contents to select. |
References MediaContentSelectOptions.AllowedMimeType, MediaContentSelectOptions.MaxAllowed, and MediaContentSelectOptions.Title.
Referenced by MediaContentSelectOptions.CreateForAny(), MediaContentSelectOptions.CreateForAudio(), MediaContentSelectOptions.CreateForImage(), and MediaContentSelectOptions.CreateForVideo().
|
static |
| maxAllowed | Max allowed. |
References MediaContentSelectOptions.MediaContentSelectOptions(), and MimeType.kAllImages.
|
static |
| maxAllowed | Max allowed contents. |
References MediaContentSelectOptions.MediaContentSelectOptions(), and MimeType.kAllVideos.
|
static |
| maxAllowed | Max allowed. |
References MediaContentSelectOptions.MediaContentSelectOptions(), and MimeType.kAllAudio.
|
static |
| maxAllowed | Max allowed. |
References MediaContentSelectOptions.MediaContentSelectOptions(), and MimeType.kAny.
|
get |
The title.
Referenced by MediaContentSelectOptions.MediaContentSelectOptions().
|
get |
The allowed mime type.
Referenced by MediaContentSelectOptions.MediaContentSelectOptions().
|
get |
The max allowed.
Referenced by MediaContentSelectOptions.MediaContentSelectOptions().