Edit

Share via


UIColor.LoadDataAsync Method

Definition

Overloads

LoadDataAsync(String, NSProgress)

Asynchronously loads data for the identified type from an item provider, returning a task that contains the data, and updating progress in result.

LoadDataAsync(String)

Asynchronously loads data for the identified type from an item provider, returning a task that contains the data.

LoadDataAsync(String, NSProgress)

Asynchronously loads data for the identified type from an item provider, returning a task that contains the data, and updating progress in result.

[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.WatchOS, 4, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.TvOS, 11, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.MacOSX, 10, 13, ObjCRuntime.PlatformArchitecture.Arch64, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 11, 0, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual System.Threading.Tasks.Task<Foundation.NSData> LoadDataAsync (string typeIdentifier, out Foundation.NSProgress result);
abstract member LoadDataAsync : string *  -> System.Threading.Tasks.Task<Foundation.NSData>
override this.LoadDataAsync : string *  -> System.Threading.Tasks.Task<Foundation.NSData>

Parameters

typeIdentifier
String

The UTI type identifer for a UIColor.

result
NSProgress

The progress of the operation.

Returns

Attributes

Remarks

(More documentation for this node is coming)

This can be used from a background thread.

Applies to

LoadDataAsync(String)

Asynchronously loads data for the identified type from an item provider, returning a task that contains the data.

[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.WatchOS, 4, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.TvOS, 11, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.MacOSX, 10, 13, ObjCRuntime.PlatformArchitecture.Arch64, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 11, 0, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual System.Threading.Tasks.Task<Foundation.NSData> LoadDataAsync (string typeIdentifier);
abstract member LoadDataAsync : string -> System.Threading.Tasks.Task<Foundation.NSData>
override this.LoadDataAsync : string -> System.Threading.Tasks.Task<Foundation.NSData>

Parameters

typeIdentifier
String

The UTI type identifer for a UIColor.

Returns

Attributes

Remarks

(More documentation for this node is coming)

This can be used from a background thread.

Applies to