Show / Hide Table of Contents

Class ISN_UIActivityViewController

A view controller that you use to offer standard services from your app.

The system provides several standard services, such as copying items to the pasteboard, posting content to social media sites, sending items via email or SMS, and more. Apps can also define custom services.

Your app is responsible for configuring, presenting, and dismissing this view controller. Configuration for the view controller involves specifying the data objects on which the view controller should act. (You can also specify the list of custom services your app supports.)

Inheritance
System.Object
ISN_UIActivityViewController
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ToString()
System.Object.ReferenceEquals(System.Object, System.Object)
Namespace: SA.iOS.Social
Assembly: cs.temp.dll.dll
Syntax
public class ISN_UIActivityViewController

Properties

ExcludedActivityTypes

This property contains an array of strings. Each string you specify indicates a service that you do not want displayed to the user. You might exclude services that you feel are not suitable for the content you are providing. For example, you might not want to allow the user to print a specific image. If the value of this property is empty, no services are excluded. This value of this property is empty by default.

See the ISN_UIActivityType for a possible options.

Declaration
public List<string> ExcludedActivityTypes { get; }
Property Value
Type Description
List<System.String>

The excluded activity types.

Methods

AddImage(Texture2D)

Adds an image to the sharing data

Declaration
public void AddImage(Texture2D image)
Parameters
Type Name Description
Texture2D image

AddUrl(String)

Adds a URL to the sharing data

Declaration
public void AddUrl(string url)
Parameters
Type Name Description
System.String url

Present(Action<ISN_UIActivityViewControllerResult>)

Present Activity View Controller.

Declaration
public void Present(Action<ISN_UIActivityViewControllerResult> callback)
Parameters
Type Name Description
Action<ISN_UIActivityViewControllerResult> callback

The complete callback.

SetText(String)

Sets the text that will be used for sharing

Declaration
public void SetText(string text)
Parameters
Type Name Description
System.String text
In This Article
Back to top Generated by DocFX