次の方法で共有


Contacts.ContactMethods.AddPostalLocation Method

Definition

Caution

deprecated

Add a longitude and latitude location to a postal address.

[Android.Runtime.Register("addPostalLocation", "(Landroid/content/Context;JDD)V", "")]
[System.Obsolete("deprecated")]
public void AddPostalLocation (Android.Content.Context? context, long postalId, double latitude, double longitude);
[<Android.Runtime.Register("addPostalLocation", "(Landroid/content/Context;JDD)V", "")>]
[<System.Obsolete("deprecated")>]
member this.AddPostalLocation : Android.Content.Context * int64 * double * double -> unit

Parameters

context
Context

the context to use when updating the database

postalId
Int64

the address to update

latitude
Double

the latitude for the address

longitude
Double

the longitude for the address

Attributes

Remarks

Add a longitude and latitude location to a postal address.

This member is deprecated. see android.provider.ContactsContract

Java documentation for android.provider.Contacts.ContactMethods.addPostalLocation(android.content.Context, long, double, double).

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