RemoteEntry.Builder


public final class RemoteEntry.Builder


A builder for RemoteEntry

Summary

Public constructors

Builder(@NonNull PendingIntent pendingIntent)

Public methods

final @NonNull RemoteEntry

Builds an instance of RemoteEntry

Public constructors

Builder

Added in 1.2.0
public Builder(@NonNull PendingIntent pendingIntent)
Parameters
@NonNull 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 methods

build

Added in 1.2.0
public final @NonNull RemoteEntry build()

Builds an instance of RemoteEntry