語言

PeriodicSync 建構函式

定義

多載

名稱 Description
PeriodicSync(IntPtr, JniHandleOwnership)

用於建立 JNI 物件受管理表示的建構器;由執行時呼叫。

PeriodicSync(Account, String, Bundle, Int64)

建立新的 PeriodicSync,複製 Bundle。

PeriodicSync(IntPtr, JniHandleOwnership)

用於建立 JNI 物件受管理表示的建構器;由執行時呼叫。

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

參數

javaReference
IntPtr

nativeint

IntPtrA 包含一個 Java 原生介面(JNI)物件參考。

transfer
JniHandleOwnership

JniHandleOwnershipA 指示如何處理javaReference

備註

本頁部分內容為基於 Open Source Project 所創建與分享的作品,並依授權條款所描述的使用進行修改。

適用於

PeriodicSync(Account, String, Bundle, Int64)

建立新的 PeriodicSync,複製 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

參數

account
Account

與同步操作相關的帳號。

authority
String

內容提供者權威。

extras
Bundle

與這次行動相關的臨時演員。

periodInSeconds
Int64

同步時間,以秒計。

屬性

備註

建立新的 PeriodicSync,複製 Bundle。 此構造器現已不再使用。

Java 文件 android.content.PeriodicSync.PeriodicSync(android.accounts.Account, java.lang.String, android.os.Bundle, long)。

本頁部分內容為基於 Open Source Project 所創建與分享的作品,並依授權條款所描述的使用進行修改。

適用於