Update `initialize` function docs to put uploadEnabled in correct order.

This commit is contained in:
Travis Long 2020-01-09 10:13:17 -06:00
Родитель bdf8564695
Коммит e50b4bb80f
2 изменённых файлов: 2 добавлений и 1 удалений

Просмотреть файл

@ -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()) {