internal void ForeachProperty(Action <string, string> action) { PlaceFilterPropertiesCallback callback = (index, total, key, value, userData) => { action(key, Marshal.PtrToStringUni(value)); return(true); }; ForeachProperty(handle, callback, IntPtr.Zero).WarnIfFailed("Failed to get address list from native handle"); }
internal static extern ErrorCode ForeachProperty(IntPtr /* maps_place_filter_h */ filter, PlaceFilterPropertiesCallback callback, IntPtr /* void */ userData);