Package-level declarations

Types

Link copied to clipboard
class LineAccessToken(val value: String, val expiresAtEpochMilliseconds: Long)

An access token for LINE's own APIs.

Link copied to clipboard

How insistently to ask the user to add your LINE Official Account as a friend.

Link copied to clipboard
class LineIdToken(val rawValue: String, val subject: String?, val name: String?, val pictureUrl: String?, val email: String?, val nonce: String?)

The OpenID Connect ID token issued when LineScope.OpenId is granted.

Link copied to clipboard
object LineLogin

LINE Login, driven from shared code.

Link copied to clipboard
class LineLoginConfig(val channelId: String, val universalLinkUrl: String? = null, val liffId: String? = null)

Everything the LINE SDKs need to identify your app.

Link copied to clipboard

Why a LINE call failed, in terms that mean the same thing on Android and iOS.

Link copied to clipboard
class LineLoginRequest(val scopes: Set<LineScope> = DefaultScopes, val nonce: String? = null, val forceWebLogin: Boolean = false, val botPrompt: LineBotPrompt? = null, val promptBotId: String? = null)

Options for a single LineLogin.login call.

Link copied to clipboard
sealed interface LineLoginResult

The outcome of LineLogin.login.

Link copied to clipboard

The one thing LINE Login needs from your iOS app.

Link copied to clipboard
sealed interface LineLogoutResult

The outcome of LineLogin.logout.

Link copied to clipboard
class LineProfile(val userId: String, val displayName: String, val pictureUrl: String?, val statusMessage: String?)

The signed-in user, as LINE describes them.

Link copied to clipboard
class LineScope(val code: String)

A LINE Login permission scope.

Functions

Link copied to clipboard
fun LineLogin.configure(context: Context, config: LineLoginConfig)

Configures LINE Login with an explicit Context.

Link copied to clipboard
fun LineLogin.isLineAppInstalled(context: Context): Boolean

Whether the LINE app is installed on this device, asked with an explicit Context.