SyncAdapterType.NewKey(String, String) 方法

定义

[Android.Runtime.Register("newKey", "(Ljava/lang/String;Ljava/lang/String;)Landroid/content/SyncAdapterType;", "")]
public static Android.Content.SyncAdapterType? NewKey(string? authority, string? accountType);
[<Android.Runtime.Register("newKey", "(Ljava/lang/String;Ljava/lang/String;)Landroid/content/SyncAdapterType;", "")>]
static member NewKey : string * string -> Android.Content.SyncAdapterType

参数

authority
String

内容提供程序颁发机构。

accountType
String

帐户类型。

返回

提供的颁发机构和帐户类型的同步适配器密钥。

属性

注解

本页的某些部分是根据 创建和共享的工作进行的修改,并根据 许可证中所述的条款使用。

Java文档android.content.SyncAdapterType.newKey(java.lang.String, java.lang.String)

适用于