Lenguaje

SyncRequest.Builder.SetIgnoreSettings(Boolean) Método

Definición

Función de conveniencia para establecer ContentResolver.SYNC_EXTRAS_IGNORE_SETTINGS . No es válido para la sincronización periódica y producirá una excepción IllegalArgumentException en build() . Produce IllegalArgumentException si se ha llamado a y setDisallowMetered(boolean) se ha establecido.

[Android.Runtime.Register("setIgnoreSettings", "(Z)Landroid/content/SyncRequest$Builder;", "GetSetIgnoreSettings_ZHandler")]
public virtual Android.Content.SyncRequest.Builder? SetIgnoreSettings(bool ignoreSettings);
[<Android.Runtime.Register("setIgnoreSettings", "(Z)Landroid/content/SyncRequest$Builder;", "GetSetIgnoreSettings_ZHandler")>]
abstract member SetIgnoreSettings : bool -> Android.Content.SyncRequest.Builder
override this.SetIgnoreSettings : bool -> Android.Content.SyncRequest.Builder

Parámetros

ignoreSettings
Boolean

true para omitir la configuración de sincronización automáticamente. El valor predeterminado es false.

Devoluciones

Función de conveniencia para establecer ContentResolver.SYNC_EXTRAS_IGNORE_SETTINGS . No es válido para la sincronización periódica y producirá una excepción IllegalArgumentException en build() . Produce IllegalArgumentException si se ha llamado a y setDisallowMetered(boolean) se ha establecido.

Atributos

Comentarios

Las partes de esta página son modificaciones basadas en el trabajo creado y compartido por el Android y se usan según los términos descritos en creative Creative Commons 2.5 Attribution License.

Java documentación para android.content.SyncRequest.Builder.setIgnoreSettings(boolean).

Se aplica a