Beispiel #1
0
        internal void Foreach(Action <AddressHandle> action)
        {
            AddressCallback callback = (index, handle, userData) =>
            {
                action(AddressHandle.CloneFrom(handle));
                return(true);
            };

            Foreach(handle, callback, IntPtr.Zero).WarnIfFailed("Failed to get address list from native handle");
        }
Beispiel #2
0
 internal static extern ErrorCode GeocodeByStructuredAddress(this ServiceHandle /* maps_service_h */ maps, AddressHandle /* maps_address_h */ address, PreferenceHandle /* maps_preference_h */ preference, GeocodeCallback callback, IntPtr /* void */ userData, out int requestId);
Beispiel #3
0
 internal static extern ErrorCode ListRemove(this AddressListHandle /* maps_address_list_h */ addressList, AddressHandle /* maps_address_h */ address);
Beispiel #4
0
 internal static extern ErrorCode SetPostalCode(this AddressHandle /* maps_address_h */ address, string postalCode);
Beispiel #5
0
 internal static extern ErrorCode SetFreeText(this AddressHandle /* maps_address_h */ address, string freetext);
Beispiel #6
0
 internal static extern ErrorCode GetCountryCode(this AddressHandle /* maps_address_h */ address, out string countryCode);
Beispiel #7
0
 internal static extern ErrorCode SetCounty(this AddressHandle /* maps_address_h */ address, string county);
Beispiel #8
0
 internal static extern ErrorCode SetState(this AddressHandle /* maps_address_h */ address, string state);
Beispiel #9
0
 internal static extern ErrorCode GetCity(this AddressHandle /* maps_address_h */ address, out string city);
Beispiel #10
0
 internal static extern ErrorCode SetDistrict(this AddressHandle /* maps_address_h */ address, string district);
Beispiel #11
0
 internal static extern ErrorCode GetStreet(this AddressHandle /* maps_address_h */ address, out string street);
Beispiel #12
0
 internal static extern ErrorCode SetBuildingNumber(this AddressHandle /* maps_address_h */ address, string buildingNumber);