Table of Contents

Class CustomerSupport

Namespace
HomaGames.HomaBelly
Assembly
HomaGames.HomaBelly.Core.dll
public static class CustomerSupport
Inheritance
CustomerSupport
Inherited Members

Methods

GetUnreadMessagesAsync(Action<int>)

Get the number of unread messages from support

public static void GetUnreadMessagesAsync(Action<int> onComplete = null)

Parameters

onComplete Action<int>

Callback with the number of unread messages

IsInitialised()

Check if the Customer Support is ready to be used.

public static bool IsInitialised()

Returns

bool

True if initialised

OpenConversationWindow(string[], Dictionary<string, object>)

Use this to open the conversation window with custom tags for context

public static void OpenConversationWindow(string[] tags = null, Dictionary<string, object> customMetadata = null)

Parameters

tags string[]

List of tag to filter issues in the Customer Support dashboard

customMetadata Dictionary<string, object>

Add context to the issue with extra meta data

OpenConversationWindowFromRatePopup()

Use this to open the conversation window from the rating popup

public static void OpenConversationWindowFromRatePopup()

OpenConversationWindowFromSettings()

Use this to open the conversation window from the settings window

public static void OpenConversationWindowFromSettings()

ShowFAQs()

Shows the FAQ

public static void ShowFAQs()