public class

AuthInfoManager

extends Object
java.lang.Object
   ↳ com.ksyun.media.shortvideo.utils.AuthInfoManager

Class Overview

Manager authentication

Summary

Fields
public static int AUTH_FAILED auth failed
public static int AUTH_SUCCESS auth success
public static int FEA_BASE
public static int FEA_EDIT_BGM
public static int FEA_EDIT_TEXT_BITMAP_STICKER
public static int FEA_EFFECT_FILTER
public static String FEA_FAILED_LOG
public static int FEA_MULTI_CANVAS
public static int FEA_RECORD_MV
public static int FEA_TIME_EFFECT
public static int FEA_TRANSITION
protected int mAuthState
Public Methods
void checkAuth()
check sdk authentication

If the authentication has passed, no longer repeat authentication
If the authentication does not pass, will restart the authentication
The result will be retured through CheckAuthResultListener

boolean checkAuthFeature(int feature)
boolean getAuthState()
return auth result
static AuthInfoManager getInstance()
get AuthinfoManger instance
[Expand]
Inherited Methods
From class java.lang.Object

Fields

public static int AUTH_FAILED

auth failed

public static int AUTH_SUCCESS

auth success

public static int FEA_BASE

public static int FEA_EDIT_BGM

public static int FEA_EDIT_TEXT_BITMAP_STICKER

public static int FEA_EFFECT_FILTER

public static String FEA_FAILED_LOG

public static int FEA_MULTI_CANVAS

public static int FEA_RECORD_MV

public static int FEA_TIME_EFFECT

public static int FEA_TRANSITION

protected int mAuthState

Public Methods

public void checkAuth ()

check sdk authentication

If the authentication has passed, no longer repeat authentication
If the authentication does not pass, will restart the authentication
The result will be retured through CheckAuthResultListener

public boolean checkAuthFeature (int feature)

public boolean getAuthState ()

return auth result

Returns
  • true: auth success; false: auth failed

public static AuthInfoManager getInstance ()

get AuthinfoManger instance