Edit

Share via


ALAssetsLibrary.AddAssetsGroupAlbum Method

Definition

Creates an asset group (such as an album of photographs) to the ALAssetsLibrary.

[Foundation.Export("addAssetsGroupAlbumWithName:resultBlock:failureBlock:")]
public virtual void AddAssetsGroupAlbum (string name, Action<AssetsLibrary.ALAssetsGroup> resultBlock, Action<Foundation.NSError> failureBlock);
abstract member AddAssetsGroupAlbum : string * Action<AssetsLibrary.ALAssetsGroup> * Action<Foundation.NSError> -> unit
override this.AddAssetsGroupAlbum : string * Action<AssetsLibrary.ALAssetsGroup> * Action<Foundation.NSError> -> unit

Parameters

name
String

The name of the asset group to be created.

resultBlock
Action<ALAssetsGroup>

Executed if there is no error during the asset creation.

failureBlock
Action<NSError>

Executed if there was a failure, such as from the user denying the application from accessing the library.

Attributes

Applies to