このヘルプページは Creator 6 をご利用のユーザー向けです。旧バージョン(Creator 5)をご利用の場合は、こちらをクリックしてください。ご利用中のCreator のバージョンを確認してください。
Android UI ライブラリを使用すると、タブの UI コンポーネントを利用できるほか、独自のカスタム UIを設計することもできます。



IAMClientSDK.getInstance(this).init(scopes)
IAMClientSDK.getInstance(this).handleRedirection(this)val sdk = IAMClientSDK.getInstance(applicationContext)
if (!sdk.isUserSignedIn) {
sdk.presentLoginScreen(this, object : IAMTokenCallback {
override fun onTokenFetchInitiated() {
}
override fun onTokenFetchComplete(zohoToken: IAMToken) {
//<This method will be called after user logged-in successfully>
}
override fun onTokenFetchFailed(zohoErrorCodes: IAMErrorCodes) {
//<This method will be called if any error occurred in the login. You will receive the error code in this callback.>
}
}, null)
} else {
// start intent to your first activity
}クラス ZCAuthImpl(非公開 val context: Context) : ZCOauthHelper { @Throws(ZCException::クラス) override suspend fun getAccessToken(): String? { 返品する suspendCoroutine { continuation -> IAMClientSDK。getInstance(context).getToken(object : IAMTokenCallback { override fun onTokenFetchInitiated() { } override fun onTokenFetchComplete(token: IAMToken) { continuation。resumeWith(Result。完了(token。token)) } override fun onTokenFetchFailed(errorCode: IAMErrorCodes) { continuation。resumeWith(Result。完了(null)) } }) } } override fun getInitialScopes(context: Context): String { 返品する '' } override fun isUserSignedIn(): Boolean { 返品する IAMClientSDK。getInstance(context).isUserSignedIn } override fun getUserData(): Any? { 返品する null } override fun getTransformedUrl(url: String): String { 返品する url } override fun checkAndLogout(): Boolean { 返品する 無効 } override fun isEnhanceTokenNeeded(newScopes: String): Boolean { 返品する 無効 } override fun enhanceToken(tokenHelper: ZCOauthHelper。ZCOAuthTokenHelper, newScopes: String) { } override fun enhanceTokenWithOnDemandScope(tokenHelper: ZCOauthHelper。ZCOAuthTokenHelper) { }}
ZCAPIUtil.setOAuthHelper(ZCAuthImpl(applicationContext))
「導入したばかりで基本操作や設定に不安がある」、「短期間で集中的に運用開始できる状態にしたい」、「運用を開始しているが再度学び直したい」 といった課題を抱えられているユーザーさまに向けた少人数制のオンライントレーニングです。
日々の営業活動を効率的に管理し、導入効果を高めるための方法を学びましょう。