AuthenticationAction.Builder


class AuthenticationAction.Builder


A builder for AuthenticationAction

Summary

Public constructors

Builder(title: CharSequence, pendingIntent: PendingIntent)

Public functions

AuthenticationAction

Builds an instance of AuthenticationAction

Public constructors

Builder

Added in 1.2.0
Builder(title: CharSequence, pendingIntent: PendingIntent)
Parameters
title: CharSequence

the title to be displayed with this authentication action entry

pendingIntent: PendingIntent

the PendingIntent that will get invoked when the user selects this entry, must be created with a unique request code per entry, with flag PendingIntent.FLAG_MUTABLE to allow the Android system to attach the final request, and NOT with flag PendingIntent.FLAG_ONE_SHOT as it can be invoked multiple times

Public functions

build

Added in 1.2.0
fun build(): AuthenticationAction

Builds an instance of AuthenticationAction