ManoMotion SDK PRO  1.4.4.1
ManoMotion SDK PRO API documentation
ManoMotion.TermsAndServices.PrivacyPolicyDisclaimair Class Reference
Inheritance diagram for ManoMotion.TermsAndServices.PrivacyPolicyDisclaimair:

Public Types

enum  AccessState { AccessState.ShouldAsk = 0, AccessState.Granted = 1, AccessState.Denied = 2 }
 

Public Member Functions

void InitializeUsageDisclaimer ()
 Initializes the usage disclaimer. More...
 
void NavigateToPrivacyPolicy ()
 Opens a webpage and displays the privacy policy information More...
 
void ApprovePrivacyPolicy ()
 Approves the privacy policy conditions and sets the value in PlayerPrefs so it wont start again. More...
 

Events

Action OnHasApprovedPrivacyPolicy
 

Private Member Functions

void Awake ()
 
void RetrievePrivacyHistory ()
 Checks the PlayerPrefs for the record that keeps track of the user approval on privacy policy and and initializes the bool hasUserApprovedUse. More...
 
void ClosePrivacyPolicy ()
 It stops displaying the Privacy Policy Canvas More...
 
void OpenPrivacyPolicy ()
 Opens the privacy policy to display the visual information of the canvas regarding privacy policy. More...
 

Private Attributes

string playerPrefsPolicy = "Policy"
 
GameObject privacyPolicyCanvas
 
bool hasUserApprovedUse
 

Member Enumeration Documentation

◆ AccessState

Enumerator
ShouldAsk 
Granted 
Denied 

Member Function Documentation

◆ ApprovePrivacyPolicy()

void ManoMotion.TermsAndServices.PrivacyPolicyDisclaimair.ApprovePrivacyPolicy ( )
inline

Approves the privacy policy conditions and sets the value in PlayerPrefs so it wont start again.

◆ Awake()

void ManoMotion.TermsAndServices.PrivacyPolicyDisclaimair.Awake ( )
inlineprivate

◆ ClosePrivacyPolicy()

void ManoMotion.TermsAndServices.PrivacyPolicyDisclaimair.ClosePrivacyPolicy ( )
inlineprivate

It stops displaying the Privacy Policy Canvas

◆ InitializeUsageDisclaimer()

void ManoMotion.TermsAndServices.PrivacyPolicyDisclaimair.InitializeUsageDisclaimer ( )
inline

Initializes the usage disclaimer.

◆ NavigateToPrivacyPolicy()

void ManoMotion.TermsAndServices.PrivacyPolicyDisclaimair.NavigateToPrivacyPolicy ( )
inline

Opens a webpage and displays the privacy policy information

◆ OpenPrivacyPolicy()

void ManoMotion.TermsAndServices.PrivacyPolicyDisclaimair.OpenPrivacyPolicy ( )
inlineprivate

Opens the privacy policy to display the visual information of the canvas regarding privacy policy.

◆ RetrievePrivacyHistory()

void ManoMotion.TermsAndServices.PrivacyPolicyDisclaimair.RetrievePrivacyHistory ( )
inlineprivate

Checks the PlayerPrefs for the record that keeps track of the user approval on privacy policy and and initializes the bool hasUserApprovedUse.

Field Documentation

◆ hasUserApprovedUse

bool ManoMotion.TermsAndServices.PrivacyPolicyDisclaimair.hasUserApprovedUse
private

◆ playerPrefsPolicy

string ManoMotion.TermsAndServices.PrivacyPolicyDisclaimair.playerPrefsPolicy = "Policy"
private

◆ privacyPolicyCanvas

GameObject ManoMotion.TermsAndServices.PrivacyPolicyDisclaimair.privacyPolicyCanvas
private

Event Documentation

◆ OnHasApprovedPrivacyPolicy

Action ManoMotion.TermsAndServices.PrivacyPolicyDisclaimair.OnHasApprovedPrivacyPolicy

The documentation for this class was generated from the following file: