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

            Foreach(handle, callback, IntPtr.Zero).WarnIfFailed("Failed to get place list from native handle");
        }
Beispiel #2
0
 internal static extern ErrorCode GetRelatedLink(this PlaceHandle /* maps_place_h */ place, out IntPtr /* maps_place_link_object_h */ related);
Beispiel #3
0
 internal static extern ErrorCode GetSupplierLink(this PlaceHandle /* maps_place_h */ place, out IntPtr /* maps_place_link_object_h */ supplier);
Beispiel #4
0
 internal static extern ErrorCode GetRating(this PlaceHandle /* maps_place_h */ place, out IntPtr /* maps_place_rating_h */ rating);
Beispiel #5
0
 internal static extern ErrorCode GetAddress(this PlaceHandle /* maps_place_h */ place, out IntPtr /* maps_address_h */ address);
Beispiel #6
0
 internal static extern ErrorCode GetLocation(this PlaceHandle /* maps_place_h */ place, out IntPtr /* maps_coordinates_h */ location);
Beispiel #7
0
 internal static extern ErrorCode GetDistance(this PlaceHandle /* maps_place_h */ place, out int distance);
Beispiel #8
0
 internal static extern ErrorCode GetUri(this PlaceHandle /* maps_place_h */ place, out string uri);
Beispiel #9
0
 internal static extern ErrorCode GetName(this PlaceHandle /* maps_place_h */ place, out string name);
Beispiel #10
0
 internal static extern ErrorCode GetId(this PlaceHandle /* maps_place_h */ place, out string id);