Show / Hide Table of Contents

    Class SharingServices

    Provides a cross-platform interface to access sharing services.

    Inheritance
    System.Object
    SharingServices
    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: VoxelBusters.EssentialKit
    Assembly: cs.temp.dll.dll
    Syntax
    public static class SharingServices

    Properties

    UnitySettings

    Declaration
    public static SharingServicesUnitySettings UnitySettings { get; }
    Property Value
    Type Description
    SharingServicesUnitySettings

    Methods

    IsAvailable()

    Declaration
    public static bool IsAvailable()
    Returns
    Type Description
    System.Boolean

    ShowMailComposer(String[], String[], String[], String, String, Boolean, EventCallback<MailComposerResult>, ShareItem[])

    Shows the mail composer.

    Declaration
    public static void ShowMailComposer(string[] toRecipients = null, string[] ccRecipients = null, string[] bccRecipients = null, string subject = null, string body = null, bool isHtmlBody = false, EventCallback<MailComposerResult> callback = null, params ShareItem[] shareItems)
    Parameters
    Type Name Description
    System.String[] toRecipients

    To recipients.

    System.String[] ccRecipients

    Cc recipients.

    System.String[] bccRecipients

    Bcc recipients.

    System.String subject

    Subject.

    System.String body

    Body.

    System.Boolean isHtmlBody

    If set to true is html body.

    EventCallback<MailComposerResult> callback

    Callback.

    ShareItem[] shareItems

    Share items.

    ShowMessageComposer(String[], String, String, EventCallback<MessageComposerResult>, ShareItem[])

    Shows the message composer.

    Declaration
    public static void ShowMessageComposer(string[] recipients = null, string subject = null, string body = null, EventCallback<MessageComposerResult> callback = null, params ShareItem[] shareItems)
    Parameters
    Type Name Description
    System.String[] recipients

    Recipients.

    System.String subject

    Subject.

    System.String body

    Body.

    EventCallback<MessageComposerResult> callback

    Callback.

    ShareItem[] shareItems

    Share items.

    ShowShareSheet(EventCallback<ShareSheetResult>, ShareItem[])

    Declaration
    public static void ShowShareSheet(EventCallback<ShareSheetResult> callback = null, params ShareItem[] shareItems)
    Parameters
    Type Name Description
    EventCallback<ShareSheetResult> callback
    ShareItem[] shareItems

    ShowSocialShareComposer(SocialShareComposerType, EventCallback<SocialShareComposerResult>, ShareItem[])

    Declaration
    public static void ShowSocialShareComposer(SocialShareComposerType composerType, EventCallback<SocialShareComposerResult> callback = null, params ShareItem[] shareItems)
    Parameters
    Type Name Description
    SocialShareComposerType composerType
    EventCallback<SocialShareComposerResult> callback
    ShareItem[] shareItems
    Back to top Cross Platform Native Plugins 2.0 : Essential Kit from Voxel Busters