Edytuj

Udostępnij za pośrednictwem


IUIActivityItemSource Interface

Definition

Interface representing the required methods (if any) of the protocol UIActivityItemSource.

[Foundation.Protocol(Name="UIActivityItemSource", WrapperType=typeof(UIKit.UIActivityItemSourceWrapper))]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 6, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.TvOS, ObjCRuntime.PlatformArchitecture.All, null)]
public interface IUIActivityItemSource : IDisposable, ObjCRuntime.INativeObject
type IUIActivityItemSource = interface
    interface INativeObject
    interface IDisposable
Derived
Attributes
Implements

Remarks

This interface contains the required methods (if any) from the protocol defined by UIActivityItemSource.

If developers create classes that implement this interface, the implementation methods will automatically be exported to Objective-C with the matching signature from the method defined in the UIActivityItemSource protocol.

Optional methods (if any) are provided by the UIActivityItemSource_Extensions class as extension methods to the interface, allowing developers to invoke any optional methods on the protocol.

Properties

Handle

Handle (pointer) to the unmanaged object representation.

(Inherited from INativeObject)

Methods

GetItemForActivity(UIActivityViewController, NSString)

The data to be acted upon by the specified actitivtyType.

GetPlaceholderData(UIActivityViewController)

Returns data that can be used as a placeholder for real data.

Extension Methods

GetDataTypeIdentifierForActivity(IUIActivityItemSource, UIActivityViewController, NSString)

If the specified provides NSData, this method returns the Uniform Type Identifier (UTI) of the item.

GetSubjectForActivity(IUIActivityItemSource, UIActivityViewController, NSString)

Returns the subject for the specified .

GetThumbnailImageForActivity(IUIActivityItemSource, UIActivityViewController, NSString, CGSize)

Returns the preview image for the specified .

Applies to