PeriodicSync Constructors

Definition

Overloads

PeriodicSync(IntPtr, JniHandleOwnership)

A constructor used when creating managed representations of JNI objects; called by the runtime.

PeriodicSync(Account, String, Bundle, Int64)

Creates a new PeriodicSync, copying the Bundle.

PeriodicSync(IntPtr, JniHandleOwnership)

A constructor used when creating managed representations of JNI objects; called by the runtime.

protected PeriodicSync (IntPtr javaReference, Android.Runtime.JniHandleOwnership transfer);
new Android.Content.PeriodicSync : nativeint * Android.Runtime.JniHandleOwnership -> Android.Content.PeriodicSync

Parameters

javaReference
IntPtr

nativeint

A IntPtrcontaining a Java Native Interface (JNI) object reference.

transfer
JniHandleOwnership

A JniHandleOwnershipindicating how to handle javaReference

Remarks

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to

PeriodicSync(Account, String, Bundle, Int64)

Creates a new PeriodicSync, copying the Bundle.

[Android.Runtime.Register(".ctor", "(Landroid/accounts/Account;Ljava/lang/String;Landroid/os/Bundle;J)V", "")]
public PeriodicSync (Android.Accounts.Account? account, string? authority, Android.OS.Bundle? extras, long periodInSeconds);
[<Android.Runtime.Register(".ctor", "(Landroid/accounts/Account;Ljava/lang/String;Landroid/os/Bundle;J)V", "")>]
new Android.Content.PeriodicSync : Android.Accounts.Account * string * Android.OS.Bundle * int64 -> Android.Content.PeriodicSync

Parameters

account
Account
authority
String
extras
Bundle
periodInSeconds
Int64
Attributes

Remarks

Creates a new PeriodicSync, copying the Bundle. This constructor is no longer used.

Java documentation for android.content.PeriodicSync.PeriodicSync(android.accounts.Account, java.lang.String, android.os.Bundle, long).

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to