FirebaseOptions.Builder

public static final class FirebaseOptions.Builder extends Object

Builder for constructing FirebaseOptions.

Public Constructor Summary

FirebaseOptions.Builder()
Constructs an empty builder.
FirebaseOptions.Builder(FirebaseOptions options)
Initializes the builder's values from the options object.

Public Method Summary

FirebaseOptions
FirebaseOptions.Builder
FirebaseOptions.Builder
setApplicationId(String applicationId)
FirebaseOptions.Builder
setDatabaseUrl(String databaseUrl)
FirebaseOptions.Builder
setGcmSenderId(String gcmSenderId)
FirebaseOptions.Builder
setProjectId(String projectId)
FirebaseOptions.Builder
setStorageBucket(String storageBucket)

Inherited Method Summary

Public Constructors

public FirebaseOptions.Builder ()

Constructs an empty builder.

public FirebaseOptions.Builder (FirebaseOptions options)

Initializes the builder's values from the options object.

The new builder is not backed by this objects values, that is changes made to the new builder don't change the values of the origin object.

Public Methods

public FirebaseOptions build ()

public FirebaseOptions.Builder setApiKey (String apiKey)

public FirebaseOptions.Builder setApplicationId (String applicationId)

public FirebaseOptions.Builder setDatabaseUrl (String databaseUrl)

public FirebaseOptions.Builder setGcmSenderId (String gcmSenderId)

public FirebaseOptions.Builder setProjectId (String projectId)

public FirebaseOptions.Builder setStorageBucket (String storageBucket)

发送以下问题的反馈:

此网页
需要帮助?请访问我们的支持页面