Example #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");
        }
Example #2
0
 internal static extern ErrorCode GetRelatedLink(this PlaceHandle /* maps_place_h */ place, out IntPtr /* maps_place_link_object_h */ related);
Example #3
0
 internal static extern ErrorCode GetSupplierLink(this PlaceHandle /* maps_place_h */ place, out IntPtr /* maps_place_link_object_h */ supplier);
Example #4
0
 internal static extern ErrorCode GetRating(this PlaceHandle /* maps_place_h */ place, out IntPtr /* maps_place_rating_h */ rating);
Example #5
0
 internal static extern ErrorCode GetAddress(this PlaceHandle /* maps_place_h */ place, out IntPtr /* maps_address_h */ address);
Example #6
0
 internal static extern ErrorCode GetLocation(this PlaceHandle /* maps_place_h */ place, out IntPtr /* maps_coordinates_h */ location);
Example #7
0
 internal static extern ErrorCode GetDistance(this PlaceHandle /* maps_place_h */ place, out int distance);
Example #8
0
 internal static extern ErrorCode GetUri(this PlaceHandle /* maps_place_h */ place, out string uri);
Example #9
0
 internal static extern ErrorCode GetName(this PlaceHandle /* maps_place_h */ place, out string name);
Example #10
0
 internal static extern ErrorCode GetId(this PlaceHandle /* maps_place_h */ place, out string id);