AssetsLibrary.ALAsset Members

The members of AssetsLibrary.ALAsset are listed below.

See Also: Inherited members from Foundation.NSObject

Public Constructors

Default constructor that initializes a new instance of this class with no parameters.

Protected Constructors

Constructor to call on derived classes to skip initialization and merely allocate the object.
A constructor used when creating managed representations of unmanaged objects; Called by the runtime.

Public Properties

[read-only]
AssetTypeALAssetType. The asset type (photo, video, unknown).
[read-only]
AssetUrlFoundation.NSUrl. Documentation for this section has not yet been entered.
[read-only]
override
ClassHandleIntPtr. The handle for this class.
[read-only]
DateFoundation.NSDate. Asset's creation time stamp.
[read-only]
DefaultRepresentationALAssetRepresentation. Default asset representation.
[read-only]
Durationdouble. For videos, play time.
[read-only]
Editablebool. Whether the application may edit the asset.
[read-only]
LocationCoreLocation.CLLocation. Geographical information about the asset.
[read-only]
OrientationALAssetOrientation. Asset orientation.
[read-only]
OriginalAssetALAsset. The original version, if the AssetsLibrary.ALAsset is a modification.
[read-only]
Representationsstring[]. Returns a list of all the available representations for this asset.
[read-only]
ThumbnailCoreGraphics.CGImage. Returns the thumbnail for the asset.
[read-only]
UtiToUrlDictionaryFoundation.NSDictionary. The UTI to URL dictionary for the asset.

Public Methods

AspectRatioThumbnail() : CoreGraphics.CGImage
Returns a thumbnail image that preserves the original aspect ration of the source image.
RepresentationForUti(string) : ALAssetRepresentation
Returns the specific version for the asset that matches the requested UTI.
SetImageData(Foundation.NSData, Foundation.NSDictionary, Action<Foundation.NSUrl, Foundation.NSError>)
Documentation for this section has not yet been entered.
SetImageDataAsync(Foundation.NSData, Foundation.NSDictionary) : System.Threading.Tasks.Task<Foundation.NSUrl>
Changes the data to and the metadata to . On success, executes .
SetVideoAtPath(Foundation.NSUrl, Action<Foundation.NSUrl, Foundation.NSError>)
Documentation for this section has not yet been entered.
SetVideoAtPathAsync(Foundation.NSUrl) : System.Threading.Tasks.Task<Foundation.NSUrl>
Modifies the to refer to the .
ValueForProperty(Foundation.NSString) : Foundation.NSObject
Low-level access to properties in the ALAsset.
WriteModifiedImageToSavedToPhotosAlbum(Foundation.NSData, Foundation.NSDictionary, Action<Foundation.NSUrl, Foundation.NSError>)
Documentation for this section has not yet been entered.
WriteModifiedImageToSavedToPhotosAlbumAsync(Foundation.NSData, Foundation.NSDictionary) : System.Threading.Tasks.Task<Foundation.NSUrl>
Modifies and writes an image asset to the user's Photos directory.
WriteModifiedVideoToSavedPhotosAlbum(Foundation.NSUrl, Action<Foundation.NSUrl, Foundation.NSError>)
Documentation for this section has not yet been entered.
WriteModifiedVideoToSavedPhotosAlbumAsync(Foundation.NSUrl) : System.Threading.Tasks.Task<Foundation.NSUrl>
Writes the video to the specified path.

Protected Methods

override
Dispose(bool)
Releases the resources used by the ALAsset object.