Class ISN_MPMediaPickerController
A specialized view controller that provides a graphical interface for selecting media items. Notes The MPMediaPickerController class supports portrait mode only. This class does support subclassing. The view hierarchy for this class is private; do not modify the view hierarchy.
Inheritance
Namespace: SA.iOS.MediaPlayer
Assembly: cs.temp.dll.dll
Syntax
public class ISN_MPMediaPickerController : ISN_UIViewController
Constructors
ISN_MPMediaPickerController()
Initializes a media item picker for all media types.
Declaration
public ISN_MPMediaPickerController()
Properties
AllowsPickingMultipleItems
A Boolean value specifying the default selection behavior for a media item picker.
When set to true
, the media item picker allows the selection of multiple media items.
When set to false
, only a single media item can be selected.
The button for dismissing the picker is labeled “Cancel.” when set to false
and "Done." when set to true
.
Declaration
public bool AllowsPickingMultipleItems { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
Methods
SetDelegate(ISN_IMPMediaPickerControllerDelegate)
The delegate for a media item picker.
Typically, you set the delegate to be the same object that initializes and displays the media item picker. The delegate protocol is described in ISN_IMPMediaPickerControllerDelegate.
Declaration
public void SetDelegate(ISN_IMPMediaPickerControllerDelegate delegate)
Parameters
Type | Name | Description |
---|---|---|
ISN_IMPMediaPickerControllerDelegate | delegate | Media item picker delegate. |