Package com.microsoft.quickauth.signin
Class MSQASignInOptions.Builder
- java.lang.Object
-
- com.microsoft.quickauth.signin.MSQASignInOptions.Builder
-
- Enclosing class:
- MSQASignInOptions
public static final class MSQASignInOptions.Builder extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description MSQASignInOptions
build()
MSQASignInOptions.Builder
setConfigResourceId(int configResourceId)
MSQASignInOptions.Builder
setEnableLogcatLog(boolean enableLogcatLog)
Set Enable/Disable the Android logcat logging.MSQASignInOptions.Builder
setExternalLogger(ILogger externalLogger)
Configures external logging to configure a callback that the sdk will use to pass each log message.MSQASignInOptions.Builder
setLogLevel(int logLevel)
Set the log level for diagnostic purpose.
-
-
-
Method Detail
-
setConfigResourceId
public MSQASignInOptions.Builder setConfigResourceId(int configResourceId)
-
setEnableLogcatLog
public MSQASignInOptions.Builder setEnableLogcatLog(boolean enableLogcatLog)
Set Enable/Disable the Android logcat logging.- Parameters:
enableLogcatLog
- true will enable logcat logging.- Returns:
-
setExternalLogger
public MSQASignInOptions.Builder setExternalLogger(@NonNull ILogger externalLogger)
Configures external logging to configure a callback that the sdk will use to pass each log message.- Parameters:
externalLogger
- External logging callback.- Returns:
-
setLogLevel
public MSQASignInOptions.Builder setLogLevel(int logLevel)
Set the log level for diagnostic purpose. By default, the sdk enables the verbose level logging.- Parameters:
logLevel
- The log level inLogLevel
.- Returns:
-
build
public MSQASignInOptions build()
-
-