ALAssetsLibrary.AddAssetsGroupAlbum Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.
Executed if there was a failure, such as from the user denying the application from accessing the library.
- Attributes