Skip to main content
Version: 5.11.6

IsQuestionViewOpen

public bool IsQuestionViewOpen();

Description

Checks whether the 1:1 inquiry window has been activated.
Returns true if the 1:1 inquiry window is activated, false if not.

Example

Synchronous

BackEnd.Support.Android.Question.IsQuestionViewOpen() -> bool
BackEnd.Support.iOS.Question.IsQuestionViewOpen() -> bool

// example

bool isQuestionViewOpen = false;
#if UNITY_ANDROID
isQuestionViewOpen = BackEnd.Support.Android.Question.IsQuestionViewOpen();
#elif UNITY_IOS
isQuestionViewOpen = BackEnd.Support.iOS.Question.IsQuestionViewOpen();
#endif

if(isQuestionViewOpen)
{
Debug.Log("1:1 inquiry window is active.");
}

IsQuestionViewOpen

public bool IsQuestionViewOpen();

Description

Checks whether the 1:1 inquiry window has been activated.
Returns true if the 1:1 inquiry window is activated, false if not.

Example

Synchronous

BackEnd.Support.Android.Question.IsQuestionViewOpen() -> bool
BackEnd.Support.iOS.Question.IsQuestionViewOpen() -> bool

// example

bool isQuestionViewOpen = false;
#if UNITY_ANDROID
isQuestionViewOpen = BackEnd.Support.Android.Question.IsQuestionViewOpen();
#elif UNITY_IOS
isQuestionViewOpen = BackEnd.Support.iOS.Question.IsQuestionViewOpen();
#endif

if(isQuestionViewOpen)
{
Debug.Log("1:1 inquiry window is active.");
}