PeriodicSync 构造函数
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重载
| 名称 | 说明 |
|---|---|
| PeriodicSync(IntPtr, JniHandleOwnership) |
创建 JNI 对象的托管表示形式时使用的构造函数;由运行时调用。 |
| PeriodicSync(Account, String, Bundle, Int64) |
创建新的 PeriodicSync,复制捆绑包。 |
PeriodicSync(IntPtr, JniHandleOwnership)
创建 JNI 对象的托管表示形式时使用的构造函数;由运行时调用。
protected PeriodicSync(IntPtr javaReference, Android.Runtime.JniHandleOwnership transfer);
new Android.Content.PeriodicSync : nativeint * Android.Runtime.JniHandleOwnership -> Android.Content.PeriodicSync
参数
- transfer
- JniHandleOwnership
指示 JniHandleOwnership如何处理 javaReference
注解
本页的某些部分是根据 创建和共享的工作进行的修改,并根据 许可证中所述的条款使用。
适用于
PeriodicSync(Account, String, Bundle, Int64)
创建新的 PeriodicSync,复制捆绑包。
[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,复制捆绑包。 不再使用此构造函数。
本页的某些部分是根据 创建和共享的工作进行的修改,并根据 许可证中所述的条款使用。