Skip to main content

GetSocialFeatureStatus

AndroidiOSWindows
If you were looking for the method for use with Unreal Engine, see GetSocialFeatureStatus for Unreal Engine SDK.

Obtain the authorization status of messaging for minors. When the SOCIAL_FEATURE_APPROVE_STATUS event of LIEventObserver is triggered, the authorization status of messaging for minors is returned to the game.

note

For minors who have not completed messaging authorization, LI PASS will open the related verification webpage with WebView.
When this webpage is closed, the SOCIAL_FEATURE_APPROVE_RESULT event of LIEventObserver is triggered to inform the game of the authorization result of messaging for minors.

Function definition

public static void GetSocialFeatureStatus()

Input parameters

No parameters are passed.

Code sample

LevelInfinite.GetSocialFeatureStatus();