SyncAdapterType.NewKey(String, String) Method

Definition

[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

Parameters

authority
String

The content-provider authority.

accountType
String

The account type.

Returns

A sync-adapter key for the supplied authority and account type.

Attributes

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.

Java documentation for android.content.SyncAdapterType.newKey(java.lang.String, java.lang.String).

Applies to