зеркало из https://github.com/mozilla/glean.git
Update `initialize` function docs to put uploadEnabled in correct order.
This commit is contained in:
Родитель
bdf8564695
Коммит
e50b4bb80f
|
@ -101,8 +101,8 @@ open class GleanInternalAPI internal constructor () {
|
|||
*
|
||||
* @param applicationContext [Context] to access application features, such
|
||||
* as shared preferences
|
||||
* @param configuration A Glean [Configuration] object with global settings.
|
||||
* @param uploadEnabled A [Boolean] that determines the initial state of the uploader
|
||||
* @param configuration A Glean [Configuration] object with global settings.
|
||||
*/
|
||||
@Suppress("ReturnCount", "LongMethod", "ComplexMethod")
|
||||
@JvmOverloads
|
||||
|
|
|
@ -59,6 +59,7 @@ public class Glean {
|
|||
/// into the background.
|
||||
///
|
||||
/// - parameters:
|
||||
/// * uploadEnabled: A `Bool` that enables or disables telemetry uploading.
|
||||
/// * configuration: A Glean `Configuration` object with global settings.
|
||||
public func initialize(uploadEnabled: Bool,
|
||||
configuration: Configuration = Configuration()) {
|
||||
|
|
Загрузка…
Ссылка в новой задаче