Merge pull request #250 from SotoiGhost/update/google/maps/3.0.3
[Update] Google Maps and Google Places v3.0.3
This commit is contained in:
Коммит
9c46097742
|
@ -1,4 +1,4 @@
|
||||||
version: 2.7.0.0
|
version: 3.0.3.0
|
||||||
name: Google Maps for iOS
|
name: Google Maps for iOS
|
||||||
id: googleiosmaps
|
id: googleiosmaps
|
||||||
publisher: Xamarin Inc.
|
publisher: Xamarin Inc.
|
||||||
|
@ -15,7 +15,7 @@ libraries:
|
||||||
is_shell: true
|
is_shell: true
|
||||||
packages:
|
packages:
|
||||||
ios-unified:
|
ios-unified:
|
||||||
- Xamarin.Google.iOS.Maps, Version=2.7.0.0
|
- Xamarin.Google.iOS.Maps, Version=3.0.3.0
|
||||||
samples:
|
samples:
|
||||||
- name: Google Maps Sample
|
- name: Google Maps Sample
|
||||||
path: ../samples/GoogleMapsSample/GoogleMapsSample.sln
|
path: ../samples/GoogleMapsSample/GoogleMapsSample.sln
|
||||||
|
|
|
@ -1,8 +1,8 @@
|
||||||
source 'https://github.com/CocoaPods/Specs.git'
|
source 'https://github.com/CocoaPods/Specs.git'
|
||||||
|
|
||||||
platform :ios, '8.0'
|
platform :ios, '9.0'
|
||||||
install! 'cocoapods', :integrate_targets => false
|
install! 'cocoapods', :integrate_targets => false
|
||||||
|
|
||||||
target 'GoogleMaps' do
|
target 'GoogleMaps' do
|
||||||
pod 'GoogleMaps', '2.7.0'
|
pod 'GoogleMaps', '3.0.3'
|
||||||
end
|
end
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
<metadata>
|
<metadata>
|
||||||
<id>Xamarin.Google.iOS.Maps</id>
|
<id>Xamarin.Google.iOS.Maps</id>
|
||||||
<title>Google APIs Maps iOS Library</title>
|
<title>Google APIs Maps iOS Library</title>
|
||||||
<version>2.7.0.0</version>
|
<version>3.0.3.0</version>
|
||||||
<authors>Microsoft</authors>
|
<authors>Microsoft</authors>
|
||||||
<owners>Microsoft</owners>
|
<owners>Microsoft</owners>
|
||||||
<requireLicenseAcceptance>true</requireLicenseAcceptance>
|
<requireLicenseAcceptance>true</requireLicenseAcceptance>
|
||||||
|
|
|
@ -9,7 +9,7 @@
|
||||||
<string>UIInterfaceOrientationLandscapeRight</string>
|
<string>UIInterfaceOrientationLandscapeRight</string>
|
||||||
</array>
|
</array>
|
||||||
<key>MinimumOSVersion</key>
|
<key>MinimumOSVersion</key>
|
||||||
<string>8.0</string>
|
<string>9.0</string>
|
||||||
<key>LSApplicationQueriesSchemes</key>
|
<key>LSApplicationQueriesSchemes</key>
|
||||||
<array>
|
<array>
|
||||||
<string>googlechromes</string>
|
<string>googlechromes</string>
|
||||||
|
|
|
@ -21,7 +21,7 @@
|
||||||
<string>UIInterfaceOrientationLandscapeRight</string>
|
<string>UIInterfaceOrientationLandscapeRight</string>
|
||||||
</array>
|
</array>
|
||||||
<key>MinimumOSVersion</key>
|
<key>MinimumOSVersion</key>
|
||||||
<string>8.0</string>
|
<string>9.0</string>
|
||||||
<key>LSApplicationQueriesSchemes</key>
|
<key>LSApplicationQueriesSchemes</key>
|
||||||
<array>
|
<array>
|
||||||
<string>googlechromes</string>
|
<string>googlechromes</string>
|
||||||
|
|
|
@ -154,6 +154,18 @@ namespace Google.Maps
|
||||||
[Export ("initWithTarget:zoom:bearing:viewingAngle:")]
|
[Export ("initWithTarget:zoom:bearing:viewingAngle:")]
|
||||||
IntPtr Constructor (CLLocationCoordinate2D target, float zoom, double bearing, double viewingAngle);
|
IntPtr Constructor (CLLocationCoordinate2D target, float zoom, double bearing, double viewingAngle);
|
||||||
|
|
||||||
|
// -(instancetype _Nonnull)initWithTarget:(CLLocationCoordinate2D)target zoom:(float)zoom;
|
||||||
|
[Export ("initWithTarget:zoom:")]
|
||||||
|
IntPtr Constructor (CLLocationCoordinate2D target, float zoom);
|
||||||
|
|
||||||
|
// -(instancetype _Nonnull)initWithLatitude:(CLLocationDegrees)latitude longitude:(CLLocationDegrees)longitude zoom:(float)zoom;
|
||||||
|
[Export ("initWithLatitude:longitude:zoom:")]
|
||||||
|
IntPtr Constructor (double latitude, double longitude, float zoom);
|
||||||
|
|
||||||
|
// -(instancetype _Nonnull)initWithLatitude:(CLLocationDegrees)latitude longitude:(CLLocationDegrees)longitude zoom:(float)zoom bearing:(CLLocationDirection)bearing viewingAngle:(double)viewingAngle;
|
||||||
|
[Export ("initWithLatitude:longitude:zoom:bearing:viewingAngle:")]
|
||||||
|
IntPtr Constructor (double latitude, double longitude, float zoom, double bearing, double viewingAngle);
|
||||||
|
|
||||||
[Static, Export ("cameraWithTarget:zoom:")]
|
[Static, Export ("cameraWithTarget:zoom:")]
|
||||||
CameraPosition FromCamera (CLLocationCoordinate2D target, float zoom);
|
CameraPosition FromCamera (CLLocationCoordinate2D target, float zoom);
|
||||||
|
|
||||||
|
@ -620,6 +632,10 @@ namespace Google.Maps
|
||||||
[Export ("cameraTargetBounds", ArgumentSemantic.Strong)]
|
[Export ("cameraTargetBounds", ArgumentSemantic.Strong)]
|
||||||
CoordinateBounds CameraTargetBounds { get; set; }
|
CoordinateBounds CameraTargetBounds { get; set; }
|
||||||
|
|
||||||
|
// -(instancetype _Nonnull)initWithFrame:(CGRect)frame camera:(GMSCameraPosition * _Nonnull)camera;
|
||||||
|
[Export ("initWithFrame:camera:")]
|
||||||
|
IntPtr Constructor (CGRect frame, CameraPosition camera);
|
||||||
|
|
||||||
[Static]
|
[Static]
|
||||||
[Export ("mapWithFrame:camera:")]
|
[Export ("mapWithFrame:camera:")]
|
||||||
MapView FromCamera (CGRect frame, CameraPosition camera);
|
MapView FromCamera (CGRect frame, CameraPosition camera);
|
||||||
|
@ -1146,6 +1162,36 @@ namespace Google.Maps
|
||||||
Polygon FromPath ([NullAllowed] Path path);
|
Polygon FromPath ([NullAllowed] Path path);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// @interface GMSPolygonLayer : GMSOverlayLayer
|
||||||
|
[BaseType (typeof (OverlayLayer), Name = "GMSPolygonLayer")]
|
||||||
|
interface PolygonLayer {
|
||||||
|
// extern NSString *const _Nonnull kGMSPolygonLayerStrokeWidth;
|
||||||
|
[Field ("kGMSPolygonLayerStrokeWidth", "__Internal")]
|
||||||
|
NSString StrokeWidthKey { get; }
|
||||||
|
|
||||||
|
// extern NSString *const _Nonnull kGMSPolygonLayerStrokeColor;
|
||||||
|
[Field ("kGMSPolygonLayerStrokeColor", "__Internal")]
|
||||||
|
NSString StrokeColorKey { get; }
|
||||||
|
|
||||||
|
// extern NSString *const _Nonnull kGMSPolygonLayerFillColor;
|
||||||
|
[Field ("kGMSPolygonLayerFillColor", "__Internal")]
|
||||||
|
NSString FillColorKey { get; }
|
||||||
|
|
||||||
|
// @property (assign, nonatomic) CGFloat strokeWidth;
|
||||||
|
[Export ("strokeWidth")]
|
||||||
|
nfloat StrokeWidth { get; set; }
|
||||||
|
|
||||||
|
// @property (assign, nonatomic) CGColorRef _Nullable strokeColor;
|
||||||
|
[NullAllowed]
|
||||||
|
[Export ("strokeColor", ArgumentSemantic.Assign)]
|
||||||
|
CGColor StrokeColor { get; set; }
|
||||||
|
|
||||||
|
// @property (assign, nonatomic) CGColorRef _Nullable fillColor;
|
||||||
|
[NullAllowed]
|
||||||
|
[Export ("fillColor", ArgumentSemantic.Assign)]
|
||||||
|
CGColor FillColor { get; set; }
|
||||||
|
}
|
||||||
|
|
||||||
[DisableDefaultCtor]
|
[DisableDefaultCtor]
|
||||||
[BaseType (typeof (NSObject), Name = "GMSStrokeStyle")]
|
[BaseType (typeof (NSObject), Name = "GMSStrokeStyle")]
|
||||||
interface StrokeStyle
|
interface StrokeStyle
|
||||||
|
|
|
@ -3,14 +3,14 @@
|
||||||
|
|
||||||
<PropertyGroup>
|
<PropertyGroup>
|
||||||
<_GoogleMapsAssemblyName>Google.Maps, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null</_GoogleMapsAssemblyName>
|
<_GoogleMapsAssemblyName>Google.Maps, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null</_GoogleMapsAssemblyName>
|
||||||
<_GoogleMapsItemsFolder>GMps-2.7.0</_GoogleMapsItemsFolder>
|
<_GoogleMapsItemsFolder>GMps-3.0.3</_GoogleMapsItemsFolder>
|
||||||
<_GoogleMapsSDKBaseFolder>$(XamarinBuildDownloadDir)$(_GoogleMapsItemsFolder)\Maps\Frameworks\</_GoogleMapsSDKBaseFolder>
|
<_GoogleMapsSDKBaseFolder>$(XamarinBuildDownloadDir)$(_GoogleMapsItemsFolder)\Maps\Frameworks\</_GoogleMapsSDKBaseFolder>
|
||||||
<_GoogleMapsBaseSDKBaseFolder>$(XamarinBuildDownloadDir)$(_GoogleMapsItemsFolder)\Base\Frameworks\</_GoogleMapsBaseSDKBaseFolder>
|
<_GoogleMapsBaseSDKBaseFolder>$(XamarinBuildDownloadDir)$(_GoogleMapsItemsFolder)\Base\Frameworks\</_GoogleMapsBaseSDKBaseFolder>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
|
|
||||||
<ItemGroup Condition="('$(OutputType)'!='Library' OR '$(IsAppExtension)'=='True')">
|
<ItemGroup Condition="('$(OutputType)'!='Library' OR '$(IsAppExtension)'=='True')">
|
||||||
<XamarinBuildDownload Include="$(_GoogleMapsItemsFolder)">
|
<XamarinBuildDownload Include="$(_GoogleMapsItemsFolder)">
|
||||||
<Url>https://dl.google.com/dl/cpdc/f4086b0aa122de6c/GoogleMaps-2.7.0.tar.gz</Url>
|
<Url>https://dl.google.com/dl/cpdc/4fb8b2192f32cf7c/GoogleMaps-3.0.3.tar.gz</Url>
|
||||||
<Kind>Tgz</Kind>
|
<Kind>Tgz</Kind>
|
||||||
</XamarinBuildDownload>
|
</XamarinBuildDownload>
|
||||||
<NativeReference Include="$(_GoogleMapsSDKBaseFolder)GoogleMaps.framework">
|
<NativeReference Include="$(_GoogleMapsSDKBaseFolder)GoogleMaps.framework">
|
||||||
|
@ -291,46 +291,6 @@
|
||||||
<LogicalName>__monotouch_content_GoogleMaps.bundle_fGMSCoreResources.bundle_froad__8-2.png</LogicalName>
|
<LogicalName>__monotouch_content_GoogleMaps.bundle_fGMSCoreResources.bundle_froad__8-2.png</LogicalName>
|
||||||
<AssemblyName>$(_GoogleMapsAssemblyName)</AssemblyName>
|
<AssemblyName>$(_GoogleMapsAssemblyName)</AssemblyName>
|
||||||
</RestoreAssemblyResource>
|
</RestoreAssemblyResource>
|
||||||
<RestoreAssemblyResource Include="$(_GoogleMapsSDKBaseFolder)GoogleMaps.framework\Resources\GoogleMaps.bundle\GMSCoreResources.bundle\traffic_endcap.png">
|
|
||||||
<LogicalName>__monotouch_content_GoogleMaps.bundle_fGMSCoreResources.bundle_ftraffic__endcap.png</LogicalName>
|
|
||||||
<AssemblyName>$(_GoogleMapsAssemblyName)</AssemblyName>
|
|
||||||
</RestoreAssemblyResource>
|
|
||||||
<RestoreAssemblyResource Include="$(_GoogleMapsSDKBaseFolder)GoogleMaps.framework\Resources\GoogleMaps.bundle\GMSCoreResources.bundle\traffic_fast_night.png">
|
|
||||||
<LogicalName>__monotouch_content_GoogleMaps.bundle_fGMSCoreResources.bundle_ftraffic__fast__night.png</LogicalName>
|
|
||||||
<AssemblyName>$(_GoogleMapsAssemblyName)</AssemblyName>
|
|
||||||
</RestoreAssemblyResource>
|
|
||||||
<RestoreAssemblyResource Include="$(_GoogleMapsSDKBaseFolder)GoogleMaps.framework\Resources\GoogleMaps.bundle\GMSCoreResources.bundle\traffic_fast.png">
|
|
||||||
<LogicalName>__monotouch_content_GoogleMaps.bundle_fGMSCoreResources.bundle_ftraffic__fast.png</LogicalName>
|
|
||||||
<AssemblyName>$(_GoogleMapsAssemblyName)</AssemblyName>
|
|
||||||
</RestoreAssemblyResource>
|
|
||||||
<RestoreAssemblyResource Include="$(_GoogleMapsSDKBaseFolder)GoogleMaps.framework\Resources\GoogleMaps.bundle\GMSCoreResources.bundle\traffic_slow_night.png">
|
|
||||||
<LogicalName>__monotouch_content_GoogleMaps.bundle_fGMSCoreResources.bundle_ftraffic__slow__night.png</LogicalName>
|
|
||||||
<AssemblyName>$(_GoogleMapsAssemblyName)</AssemblyName>
|
|
||||||
</RestoreAssemblyResource>
|
|
||||||
<RestoreAssemblyResource Include="$(_GoogleMapsSDKBaseFolder)GoogleMaps.framework\Resources\GoogleMaps.bundle\GMSCoreResources.bundle\traffic_slow.png">
|
|
||||||
<LogicalName>__monotouch_content_GoogleMaps.bundle_fGMSCoreResources.bundle_ftraffic__slow.png</LogicalName>
|
|
||||||
<AssemblyName>$(_GoogleMapsAssemblyName)</AssemblyName>
|
|
||||||
</RestoreAssemblyResource>
|
|
||||||
<RestoreAssemblyResource Include="$(_GoogleMapsSDKBaseFolder)GoogleMaps.framework\Resources\GoogleMaps.bundle\GMSCoreResources.bundle\traffic_startcap.png">
|
|
||||||
<LogicalName>__monotouch_content_GoogleMaps.bundle_fGMSCoreResources.bundle_ftraffic__startcap.png</LogicalName>
|
|
||||||
<AssemblyName>$(_GoogleMapsAssemblyName)</AssemblyName>
|
|
||||||
</RestoreAssemblyResource>
|
|
||||||
<RestoreAssemblyResource Include="$(_GoogleMapsSDKBaseFolder)GoogleMaps.framework\Resources\GoogleMaps.bundle\GMSCoreResources.bundle\traffic_stop_and_go_night.png">
|
|
||||||
<LogicalName>__monotouch_content_GoogleMaps.bundle_fGMSCoreResources.bundle_ftraffic__stop__and__go__night.png</LogicalName>
|
|
||||||
<AssemblyName>$(_GoogleMapsAssemblyName)</AssemblyName>
|
|
||||||
</RestoreAssemblyResource>
|
|
||||||
<RestoreAssemblyResource Include="$(_GoogleMapsSDKBaseFolder)GoogleMaps.framework\Resources\GoogleMaps.bundle\GMSCoreResources.bundle\traffic_stop_and_go.png">
|
|
||||||
<LogicalName>__monotouch_content_GoogleMaps.bundle_fGMSCoreResources.bundle_ftraffic__stop__and__go.png</LogicalName>
|
|
||||||
<AssemblyName>$(_GoogleMapsAssemblyName)</AssemblyName>
|
|
||||||
</RestoreAssemblyResource>
|
|
||||||
<RestoreAssemblyResource Include="$(_GoogleMapsSDKBaseFolder)GoogleMaps.framework\Resources\GoogleMaps.bundle\GMSCoreResources.bundle\traffic_stopped_night.png">
|
|
||||||
<LogicalName>__monotouch_content_GoogleMaps.bundle_fGMSCoreResources.bundle_ftraffic__stopped__night.png</LogicalName>
|
|
||||||
<AssemblyName>$(_GoogleMapsAssemblyName)</AssemblyName>
|
|
||||||
</RestoreAssemblyResource>
|
|
||||||
<RestoreAssemblyResource Include="$(_GoogleMapsSDKBaseFolder)GoogleMaps.framework\Resources\GoogleMaps.bundle\GMSCoreResources.bundle\traffic_stopped.png">
|
|
||||||
<LogicalName>__monotouch_content_GoogleMaps.bundle_fGMSCoreResources.bundle_ftraffic__stopped.png</LogicalName>
|
|
||||||
<AssemblyName>$(_GoogleMapsAssemblyName)</AssemblyName>
|
|
||||||
</RestoreAssemblyResource>
|
|
||||||
<RestoreAssemblyResource Include="$(_GoogleMapsSDKBaseFolder)GoogleMaps.framework\Resources\GoogleMaps.bundle\GMSCoreResources.bundle\ar.lproj\GMSCore.strings">
|
<RestoreAssemblyResource Include="$(_GoogleMapsSDKBaseFolder)GoogleMaps.framework\Resources\GoogleMaps.bundle\GMSCoreResources.bundle\ar.lproj\GMSCore.strings">
|
||||||
<LogicalName>__monotouch_content_GoogleMaps.bundle_fGMSCoreResources.bundle_far.lproj_fGMSCore.strings</LogicalName>
|
<LogicalName>__monotouch_content_GoogleMaps.bundle_fGMSCoreResources.bundle_far.lproj_fGMSCore.strings</LogicalName>
|
||||||
<AssemblyName>$(_GoogleMapsAssemblyName)</AssemblyName>
|
<AssemblyName>$(_GoogleMapsAssemblyName)</AssemblyName>
|
||||||
|
|
|
@ -26,7 +26,7 @@ using Foundation;
|
||||||
// and "{Major}.{Minor}.{Build}.*" will update just the revision.
|
// and "{Major}.{Minor}.{Build}.*" will update just the revision.
|
||||||
|
|
||||||
[assembly: AssemblyVersion ("1.0.0.0")]
|
[assembly: AssemblyVersion ("1.0.0.0")]
|
||||||
[assembly: AssemblyFileVersion("2.7.0.0")]
|
[assembly: AssemblyFileVersion("3.0.3.0")]
|
||||||
|
|
||||||
// The following attributes are used to specify the signing key for the assembly,
|
// The following attributes are used to specify the signing key for the assembly,
|
||||||
// if desired. See the Mono documentation for more information about signing.
|
// if desired. See the Mono documentation for more information about signing.
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
version: 2.7.0.0
|
version: 3.0.3.0
|
||||||
name: Google Places for iOS
|
name: Google Places for iOS
|
||||||
id: googleiosplaces
|
id: googleiosplaces
|
||||||
publisher: Xamarin Inc.
|
publisher: Xamarin Inc.
|
||||||
|
@ -15,7 +15,7 @@ libraries:
|
||||||
is_shell: true
|
is_shell: true
|
||||||
packages:
|
packages:
|
||||||
ios-unified:
|
ios-unified:
|
||||||
- Xamarin.Google.iOS.Places, Version=2.7.0.0
|
- Xamarin.Google.iOS.Places, Version=3.0.3.0
|
||||||
samples:
|
samples:
|
||||||
- name: Google Places Sample
|
- name: Google Places Sample
|
||||||
path: ../samples/GooglePlacesSample/GooglePlacesSample.sln
|
path: ../samples/GooglePlacesSample/GooglePlacesSample.sln
|
||||||
|
|
|
@ -1,9 +1,8 @@
|
||||||
source 'https://github.com/CocoaPods/Specs.git'
|
source 'https://github.com/CocoaPods/Specs.git'
|
||||||
|
|
||||||
platform :ios, '8.0'
|
platform :ios, '9.0'
|
||||||
install! 'cocoapods', :integrate_targets => false
|
install! 'cocoapods', :integrate_targets => false
|
||||||
|
|
||||||
target 'GoogleMaps' do
|
target 'GoogleMaps' do
|
||||||
pod 'GooglePlaces', '2.7.0'
|
pod 'GooglePlaces', '3.0.3'
|
||||||
pod 'GooglePlacePicker', '2.7.0'
|
|
||||||
end
|
end
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
<metadata>
|
<metadata>
|
||||||
<id>Xamarin.Google.iOS.Places</id>
|
<id>Xamarin.Google.iOS.Places</id>
|
||||||
<title>Google APIs Places iOS Library</title>
|
<title>Google APIs Places iOS Library</title>
|
||||||
<version>2.7.0.0</version>
|
<version>3.0.3.0</version>
|
||||||
<authors>Microsoft</authors>
|
<authors>Microsoft</authors>
|
||||||
<owners>Microsoft</owners>
|
<owners>Microsoft</owners>
|
||||||
<requireLicenseAcceptance>true</requireLicenseAcceptance>
|
<requireLicenseAcceptance>true</requireLicenseAcceptance>
|
||||||
|
@ -14,7 +14,7 @@
|
||||||
<iconUrl>https://raw.githubusercontent.com/xamarin/GoogleApisForiOSComponents/master/icons/googleiosplaces_128x128.png</iconUrl>
|
<iconUrl>https://raw.githubusercontent.com/xamarin/GoogleApisForiOSComponents/master/icons/googleiosplaces_128x128.png</iconUrl>
|
||||||
<dependencies>
|
<dependencies>
|
||||||
<group targetFramework="Xamarin.iOS10">
|
<group targetFramework="Xamarin.iOS10">
|
||||||
<dependency id="Xamarin.Google.iOS.Maps" version="2.7.0.0" />
|
<dependency id="Xamarin.Google.iOS.Maps" version="3.0.3.0" />
|
||||||
<dependency id="Xamarin.Build.Download" version="0.4.11" />
|
<dependency id="Xamarin.Build.Download" version="0.4.11" />
|
||||||
</group>
|
</group>
|
||||||
</dependencies>
|
</dependencies>
|
||||||
|
|
|
@ -115,14 +115,6 @@
|
||||||
<Compile Include="Samples\UISearchAutocompleteViewController.designer.cs">
|
<Compile Include="Samples\UISearchAutocompleteViewController.designer.cs">
|
||||||
<DependentUpon>UISearchAutocompleteViewController.cs</DependentUpon>
|
<DependentUpon>UISearchAutocompleteViewController.cs</DependentUpon>
|
||||||
</Compile>
|
</Compile>
|
||||||
<Compile Include="Samples\PhotosViewController.cs" />
|
|
||||||
<Compile Include="Samples\PhotosViewController.designer.cs">
|
|
||||||
<DependentUpon>PhotosViewController.cs</DependentUpon>
|
|
||||||
</Compile>
|
|
||||||
<Compile Include="Samples\MyPlacePickerViewController.cs" />
|
|
||||||
<Compile Include="Samples\MyPlacePickerViewController.designer.cs">
|
|
||||||
<DependentUpon>MyPlacePickerViewController.cs</DependentUpon>
|
|
||||||
</Compile>
|
|
||||||
<Compile Include="MenuTableViewController.cs" />
|
<Compile Include="MenuTableViewController.cs" />
|
||||||
<Compile Include="MenuTableViewController.designer.cs">
|
<Compile Include="MenuTableViewController.designer.cs">
|
||||||
<DependentUpon>MenuTableViewController.cs</DependentUpon>
|
<DependentUpon>MenuTableViewController.cs</DependentUpon>
|
||||||
|
|
|
@ -13,7 +13,7 @@
|
||||||
<key>LSRequiresIPhoneOS</key>
|
<key>LSRequiresIPhoneOS</key>
|
||||||
<true/>
|
<true/>
|
||||||
<key>MinimumOSVersion</key>
|
<key>MinimumOSVersion</key>
|
||||||
<string>8.0</string>
|
<string>9.0</string>
|
||||||
<key>UIDeviceFamily</key>
|
<key>UIDeviceFamily</key>
|
||||||
<array>
|
<array>
|
||||||
<integer>1</integer>
|
<integer>1</integer>
|
||||||
|
|
|
@ -27,16 +27,6 @@ namespace GooglePlacesSample
|
||||||
ColorTheme = ColorTheme.Default
|
ColorTheme = ColorTheme.Default
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
new [] {
|
|
||||||
new SampleInformation {
|
|
||||||
StoryboardId = nameof (PhotosViewController),
|
|
||||||
Title = "Photos"
|
|
||||||
},
|
|
||||||
new SampleInformation {
|
|
||||||
StoryboardId = nameof (MyPlacePickerViewController),
|
|
||||||
Title = "Place Picker Sample"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
new [] {
|
new [] {
|
||||||
new SampleInformation {
|
new SampleInformation {
|
||||||
StoryboardId = nameof (GoogleOpenSourceViewController),
|
StoryboardId = nameof (GoogleOpenSourceViewController),
|
||||||
|
|
|
@ -1,80 +0,0 @@
|
||||||
using System;
|
|
||||||
|
|
||||||
using UIKit;
|
|
||||||
using Google.Places.Picker;
|
|
||||||
using Foundation;
|
|
||||||
using Google.Places;
|
|
||||||
|
|
||||||
namespace GooglePlacesSample
|
|
||||||
{
|
|
||||||
public partial class MyPlacePickerViewController : UIViewController, IPlacePickerViewControllerDelegate
|
|
||||||
{
|
|
||||||
#region Fields
|
|
||||||
|
|
||||||
PlacePickerViewController placePickerViewController;
|
|
||||||
|
|
||||||
#endregion
|
|
||||||
|
|
||||||
#region Constructors
|
|
||||||
|
|
||||||
public MyPlacePickerViewController (IntPtr handle) : base (handle)
|
|
||||||
{
|
|
||||||
}
|
|
||||||
|
|
||||||
#endregion
|
|
||||||
|
|
||||||
#region Controller Life Cycle
|
|
||||||
|
|
||||||
public override void ViewDidLoad ()
|
|
||||||
{
|
|
||||||
base.ViewDidLoad ();
|
|
||||||
// Perform any additional setup after loading the view, typically from a nib.
|
|
||||||
|
|
||||||
var config = new PlacePickerConfig (null);
|
|
||||||
placePickerViewController = new PlacePickerViewController (config) { Delegate = this };
|
|
||||||
}
|
|
||||||
|
|
||||||
#endregion
|
|
||||||
|
|
||||||
#region User Interactions
|
|
||||||
|
|
||||||
partial void BtnPopover_TouchUpInside (UIButton sender)
|
|
||||||
{
|
|
||||||
placePickerViewController.ModalPresentationStyle = UIModalPresentationStyle.Popover;
|
|
||||||
PresentViewController (placePickerViewController, true, null);
|
|
||||||
|
|
||||||
var presentationController = placePickerViewController.PopoverPresentationController;
|
|
||||||
presentationController.SourceView = sender;
|
|
||||||
presentationController.SourceRect = sender.Bounds;
|
|
||||||
}
|
|
||||||
|
|
||||||
partial void BtnNavigation_TouchUpInside (UIButton sender) => NavigationController.PushViewController (placePickerViewController, true);
|
|
||||||
|
|
||||||
partial void BtnModel_TouchUpInside (UIButton sender)
|
|
||||||
{
|
|
||||||
placePickerViewController.ModalPresentationStyle = UIModalPresentationStyle.FullScreen;
|
|
||||||
PresentViewController (placePickerViewController, true, null);
|
|
||||||
}
|
|
||||||
|
|
||||||
#endregion
|
|
||||||
|
|
||||||
#region PlacePickerViewController Delegate
|
|
||||||
|
|
||||||
public void DidPickPlace (PlacePickerViewController viewController, Place place)
|
|
||||||
{
|
|
||||||
if (viewController.NavigationController == NavigationController)
|
|
||||||
NavigationController.PopViewController (true);
|
|
||||||
else
|
|
||||||
DismissViewController (true, null);
|
|
||||||
}
|
|
||||||
|
|
||||||
[Export ("placePickerDidCancel:")]
|
|
||||||
void DidCancel (PlacePickerViewController viewController)
|
|
||||||
{
|
|
||||||
DismissViewController (true, null);
|
|
||||||
}
|
|
||||||
|
|
||||||
#endregion
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
|
@ -1,41 +0,0 @@
|
||||||
// WARNING
|
|
||||||
//
|
|
||||||
// This file has been generated automatically by Visual Studio from the outlets and
|
|
||||||
// actions declared in your storyboard file.
|
|
||||||
// Manual changes to this file will not be maintained.
|
|
||||||
//
|
|
||||||
using Foundation;
|
|
||||||
using System;
|
|
||||||
using System.CodeDom.Compiler;
|
|
||||||
using UIKit;
|
|
||||||
|
|
||||||
namespace GooglePlacesSample
|
|
||||||
{
|
|
||||||
[Register ("MyPlacePickerViewController")]
|
|
||||||
partial class MyPlacePickerViewController
|
|
||||||
{
|
|
||||||
[Outlet]
|
|
||||||
[GeneratedCode ("iOS Designer", "1.0")]
|
|
||||||
UIKit.UIButton BtnPopover { get; set; }
|
|
||||||
|
|
||||||
[Action ("BtnModel_TouchUpInside:")]
|
|
||||||
[GeneratedCode ("iOS Designer", "1.0")]
|
|
||||||
partial void BtnModel_TouchUpInside (UIKit.UIButton sender);
|
|
||||||
|
|
||||||
[Action ("BtnNavigation_TouchUpInside:")]
|
|
||||||
[GeneratedCode ("iOS Designer", "1.0")]
|
|
||||||
partial void BtnNavigation_TouchUpInside (UIKit.UIButton sender);
|
|
||||||
|
|
||||||
[Action ("BtnPopover_TouchUpInside:")]
|
|
||||||
[GeneratedCode ("iOS Designer", "1.0")]
|
|
||||||
partial void BtnPopover_TouchUpInside (UIKit.UIButton sender);
|
|
||||||
|
|
||||||
void ReleaseDesignerOutlets ()
|
|
||||||
{
|
|
||||||
if (BtnPopover != null) {
|
|
||||||
BtnPopover.Dispose ();
|
|
||||||
BtnPopover = null;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
|
@ -1,149 +0,0 @@
|
||||||
using System;
|
|
||||||
|
|
||||||
using UIKit;
|
|
||||||
using Google.Places.Picker;
|
|
||||||
using Google.Places;
|
|
||||||
using Foundation;
|
|
||||||
using CoreGraphics;
|
|
||||||
using System.Threading;
|
|
||||||
using System.Threading.Tasks;
|
|
||||||
|
|
||||||
namespace GooglePlacesSample
|
|
||||||
{
|
|
||||||
public partial class PhotosViewController : UIViewController, IUICollectionViewSource, IUICollectionViewDelegateFlowLayout, IPlacePickerViewControllerDelegate
|
|
||||||
{
|
|
||||||
#region Fields
|
|
||||||
|
|
||||||
PlacePickerViewController placePickerViewController;
|
|
||||||
PlacesClient placesClient;
|
|
||||||
PlacePhotoMetadata [] photosMetadata;
|
|
||||||
|
|
||||||
#endregion
|
|
||||||
|
|
||||||
#region Constructors
|
|
||||||
|
|
||||||
public PhotosViewController (IntPtr handle) : base (handle)
|
|
||||||
{
|
|
||||||
}
|
|
||||||
|
|
||||||
#endregion
|
|
||||||
|
|
||||||
#region Controller Life Cycle
|
|
||||||
|
|
||||||
public override void ViewDidLoad ()
|
|
||||||
{
|
|
||||||
base.ViewDidLoad ();
|
|
||||||
// Perform any additional setup after loading the view, typically from a nib.
|
|
||||||
|
|
||||||
var config = new PlacePickerConfig (null);
|
|
||||||
placePickerViewController = new PlacePickerViewController (config) {
|
|
||||||
Delegate = this,
|
|
||||||
ModalPresentationStyle = UIModalPresentationStyle.Popover
|
|
||||||
};
|
|
||||||
placesClient = PlacesClient.SharedInstance;
|
|
||||||
photosMetadata = new PlacePhotoMetadata [0];
|
|
||||||
}
|
|
||||||
|
|
||||||
public override void ViewWillLayoutSubviews ()
|
|
||||||
{
|
|
||||||
PhotosCollectionView.CollectionViewLayout.InvalidateLayout ();
|
|
||||||
}
|
|
||||||
|
|
||||||
#endregion
|
|
||||||
|
|
||||||
#region User Interactions
|
|
||||||
|
|
||||||
partial void BtnSelect_Tapped (UIBarButtonItem sender)
|
|
||||||
{
|
|
||||||
placePickerViewController.PopoverPresentationController.BarButtonItem = NavigationItem.RightBarButtonItem;
|
|
||||||
PresentViewController (placePickerViewController, true, null);
|
|
||||||
}
|
|
||||||
|
|
||||||
#endregion
|
|
||||||
|
|
||||||
#region CollectionView Data Source
|
|
||||||
|
|
||||||
[Export ("numberOfSectionsInCollectionView:")]
|
|
||||||
public nint NumberOfSections (UICollectionView collectionView) => 1;
|
|
||||||
public nint GetItemsCount (UICollectionView collectionView, nint section) => photosMetadata.Length;
|
|
||||||
|
|
||||||
public UICollectionViewCell GetCell (UICollectionView collectionView, NSIndexPath indexPath)
|
|
||||||
{
|
|
||||||
var photoMetadata = photosMetadata [indexPath.Row];
|
|
||||||
var cell = collectionView.DequeueReusableCell (PhotoCollectionViewCell.Key, indexPath) as PhotoCollectionViewCell;
|
|
||||||
cell.PlaceImage = UIImage.FromFile ("thumbnail.png");
|
|
||||||
|
|
||||||
if (cell.CancellationTokenSource != null &&
|
|
||||||
!cell.CancellationTokenSource.IsCancellationRequested)
|
|
||||||
cell.CancellationTokenSource.Cancel ();
|
|
||||||
|
|
||||||
var cancellationTokenSource = new CancellationTokenSource ();
|
|
||||||
cell.CancellationTokenSource = cancellationTokenSource;
|
|
||||||
cell.PlaceName = photoMetadata.Attributions;
|
|
||||||
|
|
||||||
var cancellationToken = cancellationTokenSource.Token;
|
|
||||||
|
|
||||||
DownloadPlacePhoto (cell, photoMetadata, cancellationToken);
|
|
||||||
|
|
||||||
return cell;
|
|
||||||
}
|
|
||||||
|
|
||||||
#endregion
|
|
||||||
|
|
||||||
#region PlacePickerViewController Delegate
|
|
||||||
|
|
||||||
public void DidPickPlace (PlacePickerViewController viewController, Place place)
|
|
||||||
{
|
|
||||||
DismissViewController (true, null);
|
|
||||||
placesClient.LookUpPhotos (place.Id, LookUpPhotosResult);
|
|
||||||
|
|
||||||
void LookUpPhotosResult (PlacePhotoMetadataList photos, NSError error)
|
|
||||||
{
|
|
||||||
if (error != null) {
|
|
||||||
AppDelegate.ShowMessage ("Error", error.LocalizedDescription, NavigationController);
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
|
|
||||||
photosMetadata = photos.Results;
|
|
||||||
PhotosCollectionView.ReloadData ();
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
#endregion
|
|
||||||
|
|
||||||
#region CollectionView Delegate Flow Layout
|
|
||||||
|
|
||||||
[Export ("collectionView:layout:sizeForItemAtIndexPath:")]
|
|
||||||
public CGSize GetSizeForItem (UICollectionView collectionView, UICollectionViewLayout layout, NSIndexPath indexPath)
|
|
||||||
{
|
|
||||||
return new CGSize (collectionView.Bounds.Width, collectionView.Bounds.Height);
|
|
||||||
}
|
|
||||||
|
|
||||||
#endregion
|
|
||||||
|
|
||||||
#region Internal Functionality
|
|
||||||
|
|
||||||
void DownloadPlacePhoto (PhotoCollectionViewCell cell, PlacePhotoMetadata photoMetadata, CancellationToken cancellationToken)
|
|
||||||
{
|
|
||||||
cell.StartActivity ();
|
|
||||||
Task.Factory.StartNew (() => placesClient.LoadPlacePhoto (photoMetadata, AssignPhoto), cancellationToken);
|
|
||||||
|
|
||||||
void AssignPhoto (UIImage photo, NSError error)
|
|
||||||
{
|
|
||||||
try {
|
|
||||||
cancellationToken.ThrowIfCancellationRequested ();
|
|
||||||
cell.PlaceImage = photo;
|
|
||||||
} catch (OperationCanceledException ex) {
|
|
||||||
Console.WriteLine ($"Get Thumbnail cancelled: {ex.Message}");
|
|
||||||
} catch (Exception ex) {
|
|
||||||
Console.WriteLine (ex.Message);
|
|
||||||
} finally {
|
|
||||||
cell.StopActivity ();
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
#endregion
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
|
@ -1,42 +0,0 @@
|
||||||
// WARNING
|
|
||||||
//
|
|
||||||
// This file has been generated automatically by Visual Studio from the outlets and
|
|
||||||
// actions declared in your storyboard file.
|
|
||||||
// Manual changes to this file will not be maintained.
|
|
||||||
//
|
|
||||||
using Foundation;
|
|
||||||
using System;
|
|
||||||
using System.CodeDom.Compiler;
|
|
||||||
using UIKit;
|
|
||||||
|
|
||||||
namespace GooglePlacesSample
|
|
||||||
{
|
|
||||||
[Register ("PhotosViewController")]
|
|
||||||
partial class PhotosViewController
|
|
||||||
{
|
|
||||||
[Outlet]
|
|
||||||
[GeneratedCode ("iOS Designer", "1.0")]
|
|
||||||
UIKit.UIBarButtonItem BtnSelect { get; set; }
|
|
||||||
|
|
||||||
[Outlet]
|
|
||||||
[GeneratedCode ("iOS Designer", "1.0")]
|
|
||||||
UIKit.UICollectionView PhotosCollectionView { get; set; }
|
|
||||||
|
|
||||||
[Action ("BtnSelect_Tapped:")]
|
|
||||||
[GeneratedCode ("iOS Designer", "1.0")]
|
|
||||||
partial void BtnSelect_Tapped (UIKit.UIBarButtonItem sender);
|
|
||||||
|
|
||||||
void ReleaseDesignerOutlets ()
|
|
||||||
{
|
|
||||||
if (BtnSelect != null) {
|
|
||||||
BtnSelect.Dispose ();
|
|
||||||
BtnSelect = null;
|
|
||||||
}
|
|
||||||
|
|
||||||
if (PhotosCollectionView != null) {
|
|
||||||
PhotosCollectionView.Dispose ();
|
|
||||||
PhotosCollectionView = null;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
|
@ -21,6 +21,10 @@ namespace Google.Places
|
||||||
// @property(nonatomic, readonly, copy) NSString *name;
|
// @property(nonatomic, readonly, copy) NSString *name;
|
||||||
[Export ("name")]
|
[Export ("name")]
|
||||||
string Name { get; }
|
string Name { get; }
|
||||||
|
|
||||||
|
// @property (readonly, copy, nonatomic) NSString * _Nullable shortName;
|
||||||
|
[NullAllowed, Export ("shortName")]
|
||||||
|
string ShortName { get; }
|
||||||
}
|
}
|
||||||
|
|
||||||
interface IAutocompleteFetcherDelegate
|
interface IAutocompleteFetcherDelegate
|
||||||
|
@ -71,6 +75,10 @@ namespace Google.Places
|
||||||
[Export ("autocompleteFilter", ArgumentSemantic.Strong)]
|
[Export ("autocompleteFilter", ArgumentSemantic.Strong)]
|
||||||
AutocompleteFilter AutocompleteFilter { get; set; }
|
AutocompleteFilter AutocompleteFilter { get; set; }
|
||||||
|
|
||||||
|
// -(void)provideSessionToken:(GMSAutocompleteSessionToken * _Nonnull)sessionToken;
|
||||||
|
[Export ("provideSessionToken:")]
|
||||||
|
void ProvideSessionToken (AutocompleteSessionToken sessionToken);
|
||||||
|
|
||||||
// - (void)sourceTextHasChanged:(NSString *)text;
|
// - (void)sourceTextHasChanged:(NSString *)text;
|
||||||
[Export ("sourceTextHasChanged:")]
|
[Export ("sourceTextHasChanged:")]
|
||||||
void SourceTextHasChanged ([NullAllowed] string text);
|
void SourceTextHasChanged ([NullAllowed] string text);
|
||||||
|
@ -228,6 +236,15 @@ namespace Google.Places
|
||||||
[NullAllowed]
|
[NullAllowed]
|
||||||
[Export ("tintColor", ArgumentSemantic.Strong)]
|
[Export ("tintColor", ArgumentSemantic.Strong)]
|
||||||
UIColor TintColor { get; set; }
|
UIColor TintColor { get; set; }
|
||||||
|
|
||||||
|
// @property (assign, nonatomic) GMSPlaceField placeFields;
|
||||||
|
[Export ("placeFields", ArgumentSemantic.Assign)]
|
||||||
|
PlaceField PlaceFields { get; set; }
|
||||||
|
}
|
||||||
|
|
||||||
|
// @interface GMSAutocompleteSessionToken : NSObject
|
||||||
|
[BaseType (typeof (NSObject), Name = "GMSAutocompleteSessionToken")]
|
||||||
|
interface AutocompleteSessionToken {
|
||||||
}
|
}
|
||||||
|
|
||||||
interface IAutocompleteTableDataSourceDelegate
|
interface IAutocompleteTableDataSourceDelegate
|
||||||
|
@ -323,9 +340,17 @@ namespace Google.Places
|
||||||
[Export ("tintColor", ArgumentSemantic.Strong)]
|
[Export ("tintColor", ArgumentSemantic.Strong)]
|
||||||
UIColor TintColor { get; set; }
|
UIColor TintColor { get; set; }
|
||||||
|
|
||||||
|
// @property (assign, nonatomic) GMSPlaceField placeFields;
|
||||||
|
[Export ("placeFields", ArgumentSemantic.Assign)]
|
||||||
|
PlaceField PlaceFields { get; set; }
|
||||||
|
|
||||||
// - (void)sourceTextHasChanged:(NSString *)text;
|
// - (void)sourceTextHasChanged:(NSString *)text;
|
||||||
[Export ("sourceTextHasChanged:")]
|
[Export ("sourceTextHasChanged:")]
|
||||||
void SourceTextHasChanged ([NullAllowed] string text);
|
void SourceTextHasChanged ([NullAllowed] string text);
|
||||||
|
|
||||||
|
// -(void)clearResults;
|
||||||
|
[Export ("clearResults")]
|
||||||
|
void ClearResults ();
|
||||||
}
|
}
|
||||||
|
|
||||||
interface IAutocompleteViewControllerDelegate
|
interface IAutocompleteViewControllerDelegate
|
||||||
|
@ -426,6 +451,61 @@ namespace Google.Places
|
||||||
[NullAllowed]
|
[NullAllowed]
|
||||||
[Export ("tintColor", ArgumentSemantic.Strong)]
|
[Export ("tintColor", ArgumentSemantic.Strong)]
|
||||||
UIColor TintColor { get; set; }
|
UIColor TintColor { get; set; }
|
||||||
|
|
||||||
|
// @property (assign, nonatomic) GMSPlaceField placeFields;
|
||||||
|
[Export ("placeFields", ArgumentSemantic.Assign)]
|
||||||
|
PlaceField PlaceFields { get; set; }
|
||||||
|
}
|
||||||
|
|
||||||
|
// @interface GMSTime : NSObject
|
||||||
|
[BaseType (typeof (NSObject), Name = "GMSTime")]
|
||||||
|
interface Time {
|
||||||
|
// @property (readonly, assign, nonatomic) NSUInteger hour;
|
||||||
|
[Export ("hour")]
|
||||||
|
nuint Hour { get; }
|
||||||
|
|
||||||
|
// @property (readonly, assign, nonatomic) NSUInteger minute;
|
||||||
|
[Export ("minute")]
|
||||||
|
nuint Minute { get; }
|
||||||
|
}
|
||||||
|
|
||||||
|
// @interface GMSEvent : NSObject
|
||||||
|
[BaseType (typeof (NSObject), Name = "GMSEvent")]
|
||||||
|
interface Event {
|
||||||
|
// @property (readonly, assign, nonatomic) GMSDayOfWeek day;
|
||||||
|
[Export ("day", ArgumentSemantic.Assign)]
|
||||||
|
DayOfWeek Day { get; }
|
||||||
|
|
||||||
|
// @property (readonly, nonatomic, strong) GMSTime * _Nonnull time;
|
||||||
|
[Export ("time", ArgumentSemantic.Strong)]
|
||||||
|
Time Time { get; }
|
||||||
|
}
|
||||||
|
|
||||||
|
// @interface GMSPeriod : NSObject
|
||||||
|
[BaseType (typeof (NSObject), Name = "GMSPeriod")]
|
||||||
|
interface Period {
|
||||||
|
// @property (readonly, nonatomic, strong) GMSEvent * _Nonnull openEvent;
|
||||||
|
[Export ("openEvent", ArgumentSemantic.Strong)]
|
||||||
|
Event OpenEvent { get; }
|
||||||
|
|
||||||
|
// @property (readonly, nonatomic, strong) GMSEvent * _Nullable closeEvent;
|
||||||
|
[NullAllowed]
|
||||||
|
[Export ("closeEvent", ArgumentSemantic.Strong)]
|
||||||
|
Event CloseEvent { get; }
|
||||||
|
}
|
||||||
|
|
||||||
|
// @interface GMSOpeningHours : NSObject
|
||||||
|
[BaseType (typeof (NSObject), Name = "GMSOpeningHours")]
|
||||||
|
interface OpeningHours {
|
||||||
|
// @property (readonly, nonatomic, strong) NSArray<GMSPeriod *> * _Nullable periods;
|
||||||
|
[NullAllowed]
|
||||||
|
[Export ("periods", ArgumentSemantic.Strong)]
|
||||||
|
Period [] Periods { get; }
|
||||||
|
|
||||||
|
// @property (readonly, nonatomic, strong) NSArray<NSString *> * _Nullable weekdayText;
|
||||||
|
[NullAllowed]
|
||||||
|
[Export ("weekdayText", ArgumentSemantic.Strong)]
|
||||||
|
string [] WeekdayText { get; }
|
||||||
}
|
}
|
||||||
|
|
||||||
// @interface GMSPlace : NSObject
|
// @interface GMSPlace : NSObject
|
||||||
|
@ -446,6 +526,7 @@ namespace Google.Places
|
||||||
CLLocationCoordinate2D Coordinate { get; }
|
CLLocationCoordinate2D Coordinate { get; }
|
||||||
|
|
||||||
// @property (readonly, nonatomic) GMSPlacesOpenNowStatus openNowStatus;
|
// @property (readonly, nonatomic) GMSPlacesOpenNowStatus openNowStatus;
|
||||||
|
[Obsolete ("This property is currently not supported and should not be used.")]
|
||||||
[Export ("openNowStatus", ArgumentSemantic.Assign)]
|
[Export ("openNowStatus", ArgumentSemantic.Assign)]
|
||||||
PlacesOpenNowStatus OpenNowStatus { get; }
|
PlacesOpenNowStatus OpenNowStatus { get; }
|
||||||
|
|
||||||
|
@ -469,7 +550,6 @@ namespace Google.Places
|
||||||
|
|
||||||
// @property (readonly, copy, nonatomic) NSArray * types;
|
// @property (readonly, copy, nonatomic) NSArray * types;
|
||||||
[BindAs (typeof (PlaceType []))]
|
[BindAs (typeof (PlaceType []))]
|
||||||
[NullAllowed]
|
|
||||||
[Export ("types", ArgumentSemantic.Copy)]
|
[Export ("types", ArgumentSemantic.Copy)]
|
||||||
NSString [] Types { get; }
|
NSString [] Types { get; }
|
||||||
|
|
||||||
|
@ -492,6 +572,24 @@ namespace Google.Places
|
||||||
[NullAllowed]
|
[NullAllowed]
|
||||||
[Export ("addressComponents", ArgumentSemantic.Copy)]
|
[Export ("addressComponents", ArgumentSemantic.Copy)]
|
||||||
AddressComponent [] AddressComponents { get; }
|
AddressComponent [] AddressComponents { get; }
|
||||||
|
|
||||||
|
// @property (readonly, nonatomic, strong) GMSPlusCode * _Nullable plusCode;
|
||||||
|
[NullAllowed]
|
||||||
|
[Export ("plusCode", ArgumentSemantic.Strong)]
|
||||||
|
PlusCode PlusCode { get; }
|
||||||
|
|
||||||
|
// @property (readonly, nonatomic, strong) GMSOpeningHours * _Nullable openingHours;
|
||||||
|
[NullAllowed]
|
||||||
|
[Export ("openingHours", ArgumentSemantic.Strong)]
|
||||||
|
OpeningHours OpeningHours { get; }
|
||||||
|
|
||||||
|
// @property (readonly, assign, nonatomic) NSUInteger userRatingsTotal;
|
||||||
|
[Export ("userRatingsTotal")]
|
||||||
|
nuint UserRatingsTotal { get; }
|
||||||
|
|
||||||
|
// @property (readonly, copy, nonatomic) NSArray<GMSPlacePhotoMetadata *> * _Nullable photos;
|
||||||
|
[NullAllowed, Export ("photos", ArgumentSemantic.Copy)]
|
||||||
|
PlacePhotoMetadata [] Photos { get; }
|
||||||
}
|
}
|
||||||
|
|
||||||
// @interface GMSPlaceLikelihood : NSObject <NSCopying>
|
// @interface GMSPlaceLikelihood : NSObject <NSCopying>
|
||||||
|
@ -555,6 +653,9 @@ namespace Google.Places
|
||||||
// typedef void (^GMSPlaceLikelihoodListCallback)(GMSPlaceLikelihoodList *NSError *);
|
// typedef void (^GMSPlaceLikelihoodListCallback)(GMSPlaceLikelihoodList *NSError *);
|
||||||
delegate void PlaceLikelihoodListHandler ([NullAllowed] PlaceLikelihoodList likelihoodList, [NullAllowed] NSError error);
|
delegate void PlaceLikelihoodListHandler ([NullAllowed] PlaceLikelihoodList likelihoodList, [NullAllowed] NSError error);
|
||||||
|
|
||||||
|
// typedef void (^GMSPlaceLikelihoodsCallback)(NSArray<GMSPlaceLikelihood *> * _Nullable, NSError * _Nullable);
|
||||||
|
delegate void PlaceLikelihoodsHandler ([NullAllowed] PlaceLikelihood [] likelihoods, [NullAllowed] NSError error);
|
||||||
|
|
||||||
// typedef void (^GMSAutocompletePredictionsCallback)(NSArray *NSError *);
|
// typedef void (^GMSAutocompletePredictionsCallback)(NSArray *NSError *);
|
||||||
delegate void AutocompletePredictionsHandler ([NullAllowed] AutocompletePrediction [] results, [NullAllowed] NSError error);
|
delegate void AutocompletePredictionsHandler ([NullAllowed] AutocompletePrediction [] results, [NullAllowed] NSError error);
|
||||||
|
|
||||||
|
@ -593,10 +694,6 @@ namespace Google.Places
|
||||||
[Export ("SDKVersion")]
|
[Export ("SDKVersion")]
|
||||||
string SdkVersion { get; }
|
string SdkVersion { get; }
|
||||||
|
|
||||||
// -(void)reportDeviceAtPlaceWithID:(NSString *)placeID;
|
|
||||||
[Export ("reportDeviceAtPlaceWithID:")]
|
|
||||||
void ReportDeviceAtPlace (string placeId);
|
|
||||||
|
|
||||||
// -(void)lookUpPlaceID:(NSString *)placeID callback:(GMSPlaceResultCallback)callback;
|
// -(void)lookUpPlaceID:(NSString *)placeID callback:(GMSPlaceResultCallback)callback;
|
||||||
[Async]
|
[Async]
|
||||||
[Export ("lookUpPlaceID:callback:")]
|
[Export ("lookUpPlaceID:callback:")]
|
||||||
|
@ -610,12 +707,12 @@ namespace Google.Places
|
||||||
// - (void)loadPlacePhoto:(GMSPlacePhotoMetadata *)photo callback:(GMSPlacePhotoImageResultCallback)callback;
|
// - (void)loadPlacePhoto:(GMSPlacePhotoMetadata *)photo callback:(GMSPlacePhotoImageResultCallback)callback;
|
||||||
[Async]
|
[Async]
|
||||||
[Export ("loadPlacePhoto:callback:")]
|
[Export ("loadPlacePhoto:callback:")]
|
||||||
void LoadPlacePhoto (PlacePhotoMetadata photo, PlacePhotoImageResultHandler callback);
|
void LoadPlacePhoto (PlacePhotoMetadata photoMetadata, PlacePhotoImageResultHandler callback);
|
||||||
|
|
||||||
// - (void)loadPlacePhoto:(GMSPlacePhotoMetadata *)photo constrainedToSize:(CGSize)maxSize scale:(CGFloat)scale callback:(GMSPlacePhotoImageResultCallback)callback;
|
// - (void)loadPlacePhoto:(GMSPlacePhotoMetadata *)photo constrainedToSize:(CGSize)maxSize scale:(CGFloat)scale callback:(GMSPlacePhotoImageResultCallback)callback;
|
||||||
[Async]
|
[Async]
|
||||||
[Export ("loadPlacePhoto:constrainedToSize:scale:callback:")]
|
[Export ("loadPlacePhoto:constrainedToSize:scale:callback:")]
|
||||||
void LoadPlacePhoto (PlacePhotoMetadata photo, CGSize maxSize, nfloat scale, PlacePhotoImageResultHandler callback);
|
void LoadPlacePhoto (PlacePhotoMetadata photoMetadata, CGSize maxSize, nfloat scale, PlacePhotoImageResultHandler callback);
|
||||||
|
|
||||||
// -(void)currentPlaceWithCallback:(GMSPlaceLikelihoodListCallback)callback;
|
// -(void)currentPlaceWithCallback:(GMSPlaceLikelihoodListCallback)callback;
|
||||||
[Async]
|
[Async]
|
||||||
|
@ -632,632 +729,30 @@ namespace Google.Places
|
||||||
[Export("autocompleteQuery:bounds:boundsMode:filter:callback:")]
|
[Export("autocompleteQuery:bounds:boundsMode:filter:callback:")]
|
||||||
void Autocomplete(string query, [NullAllowed] CoordinateBounds bounds, AutocompleteBoundsMode boundsMode, [NullAllowed] AutocompleteFilter filter, AutocompletePredictionsHandler callback);
|
void Autocomplete(string query, [NullAllowed] CoordinateBounds bounds, AutocompleteBoundsMode boundsMode, [NullAllowed] AutocompleteFilter filter, AutocompletePredictionsHandler callback);
|
||||||
|
|
||||||
// -(void)addPlace:(GMSUserAddedPlace *)place callback:(GMSPlaceResultCallback)callback;
|
// -(void)findAutocompletePredictionsFromQuery:(NSString * _Nonnull)query bounds:(GMSCoordinateBounds * _Nullable)bounds boundsMode:(GMSAutocompleteBoundsMode)boundsMode filter:(GMSAutocompleteFilter * _Nullable)filter sessionToken:(GMSAutocompleteSessionToken * _Nonnull)sessionToken callback:(GMSAutocompletePredictionsCallback _Nonnull)callback;
|
||||||
[Obsolete ("The Add Place feature is deprecated as of June 30, 2017. This feature will be turned down on June 30, 2018, and will no longer be available after that date.")]
|
[Export ("findAutocompletePredictionsFromQuery:bounds:boundsMode:filter:sessionToken:callback:")]
|
||||||
[Export ("addPlace:callback:")]
|
void FindAutocompletePredictions (string query, [NullAllowed] CoordinateBounds bounds, AutocompleteBoundsMode boundsMode, [NullAllowed] AutocompleteFilter filter, AutocompleteSessionToken sessionToken, AutocompletePredictionsHandler callback);
|
||||||
void AddPlace (UserAddedPlace place, PlaceResultHandler callback);
|
|
||||||
|
// -(void)fetchPlaceFromPlaceID:(NSString * _Nonnull)placeID placeFields:(GMSPlaceField)placeFields sessionToken:(GMSAutocompleteSessionToken * _Nullable)sessionToken callback:(GMSPlaceResultCallback _Nonnull)callback;
|
||||||
|
[Export ("fetchPlaceFromPlaceID:placeFields:sessionToken:callback:")]
|
||||||
|
void FetchPlace (string placeId, PlaceField placeFields, [NullAllowed] AutocompleteSessionToken sessionToken, PlaceResultHandler callback);
|
||||||
|
|
||||||
|
// -(void)findPlaceLikelihoodsFromCurrentLocationWithPlaceFields:(GMSPlaceField)placeFields callback:(GMSPlaceLikelihoodsCallback _Nonnull)callback;
|
||||||
|
[Export ("findPlaceLikelihoodsFromCurrentLocationWithPlaceFields:callback:")]
|
||||||
|
void FindPlaceLikelihoodsFromCurrentLocation (PlaceField placeFields, PlaceLikelihoodsHandler callback);
|
||||||
}
|
}
|
||||||
|
|
||||||
[Obsolete ("Use the PlaceType enum instead. This will be removed in future versions.")]
|
// @interface GMSPlusCode : NSObject
|
||||||
[Static]
|
[BaseType (typeof (NSObject), Name = "GMSPlusCode")]
|
||||||
interface PlaceTypes
|
interface PlusCode {
|
||||||
{
|
// @property (readonly, copy, nonatomic) NSString * _Nonnull globalCode;
|
||||||
// -(NSString *)kGMSPlaceTypeAccountingExported;
|
[Export ("globalCode")]
|
||||||
[Field ("kGMSPlaceTypeAccounting", "__Internal")]
|
string GlobalCode { get; }
|
||||||
NSString Accounting { get; }
|
|
||||||
|
// @property (readonly, copy, nonatomic) NSString * _Nullable compoundCode;
|
||||||
// -(NSString *)kGMSPlaceTypeAdministrativeAreaLevel1Exported;
|
|
||||||
[Field ("kGMSPlaceTypeAdministrativeAreaLevel1", "__Internal")]
|
|
||||||
NSString AdministrativeAreaLevel1 { get; }
|
|
||||||
|
|
||||||
// -(NSString *)kGMSPlaceTypeAdministrativeAreaLevel2Exported;
|
|
||||||
[Field ("kGMSPlaceTypeAdministrativeAreaLevel2", "__Internal")]
|
|
||||||
NSString AdministrativeAreaLevel2 { get; }
|
|
||||||
|
|
||||||
// -(NSString *)kGMSPlaceTypeAdministrativeAreaLevel3Exported;
|
|
||||||
[Field ("kGMSPlaceTypeAdministrativeAreaLevel3", "__Internal")]
|
|
||||||
NSString AdministrativeAreaLevel3 { get; }
|
|
||||||
|
|
||||||
// -(NSString *)kGMSPlaceTypeAirportExported;
|
|
||||||
[Field ("kGMSPlaceTypeAirport", "__Internal")]
|
|
||||||
NSString Airport { get; }
|
|
||||||
|
|
||||||
// -(NSString *)kGMSPlaceTypeAmusementParkExported;
|
|
||||||
[Field ("kGMSPlaceTypeAmusementPark", "__Internal")]
|
|
||||||
NSString AmusementPark { get; }
|
|
||||||
|
|
||||||
// -(NSString *)kGMSPlaceTypeAquariumExported;
|
|
||||||
[Field ("kGMSPlaceTypeAquarium", "__Internal")]
|
|
||||||
NSString Aquarium { get; }
|
|
||||||
|
|
||||||
// -(NSString *)kGMSPlaceTypeArtGalleryExported;
|
|
||||||
[Field ("kGMSPlaceTypeArtGallery", "__Internal")]
|
|
||||||
NSString ArtGallery { get; }
|
|
||||||
|
|
||||||
// -(NSString *)kGMSPlaceTypeAtmExported;
|
|
||||||
[Field ("kGMSPlaceTypeAtm", "__Internal")]
|
|
||||||
NSString Atm { get; }
|
|
||||||
|
|
||||||
// -(NSString *)kGMSPlaceTypeBakeryExported;
|
|
||||||
[Field ("kGMSPlaceTypeBakery", "__Internal")]
|
|
||||||
NSString Bakery { get; }
|
|
||||||
|
|
||||||
// -(NSString *)kGMSPlaceTypeBankExported;
|
|
||||||
[Field ("kGMSPlaceTypeBank", "__Internal")]
|
|
||||||
NSString Bank { get; }
|
|
||||||
|
|
||||||
// -(NSString *)kGMSPlaceTypeBarExported;
|
|
||||||
[Field ("kGMSPlaceTypeBar", "__Internal")]
|
|
||||||
NSString Bar { get; }
|
|
||||||
|
|
||||||
// -(NSString *)kGMSPlaceTypeBeautySalonExported;
|
|
||||||
[Field ("kGMSPlaceTypeBeautySalon", "__Internal")]
|
|
||||||
NSString BeautySalon { get; }
|
|
||||||
|
|
||||||
// -(NSString *)kGMSPlaceTypeBicycleStoreExported;
|
|
||||||
[Field ("kGMSPlaceTypeBicycleStore", "__Internal")]
|
|
||||||
NSString BicycleStore { get; }
|
|
||||||
|
|
||||||
// -(NSString *)kGMSPlaceTypeBookStoreExported;
|
|
||||||
[Field ("kGMSPlaceTypeBookStore", "__Internal")]
|
|
||||||
NSString BookStore { get; }
|
|
||||||
|
|
||||||
// -(NSString *)kGMSPlaceTypeBowlingAlleyExported;
|
|
||||||
[Field ("kGMSPlaceTypeBowlingAlley", "__Internal")]
|
|
||||||
NSString BowlingAlley { get; }
|
|
||||||
|
|
||||||
// -(NSString *)kGMSPlaceTypeBusStationExported;
|
|
||||||
[Field ("kGMSPlaceTypeBusStation", "__Internal")]
|
|
||||||
NSString BusStation { get; }
|
|
||||||
|
|
||||||
// -(NSString *)kGMSPlaceTypeCafeExported;
|
|
||||||
[Field ("kGMSPlaceTypeCafe", "__Internal")]
|
|
||||||
NSString Cafe { get; }
|
|
||||||
|
|
||||||
// -(NSString *)kGMSPlaceTypeCampgroundExported;
|
|
||||||
[Field ("kGMSPlaceTypeCampground", "__Internal")]
|
|
||||||
NSString Campground { get; }
|
|
||||||
|
|
||||||
// -(NSString *)kGMSPlaceTypeCarDealerExported;
|
|
||||||
[Field ("kGMSPlaceTypeCarDealer", "__Internal")]
|
|
||||||
NSString CarDealer { get; }
|
|
||||||
|
|
||||||
// -(NSString *)kGMSPlaceTypeCarRentalExported;
|
|
||||||
[Field ("kGMSPlaceTypeCarRental", "__Internal")]
|
|
||||||
NSString CarRental { get; }
|
|
||||||
|
|
||||||
// -(NSString *)kGMSPlaceTypeCarRepairExported;
|
|
||||||
[Field ("kGMSPlaceTypeCarRepair", "__Internal")]
|
|
||||||
NSString CarRepair { get; }
|
|
||||||
|
|
||||||
// -(NSString *)kGMSPlaceTypeCarWashExported;
|
|
||||||
[Field ("kGMSPlaceTypeCarWash", "__Internal")]
|
|
||||||
NSString CarWash { get; }
|
|
||||||
|
|
||||||
// -(NSString *)kGMSPlaceTypeCasinoExported;
|
|
||||||
[Field ("kGMSPlaceTypeCasino", "__Internal")]
|
|
||||||
NSString Casino { get; }
|
|
||||||
|
|
||||||
// -(NSString *)kGMSPlaceTypeCemeteryExported;
|
|
||||||
[Field ("kGMSPlaceTypeCemetery", "__Internal")]
|
|
||||||
NSString Cemetery { get; }
|
|
||||||
|
|
||||||
// -(NSString *)kGMSPlaceTypeChurchExported;
|
|
||||||
[Field ("kGMSPlaceTypeChurch", "__Internal")]
|
|
||||||
NSString Church { get; }
|
|
||||||
|
|
||||||
// -(NSString *)kGMSPlaceTypeCityHallExported;
|
|
||||||
[Field ("kGMSPlaceTypeCityHall", "__Internal")]
|
|
||||||
NSString CityHall { get; }
|
|
||||||
|
|
||||||
// -(NSString *)kGMSPlaceTypeClothingStoreExported;
|
|
||||||
[Field ("kGMSPlaceTypeClothingStore", "__Internal")]
|
|
||||||
NSString ClothingStore { get; }
|
|
||||||
|
|
||||||
// -(NSString *)kGMSPlaceTypeColloquialAreaExported;
|
|
||||||
[Field ("kGMSPlaceTypeColloquialArea", "__Internal")]
|
|
||||||
NSString ColloquialArea { get; }
|
|
||||||
|
|
||||||
// -(NSString *)kGMSPlaceTypeConvenienceStoreExported;
|
|
||||||
[Field ("kGMSPlaceTypeConvenienceStore", "__Internal")]
|
|
||||||
NSString ConvenienceStore { get; }
|
|
||||||
|
|
||||||
// -(NSString *)kGMSPlaceTypeCountryExported;
|
|
||||||
[Field ("kGMSPlaceTypeCountry", "__Internal")]
|
|
||||||
NSString Country { get; }
|
|
||||||
|
|
||||||
// -(NSString *)kGMSPlaceTypeCourthouseExported;
|
|
||||||
[Field ("kGMSPlaceTypeCourthouse", "__Internal")]
|
|
||||||
NSString Courthouse { get; }
|
|
||||||
|
|
||||||
// -(NSString *)kGMSPlaceTypeDentistExported;
|
|
||||||
[Field ("kGMSPlaceTypeDentist", "__Internal")]
|
|
||||||
NSString Dentist { get; }
|
|
||||||
|
|
||||||
// -(NSString *)kGMSPlaceTypeDepartmentStoreExported;
|
|
||||||
[Field ("kGMSPlaceTypeDepartmentStore", "__Internal")]
|
|
||||||
NSString DepartmentStore { get; }
|
|
||||||
|
|
||||||
// -(NSString *)kGMSPlaceTypeDoctorExported;
|
|
||||||
[Field ("kGMSPlaceTypeDoctor", "__Internal")]
|
|
||||||
NSString Doctor { get; }
|
|
||||||
|
|
||||||
// -(NSString *)kGMSPlaceTypeElectricianExported;
|
|
||||||
[Field ("kGMSPlaceTypeElectrician", "__Internal")]
|
|
||||||
NSString Electrician { get; }
|
|
||||||
|
|
||||||
// -(NSString *)kGMSPlaceTypeElectronicsStoreExported;
|
|
||||||
[Field ("kGMSPlaceTypeElectronicsStore", "__Internal")]
|
|
||||||
NSString ElectronicsStore { get; }
|
|
||||||
|
|
||||||
// -(NSString *)kGMSPlaceTypeEmbassyExported;
|
|
||||||
[Field ("kGMSPlaceTypeEmbassy", "__Internal")]
|
|
||||||
NSString Embassy { get; }
|
|
||||||
|
|
||||||
// -(NSString *)kGMSPlaceTypeEstablishmentExported;
|
|
||||||
[Field ("kGMSPlaceTypeEstablishment", "__Internal")]
|
|
||||||
NSString Establishment { get; }
|
|
||||||
|
|
||||||
// -(NSString *)kGMSPlaceTypeFinanceExported;
|
|
||||||
[Field ("kGMSPlaceTypeFinance", "__Internal")]
|
|
||||||
NSString Finance { get; }
|
|
||||||
|
|
||||||
// -(NSString *)kGMSPlaceTypeFireStationExported;
|
|
||||||
[Field ("kGMSPlaceTypeFireStation", "__Internal")]
|
|
||||||
NSString FireStation { get; }
|
|
||||||
|
|
||||||
// -(NSString *)kGMSPlaceTypeFloorExported;
|
|
||||||
[Field ("kGMSPlaceTypeFloor", "__Internal")]
|
|
||||||
NSString Floor { get; }
|
|
||||||
|
|
||||||
// -(NSString *)kGMSPlaceTypeFloristExported;
|
|
||||||
[Field ("kGMSPlaceTypeFlorist", "__Internal")]
|
|
||||||
NSString Florist { get; }
|
|
||||||
|
|
||||||
// -(NSString *)kGMSPlaceTypeFoodExported;
|
|
||||||
[Field ("kGMSPlaceTypeFood", "__Internal")]
|
|
||||||
NSString Food { get; }
|
|
||||||
|
|
||||||
// -(NSString *)kGMSPlaceTypeFuneralHomeExported;
|
|
||||||
[Field ("kGMSPlaceTypeFuneralHome", "__Internal")]
|
|
||||||
NSString FuneralHome { get; }
|
|
||||||
|
|
||||||
// -(NSString *)kGMSPlaceTypeFurnitureStoreExported;
|
|
||||||
[Field ("kGMSPlaceTypeFurnitureStore", "__Internal")]
|
|
||||||
NSString FurnitureStore { get; }
|
|
||||||
|
|
||||||
// -(NSString *)kGMSPlaceTypeGasStationExported;
|
|
||||||
[Field ("kGMSPlaceTypeGasStation", "__Internal")]
|
|
||||||
NSString GasStation { get; }
|
|
||||||
|
|
||||||
// -(NSString *)kGMSPlaceTypeGeneralContractorExported;
|
|
||||||
[Field ("kGMSPlaceTypeGeneralContractor", "__Internal")]
|
|
||||||
NSString GeneralContractor { get; }
|
|
||||||
|
|
||||||
// -(NSString *)kGMSPlaceTypeGeocodeExported;
|
|
||||||
[Field ("kGMSPlaceTypeGeocode", "__Internal")]
|
|
||||||
NSString Geocode { get; }
|
|
||||||
|
|
||||||
// -(NSString *)kGMSPlaceTypeGroceryOrSupermarketExported;
|
|
||||||
[Field ("kGMSPlaceTypeGroceryOrSupermarket", "__Internal")]
|
|
||||||
NSString GroceryOrSupermarket { get; }
|
|
||||||
|
|
||||||
// -(NSString *)kGMSPlaceTypeGymExported;
|
|
||||||
[Field ("kGMSPlaceTypeGym", "__Internal")]
|
|
||||||
NSString Gym { get; }
|
|
||||||
|
|
||||||
// -(NSString *)kGMSPlaceTypeHairCareExported;
|
|
||||||
[Field ("kGMSPlaceTypeHairCare", "__Internal")]
|
|
||||||
NSString HairCare { get; }
|
|
||||||
|
|
||||||
// -(NSString *)kGMSPlaceTypeHardwareStoreExported;
|
|
||||||
[Field ("kGMSPlaceTypeHardwareStore", "__Internal")]
|
|
||||||
NSString HardwareStore { get; }
|
|
||||||
|
|
||||||
// -(NSString *)kGMSPlaceTypeHealthExported;
|
|
||||||
[Field ("kGMSPlaceTypeHealth", "__Internal")]
|
|
||||||
NSString Health { get; }
|
|
||||||
|
|
||||||
// -(NSString *)kGMSPlaceTypeHinduTempleExported;
|
|
||||||
[Field ("kGMSPlaceTypeHinduTemple", "__Internal")]
|
|
||||||
NSString HinduTemple { get; }
|
|
||||||
|
|
||||||
// -(NSString *)kGMSPlaceTypeHomeGoodsStoreExported;
|
|
||||||
[Field ("kGMSPlaceTypeHomeGoodsStore", "__Internal")]
|
|
||||||
NSString HomeGoodsStore { get; }
|
|
||||||
|
|
||||||
// -(NSString *)kGMSPlaceTypeHospitalExported;
|
|
||||||
[Field ("kGMSPlaceTypeHospital", "__Internal")]
|
|
||||||
NSString Hospital { get; }
|
|
||||||
|
|
||||||
// -(NSString *)kGMSPlaceTypeInsuranceAgencyExported;
|
|
||||||
[Field ("kGMSPlaceTypeInsuranceAgency", "__Internal")]
|
|
||||||
NSString InsuranceAgency { get; }
|
|
||||||
|
|
||||||
// -(NSString *)kGMSPlaceTypeIntersectionExported;
|
|
||||||
[Field ("kGMSPlaceTypeIntersection", "__Internal")]
|
|
||||||
NSString Intersection { get; }
|
|
||||||
|
|
||||||
// -(NSString *)kGMSPlaceTypeJewelryStoreExported;
|
|
||||||
[Field ("kGMSPlaceTypeJewelryStore", "__Internal")]
|
|
||||||
NSString JewelryStore { get; }
|
|
||||||
|
|
||||||
// -(NSString *)kGMSPlaceTypeLaundryExported;
|
|
||||||
[Field ("kGMSPlaceTypeLaundry", "__Internal")]
|
|
||||||
NSString Laundry { get; }
|
|
||||||
|
|
||||||
// -(NSString *)kGMSPlaceTypeLawyerExported;
|
|
||||||
[Field ("kGMSPlaceTypeLawyer", "__Internal")]
|
|
||||||
NSString Lawyer { get; }
|
|
||||||
|
|
||||||
// -(NSString *)kGMSPlaceTypeLibraryExported;
|
|
||||||
[Field ("kGMSPlaceTypeLibrary", "__Internal")]
|
|
||||||
NSString Library { get; }
|
|
||||||
|
|
||||||
// -(NSString *)kGMSPlaceTypeLiquorStoreExported;
|
|
||||||
[Field ("kGMSPlaceTypeLiquorStore", "__Internal")]
|
|
||||||
NSString LiquorStore { get; }
|
|
||||||
|
|
||||||
// -(NSString *)kGMSPlaceTypeLocalGovernmentOfficeExported;
|
|
||||||
[Field ("kGMSPlaceTypeLocalGovernmentOffice", "__Internal")]
|
|
||||||
NSString LocalGovernmentOffice { get; }
|
|
||||||
|
|
||||||
// -(NSString *)kGMSPlaceTypeLocalityExported;
|
|
||||||
[Field ("kGMSPlaceTypeLocality", "__Internal")]
|
|
||||||
NSString Locality { get; }
|
|
||||||
|
|
||||||
// -(NSString *)kGMSPlaceTypeLocksmithExported;
|
|
||||||
[Field ("kGMSPlaceTypeLocksmith", "__Internal")]
|
|
||||||
NSString Locksmith { get; }
|
|
||||||
|
|
||||||
// -(NSString *)kGMSPlaceTypeLodgingExported;
|
|
||||||
[Field ("kGMSPlaceTypeLodging", "__Internal")]
|
|
||||||
NSString Lodging { get; }
|
|
||||||
|
|
||||||
// -(NSString *)kGMSPlaceTypeMealDeliveryExported;
|
|
||||||
[Field ("kGMSPlaceTypeMealDelivery", "__Internal")]
|
|
||||||
NSString MealDelivery { get; }
|
|
||||||
|
|
||||||
// -(NSString *)kGMSPlaceTypeMealTakeawayExported;
|
|
||||||
[Field ("kGMSPlaceTypeMealTakeaway", "__Internal")]
|
|
||||||
NSString MealTakeaway { get; }
|
|
||||||
|
|
||||||
// -(NSString *)kGMSPlaceTypeMosqueExported;
|
|
||||||
[Field ("kGMSPlaceTypeMosque", "__Internal")]
|
|
||||||
NSString Mosque { get; }
|
|
||||||
|
|
||||||
// -(NSString *)kGMSPlaceTypeMovieRentalExported;
|
|
||||||
[Field ("kGMSPlaceTypeMovieRental", "__Internal")]
|
|
||||||
NSString MovieRental { get; }
|
|
||||||
|
|
||||||
// -(NSString *)kGMSPlaceTypeMovieTheaterExported;
|
|
||||||
[Field ("kGMSPlaceTypeMovieTheater", "__Internal")]
|
|
||||||
NSString MovieTheater { get; }
|
|
||||||
|
|
||||||
// -(NSString *)kGMSPlaceTypeMovingCompanyExported;
|
|
||||||
[Field ("kGMSPlaceTypeMovingCompany", "__Internal")]
|
|
||||||
NSString MovingCompany { get; }
|
|
||||||
|
|
||||||
// -(NSString *)kGMSPlaceTypeMuseumExported;
|
|
||||||
[Field ("kGMSPlaceTypeMuseum", "__Internal")]
|
|
||||||
NSString Museum { get; }
|
|
||||||
|
|
||||||
// -(NSString *)kGMSPlaceTypeNaturalFeatureExported;
|
|
||||||
[Field ("kGMSPlaceTypeNaturalFeature", "__Internal")]
|
|
||||||
NSString NaturalFeature { get; }
|
|
||||||
|
|
||||||
// -(NSString *)kGMSPlaceTypeNeighborhoodExported;
|
|
||||||
[Field ("kGMSPlaceTypeNeighborhood", "__Internal")]
|
|
||||||
NSString Neighborhood { get; }
|
|
||||||
|
|
||||||
// -(NSString *)kGMSPlaceTypeNightClubExported;
|
|
||||||
[Field ("kGMSPlaceTypeNightClub", "__Internal")]
|
|
||||||
NSString NightClub { get; }
|
|
||||||
|
|
||||||
// -(NSString *)kGMSPlaceTypePainterExported;
|
|
||||||
[Field ("kGMSPlaceTypePainter", "__Internal")]
|
|
||||||
NSString Painter { get; }
|
|
||||||
|
|
||||||
// -(NSString *)kGMSPlaceTypeParkExported;
|
|
||||||
[Field ("kGMSPlaceTypePark", "__Internal")]
|
|
||||||
NSString Park { get; }
|
|
||||||
|
|
||||||
// -(NSString *)kGMSPlaceTypeParkingExported;
|
|
||||||
[Field ("kGMSPlaceTypeParking", "__Internal")]
|
|
||||||
NSString Parking { get; }
|
|
||||||
|
|
||||||
// -(NSString *)kGMSPlaceTypePetStoreExported;
|
|
||||||
[Field ("kGMSPlaceTypePetStore", "__Internal")]
|
|
||||||
NSString PetStore { get; }
|
|
||||||
|
|
||||||
// -(NSString *)kGMSPlaceTypePharmacyExported;
|
|
||||||
[Field ("kGMSPlaceTypePharmacy", "__Internal")]
|
|
||||||
NSString Pharmacy { get; }
|
|
||||||
|
|
||||||
// -(NSString *)kGMSPlaceTypePhysiotherapistExported;
|
|
||||||
[Field ("kGMSPlaceTypePhysiotherapist", "__Internal")]
|
|
||||||
NSString Physiotherapist { get; }
|
|
||||||
|
|
||||||
// -(NSString *)kGMSPlaceTypePlaceOfWorshipExported;
|
|
||||||
[Field ("kGMSPlaceTypePlaceOfWorship", "__Internal")]
|
|
||||||
NSString PlaceOfWorship { get; }
|
|
||||||
|
|
||||||
// -(NSString *)kGMSPlaceTypePlumberExported;
|
|
||||||
[Field ("kGMSPlaceTypePlumber", "__Internal")]
|
|
||||||
NSString Plumber { get; }
|
|
||||||
|
|
||||||
// -(NSString *)kGMSPlaceTypePointOfInterestExported;
|
|
||||||
[Field ("kGMSPlaceTypePointOfInterest", "__Internal")]
|
|
||||||
NSString PointOfInterest { get; }
|
|
||||||
|
|
||||||
// -(NSString *)kGMSPlaceTypePoliceExported;
|
|
||||||
[Field ("kGMSPlaceTypePolice", "__Internal")]
|
|
||||||
NSString Police { get; }
|
|
||||||
|
|
||||||
// -(NSString *)kGMSPlaceTypePoliticalExported;
|
|
||||||
[Field ("kGMSPlaceTypePolitical", "__Internal")]
|
|
||||||
NSString Political { get; }
|
|
||||||
|
|
||||||
// -(NSString *)kGMSPlaceTypePostBoxExported;
|
|
||||||
[Field ("kGMSPlaceTypePostBox", "__Internal")]
|
|
||||||
NSString PostBox { get; }
|
|
||||||
|
|
||||||
// -(NSString *)kGMSPlaceTypePostOfficeExported;
|
|
||||||
[Field ("kGMSPlaceTypePostOffice", "__Internal")]
|
|
||||||
NSString PostOffice { get; }
|
|
||||||
|
|
||||||
// -(NSString *)kGMSPlaceTypePostalCodeExported;
|
|
||||||
[Field ("kGMSPlaceTypePostalCode", "__Internal")]
|
|
||||||
NSString PostalCode { get; }
|
|
||||||
|
|
||||||
// -(NSString *)kGMSPlaceTypePostalCodePrefixExported;
|
|
||||||
[Field ("kGMSPlaceTypePostalCodePrefix", "__Internal")]
|
|
||||||
NSString PostalCodePrefix { get; }
|
|
||||||
|
|
||||||
// -(NSString *)kGMSPlaceTypePostalTownExported;
|
|
||||||
[Field ("kGMSPlaceTypePostalTown", "__Internal")]
|
|
||||||
NSString PostalTown { get; }
|
|
||||||
|
|
||||||
// -(NSString *)kGMSPlaceTypePremiseExported;
|
|
||||||
[Field ("kGMSPlaceTypePremise", "__Internal")]
|
|
||||||
NSString Premise { get; }
|
|
||||||
|
|
||||||
// -(NSString *)kGMSPlaceTypeRealEstateAgencyExported;
|
|
||||||
[Field ("kGMSPlaceTypeRealEstateAgency", "__Internal")]
|
|
||||||
NSString RealEstateAgency { get; }
|
|
||||||
|
|
||||||
// -(NSString *)kGMSPlaceTypeRestaurantExported;
|
|
||||||
[Field ("kGMSPlaceTypeRestaurant", "__Internal")]
|
|
||||||
NSString Restaurant { get; }
|
|
||||||
|
|
||||||
// -(NSString *)kGMSPlaceTypeRoofingContractorExported;
|
|
||||||
[Field ("kGMSPlaceTypeRoofingContractor", "__Internal")]
|
|
||||||
NSString RoofingContractor { get; }
|
|
||||||
|
|
||||||
// -(NSString *)kGMSPlaceTypeRoomExported;
|
|
||||||
[Field ("kGMSPlaceTypeRoom", "__Internal")]
|
|
||||||
NSString Room { get; }
|
|
||||||
|
|
||||||
// -(NSString *)kGMSPlaceTypeRouteExported;
|
|
||||||
[Field ("kGMSPlaceTypeRoute", "__Internal")]
|
|
||||||
NSString Route { get; }
|
|
||||||
|
|
||||||
// -(NSString *)kGMSPlaceTypeRvParkExported;
|
|
||||||
[Field ("kGMSPlaceTypeRvPark", "__Internal")]
|
|
||||||
NSString RvPark { get; }
|
|
||||||
|
|
||||||
// -(NSString *)kGMSPlaceTypeSchoolExported;
|
|
||||||
[Field ("kGMSPlaceTypeSchool", "__Internal")]
|
|
||||||
NSString School { get; }
|
|
||||||
|
|
||||||
// -(NSString *)kGMSPlaceTypeShoeStoreExported;
|
|
||||||
[Field ("kGMSPlaceTypeShoeStore", "__Internal")]
|
|
||||||
NSString ShoeStore { get; }
|
|
||||||
|
|
||||||
// -(NSString *)kGMSPlaceTypeShoppingMallExported;
|
|
||||||
[Field ("kGMSPlaceTypeShoppingMall", "__Internal")]
|
|
||||||
NSString ShoppingMall { get; }
|
|
||||||
|
|
||||||
// -(NSString *)kGMSPlaceTypeSpaExported;
|
|
||||||
[Field ("kGMSPlaceTypeSpa", "__Internal")]
|
|
||||||
NSString Spa { get; }
|
|
||||||
|
|
||||||
// -(NSString *)kGMSPlaceTypeStadiumExported;
|
|
||||||
[Field ("kGMSPlaceTypeStadium", "__Internal")]
|
|
||||||
NSString Stadium { get; }
|
|
||||||
|
|
||||||
// -(NSString *)kGMSPlaceTypeStorageExported;
|
|
||||||
[Field ("kGMSPlaceTypeStorage", "__Internal")]
|
|
||||||
NSString Storage { get; }
|
|
||||||
|
|
||||||
// -(NSString *)kGMSPlaceTypeStoreExported;
|
|
||||||
[Field ("kGMSPlaceTypeStore", "__Internal")]
|
|
||||||
NSString Store { get; }
|
|
||||||
|
|
||||||
// -(NSString *)kGMSPlaceTypeStreetAddressExported;
|
|
||||||
[Field ("kGMSPlaceTypeStreetAddress", "__Internal")]
|
|
||||||
NSString StreetAddress { get; }
|
|
||||||
|
|
||||||
// -(NSString *)kGMSPlaceTypeSublocalityExported;
|
|
||||||
[Field ("kGMSPlaceTypeSublocality", "__Internal")]
|
|
||||||
NSString Sublocality { get; }
|
|
||||||
|
|
||||||
// -(NSString *)kGMSPlaceTypeSublocalityLevel1Exported;
|
|
||||||
[Field ("kGMSPlaceTypeSublocalityLevel1", "__Internal")]
|
|
||||||
NSString SublocalityLevel1 { get; }
|
|
||||||
|
|
||||||
// -(NSString *)kGMSPlaceTypeSublocalityLevel2Exported;
|
|
||||||
[Field ("kGMSPlaceTypeSublocalityLevel2", "__Internal")]
|
|
||||||
NSString SublocalityLevel2 { get; }
|
|
||||||
|
|
||||||
// -(NSString *)kGMSPlaceTypeSublocalityLevel3Exported;
|
|
||||||
[Field ("kGMSPlaceTypeSublocalityLevel3", "__Internal")]
|
|
||||||
NSString SublocalityLevel3 { get; }
|
|
||||||
|
|
||||||
// -(NSString *)kGMSPlaceTypeSublocalityLevel4Exported;
|
|
||||||
[Field ("kGMSPlaceTypeSublocalityLevel4", "__Internal")]
|
|
||||||
NSString SublocalityLevel4 { get; }
|
|
||||||
|
|
||||||
// -(NSString *)kGMSPlaceTypeSublocalityLevel5Exported;
|
|
||||||
[Field ("kGMSPlaceTypeSublocalityLevel5", "__Internal")]
|
|
||||||
NSString SublocalityLevel5 { get; }
|
|
||||||
|
|
||||||
// -(NSString *)kGMSPlaceTypeSubpremiseExported;
|
|
||||||
[Field ("kGMSPlaceTypeSubpremise", "__Internal")]
|
|
||||||
NSString Subpremise { get; }
|
|
||||||
|
|
||||||
// -(NSString *)kGMSPlaceTypeSubwayStationExported;
|
|
||||||
[Field ("kGMSPlaceTypeSubwayStation", "__Internal")]
|
|
||||||
NSString SubwayStation { get; }
|
|
||||||
|
|
||||||
// -(NSString *)kGMSPlaceTypeSynagogueExported;
|
|
||||||
[Field ("kGMSPlaceTypeSynagogue", "__Internal")]
|
|
||||||
NSString Synagogue { get; }
|
|
||||||
|
|
||||||
// -(NSString *)kGMSPlaceTypeTaxiStandExported;
|
|
||||||
[Field ("kGMSPlaceTypeTaxiStand", "__Internal")]
|
|
||||||
NSString TaxiStand { get; }
|
|
||||||
|
|
||||||
// -(NSString *)kGMSPlaceTypeTrainStationExported;
|
|
||||||
[Field ("kGMSPlaceTypeTrainStation", "__Internal")]
|
|
||||||
NSString TrainStation { get; }
|
|
||||||
|
|
||||||
// -(NSString *)kGMSPlaceTypeTransitStationExported;
|
|
||||||
[Field ("kGMSPlaceTypeTransitStation", "__Internal")]
|
|
||||||
NSString TransitStation { get; }
|
|
||||||
|
|
||||||
// -(NSString *)kGMSPlaceTypeTravelAgencyExported;
|
|
||||||
[Field ("kGMSPlaceTypeTravelAgency", "__Internal")]
|
|
||||||
NSString TravelAgency { get; }
|
|
||||||
|
|
||||||
// -(NSString *)kGMSPlaceTypeUniversityExported;
|
|
||||||
[Field ("kGMSPlaceTypeUniversity", "__Internal")]
|
|
||||||
NSString University { get; }
|
|
||||||
|
|
||||||
// -(NSString *)kGMSPlaceTypeVeterinaryCareExported;
|
|
||||||
[Field ("kGMSPlaceTypeVeterinaryCare", "__Internal")]
|
|
||||||
NSString VeterinaryCare { get; }
|
|
||||||
|
|
||||||
// -(NSString *)kGMSPlaceTypeZooExported;
|
|
||||||
[Field ("kGMSPlaceTypeZoo", "__Internal")]
|
|
||||||
NSString Zoo { get; }
|
|
||||||
}
|
|
||||||
|
|
||||||
// @interface GMSUserAddedPlace : NSObject
|
|
||||||
[Obsolete ("The Add Place feature is deprecated as of June 30, 2017. This feature will be turned down on June 30, 2018, and will no longer be available after that date.")]
|
|
||||||
[BaseType (typeof (NSObject), Name = "GMSUserAddedPlace")]
|
|
||||||
interface UserAddedPlace
|
|
||||||
{
|
|
||||||
// @property (copy, nonatomic) NSString * name;
|
|
||||||
[NullAllowed]
|
[NullAllowed]
|
||||||
[Export ("name", ArgumentSemantic.Copy)]
|
[Export ("compoundCode")]
|
||||||
string Name { get; set; }
|
string CompoundCode { get; }
|
||||||
|
|
||||||
// @property (copy, nonatomic) NSString * address;
|
|
||||||
[NullAllowed]
|
|
||||||
[Export ("address", ArgumentSemantic.Copy)]
|
|
||||||
string Address { get; set; }
|
|
||||||
|
|
||||||
// @property (assign, nonatomic) CLLocationCoordinate2D coordinate;
|
|
||||||
[Export ("coordinate", ArgumentSemantic.Assign)]
|
|
||||||
CLLocationCoordinate2D Coordinate { get; set; }
|
|
||||||
|
|
||||||
// @property (copy, nonatomic) NSString * phoneNumber;
|
|
||||||
[NullAllowed]
|
|
||||||
[Export ("phoneNumber", ArgumentSemantic.Copy)]
|
|
||||||
string PhoneNumber { get; set; }
|
|
||||||
|
|
||||||
// @property (copy, nonatomic) NSArray * types;
|
|
||||||
[NullAllowed]
|
|
||||||
[Export ("types", ArgumentSemantic.Copy)]
|
|
||||||
string [] Types { get; set; }
|
|
||||||
|
|
||||||
// @property (copy, nonatomic) NSString * website;
|
|
||||||
[NullAllowed]
|
|
||||||
[Export ("website", ArgumentSemantic.Copy)]
|
|
||||||
string Website { get; set; }
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
namespace Google.Places.Picker
|
|
||||||
{
|
|
||||||
// @interface GMSPlacePicker : NSObject
|
|
||||||
[Obsolete ("Use PlacePickerViewController class instead.")]
|
|
||||||
[DisableDefaultCtor]
|
|
||||||
[BaseType (typeof (NSObject), Name = "GMSPlacePicker")]
|
|
||||||
interface PlacePicker
|
|
||||||
{
|
|
||||||
// @property (readonly, copy, nonatomic) GMSPlacePickerConfig * config;
|
|
||||||
[Export ("config", ArgumentSemantic.Copy)]
|
|
||||||
PlacePickerConfig Config { get; }
|
|
||||||
|
|
||||||
// -(instancetype)initWithConfig:(GMSPlacePickerConfig *)config;
|
|
||||||
[Export ("initWithConfig:")]
|
|
||||||
IntPtr Constructor (PlacePickerConfig config);
|
|
||||||
|
|
||||||
// -(void)pickPlaceWithCallback:(GMSPlaceResultCallback)callback;
|
|
||||||
[Export ("pickPlaceWithCallback:")]
|
|
||||||
void PickPlace (Google.Places.PlaceResultHandler callback);
|
|
||||||
}
|
|
||||||
|
|
||||||
// @interface GMSPlacePickerConfig : NSObject
|
|
||||||
[DisableDefaultCtor]
|
|
||||||
[BaseType (typeof (NSObject), Name = "GMSPlacePickerConfig")]
|
|
||||||
interface PlacePickerConfig
|
|
||||||
{
|
|
||||||
// @property (readonly, nonatomic, strong) GMSCoordinateBounds * viewport;
|
|
||||||
[NullAllowed]
|
|
||||||
[Export ("viewport", ArgumentSemantic.Strong)]
|
|
||||||
Google.Maps.CoordinateBounds Viewport { get; }
|
|
||||||
|
|
||||||
// -(instancetype)initWithViewport:(GMSCoordinateBounds *)viewport;
|
|
||||||
[Export ("initWithViewport:")]
|
|
||||||
IntPtr Constructor ([NullAllowed] Google.Maps.CoordinateBounds viewport);
|
|
||||||
}
|
|
||||||
|
|
||||||
interface IPlacePickerViewControllerDelegate { }
|
|
||||||
|
|
||||||
// @protocol GMSPlacePickerViewControllerDelegate <NSObject>
|
|
||||||
[Model (AutoGeneratedName = true)]
|
|
||||||
[Protocol]
|
|
||||||
[BaseType (typeof (NSObject), Name = "GMSPlacePickerViewControllerDelegate")]
|
|
||||||
interface PlacePickerViewControllerDelegate
|
|
||||||
{
|
|
||||||
// @required -(void)placePicker:(GMSPlacePickerViewController * _Nonnull)viewController didPickPlace:(GMSPlace * _Nonnull)place;
|
|
||||||
[Abstract]
|
|
||||||
[EventArgs ("PlacePickerViewControllerPlacePicked")]
|
|
||||||
[EventName ("PlacePicked")]
|
|
||||||
[Export ("placePicker:didPickPlace:")]
|
|
||||||
void DidPickPlace (PlacePickerViewController viewController, Google.Places.Place place);
|
|
||||||
|
|
||||||
// @optional -(void)placePicker:(GMSPlacePickerViewController * _Nonnull)viewController didFailWithError:(NSError * _Nonnull)error;
|
|
||||||
[EventArgs ("PlacePickerViewControllerFailed")]
|
|
||||||
[EventName ("Failed")]
|
|
||||||
[Export ("placePicker:didFailWithError:")]
|
|
||||||
void DidFail (PlacePickerViewController viewController, NSError error);
|
|
||||||
|
|
||||||
// @optional -(void)placePickerDidCancel:(GMSPlacePickerViewController * _Nonnull)viewController;
|
|
||||||
[EventArgs ("PlacePickerViewControllerCanceled")]
|
|
||||||
[EventName ("Canceled")]
|
|
||||||
[Export ("placePickerDidCancel:")]
|
|
||||||
void DidCancel (PlacePickerViewController viewController);
|
|
||||||
}
|
|
||||||
|
|
||||||
// @interface GMSPlacePickerViewController : UIViewController
|
|
||||||
[DisableDefaultCtor]
|
|
||||||
[BaseType (typeof (UIViewController),
|
|
||||||
Name = "GMSPlacePickerViewController",
|
|
||||||
Delegates = new string [] { "Delegate" },
|
|
||||||
Events = new Type [] { typeof (PlacePickerViewControllerDelegate) })]
|
|
||||||
interface PlacePickerViewController
|
|
||||||
{
|
|
||||||
// @property (nonatomic, weak) id<GMSPlacePickerViewControllerDelegate> _Nullable delegate __attribute__((iboutlet));
|
|
||||||
[NullAllowed]
|
|
||||||
[Export ("delegate", ArgumentSemantic.Weak)]
|
|
||||||
IPlacePickerViewControllerDelegate Delegate { get; set; }
|
|
||||||
|
|
||||||
// -(instancetype _Nonnull)initWithConfig:(GMSPlacePickerConfig * _Nonnull)config;
|
|
||||||
[Export ("initWithConfig:")]
|
|
||||||
IntPtr Constructor (PlacePickerConfig config);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
|
@ -20,6 +20,24 @@ namespace Google.Places {
|
||||||
City
|
City
|
||||||
}
|
}
|
||||||
|
|
||||||
|
[Native]
|
||||||
|
public enum OpenNowStatus : long {
|
||||||
|
Yes,
|
||||||
|
No,
|
||||||
|
Unknown
|
||||||
|
}
|
||||||
|
|
||||||
|
[Native]
|
||||||
|
public enum DayOfWeek : ulong {
|
||||||
|
Sunday = 1,
|
||||||
|
Monday = 2,
|
||||||
|
Tuesday = 3,
|
||||||
|
Wednesday = 4,
|
||||||
|
Thursday = 5,
|
||||||
|
Friday = 6,
|
||||||
|
Saturday = 7
|
||||||
|
}
|
||||||
|
|
||||||
[Native]
|
[Native]
|
||||||
public enum PlacesOpenNowStatus : long {
|
public enum PlacesOpenNowStatus : long {
|
||||||
Yes,
|
Yes,
|
||||||
|
@ -37,6 +55,26 @@ namespace Google.Places {
|
||||||
Expensive = 4
|
Expensive = 4
|
||||||
}
|
}
|
||||||
|
|
||||||
|
[Native]
|
||||||
|
public enum PlaceField : ulong {
|
||||||
|
Name = 1 << 0,
|
||||||
|
PlaceID = 1 << 1,
|
||||||
|
PlusCode = 1 << 2,
|
||||||
|
Coordinate = 1 << 3,
|
||||||
|
OpeningHours = 1 << 4,
|
||||||
|
PhoneNumber = 1 << 5,
|
||||||
|
FormattedAddress = 1 << 6,
|
||||||
|
Rating = 1 << 7,
|
||||||
|
PriceLevel = 1 << 8,
|
||||||
|
Types = 1 << 9,
|
||||||
|
Website = 1 << 10,
|
||||||
|
Viewport = 1 << 11,
|
||||||
|
AddressComponents = 1 << 12,
|
||||||
|
Photos = 1 << 13,
|
||||||
|
UserRatingsTotal = 1 << 14,
|
||||||
|
All = ulong.MaxValue
|
||||||
|
}
|
||||||
|
|
||||||
[Native]
|
[Native]
|
||||||
public enum PlacesErrorCode : long {
|
public enum PlacesErrorCode : long {
|
||||||
NetworkError = -1,
|
NetworkError = -1,
|
||||||
|
|
|
@ -3,15 +3,13 @@
|
||||||
|
|
||||||
<PropertyGroup>
|
<PropertyGroup>
|
||||||
<_GooglePlacesAssemblyName>Google.Places, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null</_GooglePlacesAssemblyName>
|
<_GooglePlacesAssemblyName>Google.Places, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null</_GooglePlacesAssemblyName>
|
||||||
<_GooglePlacesItemsFolder>GPlcs-2.7.0</_GooglePlacesItemsFolder>
|
<_GooglePlacesItemsFolder>GPlcs-3.0.3</_GooglePlacesItemsFolder>
|
||||||
<_GooglePlacePickerItemsFolder>GPlcP-2.7.0</_GooglePlacePickerItemsFolder>
|
|
||||||
<_GooglePlacesSDKBaseFolder>$(XamarinBuildDownloadDir)$(_GooglePlacesItemsFolder)\Frameworks\</_GooglePlacesSDKBaseFolder>
|
<_GooglePlacesSDKBaseFolder>$(XamarinBuildDownloadDir)$(_GooglePlacesItemsFolder)\Frameworks\</_GooglePlacesSDKBaseFolder>
|
||||||
<_GooglePlacePickerSDKBaseFolder>$(XamarinBuildDownloadDir)$(_GooglePlacePickerItemsFolder)\Frameworks\</_GooglePlacePickerSDKBaseFolder>
|
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
|
|
||||||
<ItemGroup Condition="('$(OutputType)'!='Library' OR '$(IsAppExtension)'=='True')">
|
<ItemGroup Condition="('$(OutputType)'!='Library' OR '$(IsAppExtension)'=='True')">
|
||||||
<XamarinBuildDownload Include="$(_GooglePlacesItemsFolder)">
|
<XamarinBuildDownload Include="$(_GooglePlacesItemsFolder)">
|
||||||
<Url>https://dl.google.com/dl/cpdc/7a167e6ab4a55dbc/GooglePlaces-2.7.0.tar.gz</Url>
|
<Url>https://dl.google.com/dl/cpdc/7859fc497bd34749/GooglePlaces-3.0.3.tar.gz</Url>
|
||||||
<Kind>Tgz</Kind>
|
<Kind>Tgz</Kind>
|
||||||
</XamarinBuildDownload>
|
</XamarinBuildDownload>
|
||||||
<NativeReference Include="$(_GooglePlacesSDKBaseFolder)GooglePlaces.framework">
|
<NativeReference Include="$(_GooglePlacesSDKBaseFolder)GooglePlaces.framework">
|
||||||
|
@ -19,17 +17,6 @@
|
||||||
<ForceLoad>True</ForceLoad>
|
<ForceLoad>True</ForceLoad>
|
||||||
<LinkerFlags>-ObjC</LinkerFlags>
|
<LinkerFlags>-ObjC</LinkerFlags>
|
||||||
</NativeReference>
|
</NativeReference>
|
||||||
|
|
||||||
<XamarinBuildDownload Include="$(_GooglePlacePickerItemsFolder)">
|
|
||||||
<Url>https://dl.google.com/dl/cpdc/b3af1cead1fe8d2b/GooglePlacePicker-2.7.0.tar.gz</Url>
|
|
||||||
<Kind>Tgz</Kind>
|
|
||||||
</XamarinBuildDownload>
|
|
||||||
<NativeReference Include="$(_GooglePlacePickerSDKBaseFolder)GooglePlacePicker.framework">
|
|
||||||
<Kind>Framework</Kind>
|
|
||||||
<ForceLoad>True</ForceLoad>
|
|
||||||
<LinkerFlags>-ObjC</LinkerFlags>
|
|
||||||
</NativeReference>
|
|
||||||
|
|
||||||
<XamarinBuildRestoreResources Include="_GooglePlacesItems" />
|
<XamarinBuildRestoreResources Include="_GooglePlacesItems" />
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
|
|
||||||
|
@ -275,218 +262,6 @@
|
||||||
<LogicalName>__monotouch_content_GooglePlaces.bundle_fzh__TW.lproj_fGooglePlaces.strings</LogicalName>
|
<LogicalName>__monotouch_content_GooglePlaces.bundle_fzh__TW.lproj_fGooglePlaces.strings</LogicalName>
|
||||||
<AssemblyName>$(_GooglePlacesAssemblyName)</AssemblyName>
|
<AssemblyName>$(_GooglePlacesAssemblyName)</AssemblyName>
|
||||||
</RestoreAssemblyResource>
|
</RestoreAssemblyResource>
|
||||||
<RestoreAssemblyResource Include="$(_GooglePlacePickerSDKBaseFolder)GooglePlacePicker.framework\Resources\GooglePlacePicker.bundle\Info.plist">
|
|
||||||
<LogicalName>__monotouch_content_GooglePlacePicker.bundle_fInfo.plist</LogicalName>
|
|
||||||
<AssemblyName>$(_GooglePlacesAssemblyName)</AssemblyName>
|
|
||||||
</RestoreAssemblyResource>
|
|
||||||
<RestoreAssemblyResource Include="$(_GooglePlacePickerSDKBaseFolder)GooglePlacePicker.framework\Resources\GooglePlacePicker.bundle\red_icons.png">
|
|
||||||
<LogicalName>__monotouch_content_GooglePlacePicker.bundle_fred__icons.png</LogicalName>
|
|
||||||
<AssemblyName>$(_GooglePlacesAssemblyName)</AssemblyName>
|
|
||||||
</RestoreAssemblyResource>
|
|
||||||
<RestoreAssemblyResource Include="$(_GooglePlacePickerSDKBaseFolder)GooglePlacePicker.framework\Resources\GooglePlacePicker.bundle\red_icons%402x.png">
|
|
||||||
<LogicalName>__monotouch_content_GooglePlacePicker.bundle_fred__icons%402x.png</LogicalName>
|
|
||||||
<AssemblyName>$(_GooglePlacesAssemblyName)</AssemblyName>
|
|
||||||
</RestoreAssemblyResource>
|
|
||||||
<RestoreAssemblyResource Include="$(_GooglePlacePickerSDKBaseFolder)GooglePlacePicker.framework\Resources\GooglePlacePicker.bundle\red_icons%403x.png">
|
|
||||||
<LogicalName>__monotouch_content_GooglePlacePicker.bundle_fred__icons%403x.png</LogicalName>
|
|
||||||
<AssemblyName>$(_GooglePlacesAssemblyName)</AssemblyName>
|
|
||||||
</RestoreAssemblyResource>
|
|
||||||
<RestoreAssemblyResource Include="$(_GooglePlacePickerSDKBaseFolder)GooglePlacePicker.framework\Resources\GooglePlacePicker.bundle\white_icons.png">
|
|
||||||
<LogicalName>__monotouch_content_GooglePlacePicker.bundle_fwhite__icons.png</LogicalName>
|
|
||||||
<AssemblyName>$(_GooglePlacesAssemblyName)</AssemblyName>
|
|
||||||
</RestoreAssemblyResource>
|
|
||||||
<RestoreAssemblyResource Include="$(_GooglePlacePickerSDKBaseFolder)GooglePlacePicker.framework\Resources\GooglePlacePicker.bundle\white_icons%402x.png">
|
|
||||||
<LogicalName>__monotouch_content_GooglePlacePicker.bundle_fwhite__icons%402x.png</LogicalName>
|
|
||||||
<AssemblyName>$(_GooglePlacesAssemblyName)</AssemblyName>
|
|
||||||
</RestoreAssemblyResource>
|
|
||||||
<RestoreAssemblyResource Include="$(_GooglePlacePickerSDKBaseFolder)GooglePlacePicker.framework\Resources\GooglePlacePicker.bundle\white_icons%403x.png">
|
|
||||||
<LogicalName>__monotouch_content_GooglePlacePicker.bundle_fwhite__icons%403x.png</LogicalName>
|
|
||||||
<AssemblyName>$(_GooglePlacesAssemblyName)</AssemblyName>
|
|
||||||
</RestoreAssemblyResource>
|
|
||||||
<RestoreAssemblyResource Include="$(_GooglePlacePickerSDKBaseFolder)GooglePlacePicker.framework\Resources\GooglePlacePicker.bundle\ar.lproj\GooglePlacePicker.strings">
|
|
||||||
<LogicalName>__monotouch_content_GooglePlacePicker.bundle_far.lproj_fGooglePlacePicker.strings</LogicalName>
|
|
||||||
<AssemblyName>$(_GooglePlacesAssemblyName)</AssemblyName>
|
|
||||||
</RestoreAssemblyResource>
|
|
||||||
<RestoreAssemblyResource Include="$(_GooglePlacePickerSDKBaseFolder)GooglePlacePicker.framework\Resources\GooglePlacePicker.bundle\ca.lproj\GooglePlacePicker.strings">
|
|
||||||
<LogicalName>__monotouch_content_GooglePlacePicker.bundle_fca.lproj_fGooglePlacePicker.strings</LogicalName>
|
|
||||||
<AssemblyName>$(_GooglePlacesAssemblyName)</AssemblyName>
|
|
||||||
</RestoreAssemblyResource>
|
|
||||||
<RestoreAssemblyResource Include="$(_GooglePlacePickerSDKBaseFolder)GooglePlacePicker.framework\Resources\GooglePlacePicker.bundle\cs.lproj\GooglePlacePicker.strings">
|
|
||||||
<LogicalName>__monotouch_content_GooglePlacePicker.bundle_fcs.lproj_fGooglePlacePicker.strings</LogicalName>
|
|
||||||
<AssemblyName>$(_GooglePlacesAssemblyName)</AssemblyName>
|
|
||||||
</RestoreAssemblyResource>
|
|
||||||
<RestoreAssemblyResource Include="$(_GooglePlacePickerSDKBaseFolder)GooglePlacePicker.framework\Resources\GooglePlacePicker.bundle\da.lproj\GooglePlacePicker.strings">
|
|
||||||
<LogicalName>__monotouch_content_GooglePlacePicker.bundle_fda.lproj_fGooglePlacePicker.strings</LogicalName>
|
|
||||||
<AssemblyName>$(_GooglePlacesAssemblyName)</AssemblyName>
|
|
||||||
</RestoreAssemblyResource>
|
|
||||||
<RestoreAssemblyResource Include="$(_GooglePlacePickerSDKBaseFolder)GooglePlacePicker.framework\Resources\GooglePlacePicker.bundle\de.lproj\GooglePlacePicker.strings">
|
|
||||||
<LogicalName>__monotouch_content_GooglePlacePicker.bundle_fde.lproj_fGooglePlacePicker.strings</LogicalName>
|
|
||||||
<AssemblyName>$(_GooglePlacesAssemblyName)</AssemblyName>
|
|
||||||
</RestoreAssemblyResource>
|
|
||||||
<RestoreAssemblyResource Include="$(_GooglePlacePickerSDKBaseFolder)GooglePlacePicker.framework\Resources\GooglePlacePicker.bundle\el.lproj\GooglePlacePicker.strings">
|
|
||||||
<LogicalName>__monotouch_content_GooglePlacePicker.bundle_fel.lproj_fGooglePlacePicker.strings</LogicalName>
|
|
||||||
<AssemblyName>$(_GooglePlacesAssemblyName)</AssemblyName>
|
|
||||||
</RestoreAssemblyResource>
|
|
||||||
<RestoreAssemblyResource Include="$(_GooglePlacePickerSDKBaseFolder)GooglePlacePicker.framework\Resources\GooglePlacePicker.bundle\en.lproj\GooglePlacePicker.strings">
|
|
||||||
<LogicalName>__monotouch_content_GooglePlacePicker.bundle_fen.lproj_fGooglePlacePicker.strings</LogicalName>
|
|
||||||
<AssemblyName>$(_GooglePlacesAssemblyName)</AssemblyName>
|
|
||||||
</RestoreAssemblyResource>
|
|
||||||
<RestoreAssemblyResource Include="$(_GooglePlacePickerSDKBaseFolder)GooglePlacePicker.framework\Resources\GooglePlacePicker.bundle\en_AU.lproj\GooglePlacePicker.strings">
|
|
||||||
<LogicalName>__monotouch_content_GooglePlacePicker.bundle_fen__AU.lproj_fGooglePlacePicker.strings</LogicalName>
|
|
||||||
<AssemblyName>$(_GooglePlacesAssemblyName)</AssemblyName>
|
|
||||||
</RestoreAssemblyResource>
|
|
||||||
<RestoreAssemblyResource Include="$(_GooglePlacePickerSDKBaseFolder)GooglePlacePicker.framework\Resources\GooglePlacePicker.bundle\en_GB.lproj\GooglePlacePicker.strings">
|
|
||||||
<LogicalName>__monotouch_content_GooglePlacePicker.bundle_fen__GB.lproj_fGooglePlacePicker.strings</LogicalName>
|
|
||||||
<AssemblyName>$(_GooglePlacesAssemblyName)</AssemblyName>
|
|
||||||
</RestoreAssemblyResource>
|
|
||||||
<RestoreAssemblyResource Include="$(_GooglePlacePickerSDKBaseFolder)GooglePlacePicker.framework\Resources\GooglePlacePicker.bundle\en_IN.lproj\GooglePlacePicker.strings">
|
|
||||||
<LogicalName>__monotouch_content_GooglePlacePicker.bundle_fen__IN.lproj_fGooglePlacePicker.strings</LogicalName>
|
|
||||||
<AssemblyName>$(_GooglePlacesAssemblyName)</AssemblyName>
|
|
||||||
</RestoreAssemblyResource>
|
|
||||||
<RestoreAssemblyResource Include="$(_GooglePlacePickerSDKBaseFolder)GooglePlacePicker.framework\Resources\GooglePlacePicker.bundle\es.lproj\GooglePlacePicker.strings">
|
|
||||||
<LogicalName>__monotouch_content_GooglePlacePicker.bundle_fes.lproj_fGooglePlacePicker.strings</LogicalName>
|
|
||||||
<AssemblyName>$(_GooglePlacesAssemblyName)</AssemblyName>
|
|
||||||
</RestoreAssemblyResource>
|
|
||||||
<RestoreAssemblyResource Include="$(_GooglePlacePickerSDKBaseFolder)GooglePlacePicker.framework\Resources\GooglePlacePicker.bundle\es_419.lproj\GooglePlacePicker.strings">
|
|
||||||
<LogicalName>__monotouch_content_GooglePlacePicker.bundle_fes__419.lproj_fGooglePlacePicker.strings</LogicalName>
|
|
||||||
<AssemblyName>$(_GooglePlacesAssemblyName)</AssemblyName>
|
|
||||||
</RestoreAssemblyResource>
|
|
||||||
<RestoreAssemblyResource Include="$(_GooglePlacePickerSDKBaseFolder)GooglePlacePicker.framework\Resources\GooglePlacePicker.bundle\es_MX.lproj\GooglePlacePicker.strings">
|
|
||||||
<LogicalName>__monotouch_content_GooglePlacePicker.bundle_fes__MX.lproj_fGooglePlacePicker.strings</LogicalName>
|
|
||||||
<AssemblyName>$(_GooglePlacesAssemblyName)</AssemblyName>
|
|
||||||
</RestoreAssemblyResource>
|
|
||||||
<RestoreAssemblyResource Include="$(_GooglePlacePickerSDKBaseFolder)GooglePlacePicker.framework\Resources\GooglePlacePicker.bundle\fi.lproj\GooglePlacePicker.strings">
|
|
||||||
<LogicalName>__monotouch_content_GooglePlacePicker.bundle_ffi.lproj_fGooglePlacePicker.strings</LogicalName>
|
|
||||||
<AssemblyName>$(_GooglePlacesAssemblyName)</AssemblyName>
|
|
||||||
</RestoreAssemblyResource>
|
|
||||||
<RestoreAssemblyResource Include="$(_GooglePlacePickerSDKBaseFolder)GooglePlacePicker.framework\Resources\GooglePlacePicker.bundle\fr.lproj\GooglePlacePicker.strings">
|
|
||||||
<LogicalName>__monotouch_content_GooglePlacePicker.bundle_ffr.lproj_fGooglePlacePicker.strings</LogicalName>
|
|
||||||
<AssemblyName>$(_GooglePlacesAssemblyName)</AssemblyName>
|
|
||||||
</RestoreAssemblyResource>
|
|
||||||
<RestoreAssemblyResource Include="$(_GooglePlacePickerSDKBaseFolder)GooglePlacePicker.framework\Resources\GooglePlacePicker.bundle\fr_CA.lproj\GooglePlacePicker.strings">
|
|
||||||
<LogicalName>__monotouch_content_GooglePlacePicker.bundle_ffr__CA.lproj_fGooglePlacePicker.strings</LogicalName>
|
|
||||||
<AssemblyName>$(_GooglePlacesAssemblyName)</AssemblyName>
|
|
||||||
</RestoreAssemblyResource>
|
|
||||||
<RestoreAssemblyResource Include="$(_GooglePlacePickerSDKBaseFolder)GooglePlacePicker.framework\Resources\GooglePlacePicker.bundle\he.lproj\GooglePlacePicker.strings">
|
|
||||||
<LogicalName>__monotouch_content_GooglePlacePicker.bundle_fhe.lproj_fGooglePlacePicker.strings</LogicalName>
|
|
||||||
<AssemblyName>$(_GooglePlacesAssemblyName)</AssemblyName>
|
|
||||||
</RestoreAssemblyResource>
|
|
||||||
<RestoreAssemblyResource Include="$(_GooglePlacePickerSDKBaseFolder)GooglePlacePicker.framework\Resources\GooglePlacePicker.bundle\hi.lproj\GooglePlacePicker.strings">
|
|
||||||
<LogicalName>__monotouch_content_GooglePlacePicker.bundle_fhi.lproj_fGooglePlacePicker.strings</LogicalName>
|
|
||||||
<AssemblyName>$(_GooglePlacesAssemblyName)</AssemblyName>
|
|
||||||
</RestoreAssemblyResource>
|
|
||||||
<RestoreAssemblyResource Include="$(_GooglePlacePickerSDKBaseFolder)GooglePlacePicker.framework\Resources\GooglePlacePicker.bundle\hr.lproj\GooglePlacePicker.strings">
|
|
||||||
<LogicalName>__monotouch_content_GooglePlacePicker.bundle_fhr.lproj_fGooglePlacePicker.strings</LogicalName>
|
|
||||||
<AssemblyName>$(_GooglePlacesAssemblyName)</AssemblyName>
|
|
||||||
</RestoreAssemblyResource>
|
|
||||||
<RestoreAssemblyResource Include="$(_GooglePlacePickerSDKBaseFolder)GooglePlacePicker.framework\Resources\GooglePlacePicker.bundle\hu.lproj\GooglePlacePicker.strings">
|
|
||||||
<LogicalName>__monotouch_content_GooglePlacePicker.bundle_fhu.lproj_fGooglePlacePicker.strings</LogicalName>
|
|
||||||
<AssemblyName>$(_GooglePlacesAssemblyName)</AssemblyName>
|
|
||||||
</RestoreAssemblyResource>
|
|
||||||
<RestoreAssemblyResource Include="$(_GooglePlacePickerSDKBaseFolder)GooglePlacePicker.framework\Resources\GooglePlacePicker.bundle\id.lproj\GooglePlacePicker.strings">
|
|
||||||
<LogicalName>__monotouch_content_GooglePlacePicker.bundle_fid.lproj_fGooglePlacePicker.strings</LogicalName>
|
|
||||||
<AssemblyName>$(_GooglePlacesAssemblyName)</AssemblyName>
|
|
||||||
</RestoreAssemblyResource>
|
|
||||||
<RestoreAssemblyResource Include="$(_GooglePlacePickerSDKBaseFolder)GooglePlacePicker.framework\Resources\GooglePlacePicker.bundle\it.lproj\GooglePlacePicker.strings">
|
|
||||||
<LogicalName>__monotouch_content_GooglePlacePicker.bundle_fit.lproj_fGooglePlacePicker.strings</LogicalName>
|
|
||||||
<AssemblyName>$(_GooglePlacesAssemblyName)</AssemblyName>
|
|
||||||
</RestoreAssemblyResource>
|
|
||||||
<RestoreAssemblyResource Include="$(_GooglePlacePickerSDKBaseFolder)GooglePlacePicker.framework\Resources\GooglePlacePicker.bundle\iw.lproj\GooglePlacePicker.strings">
|
|
||||||
<LogicalName>__monotouch_content_GooglePlacePicker.bundle_fiw.lproj_fGooglePlacePicker.strings</LogicalName>
|
|
||||||
<AssemblyName>$(_GooglePlacesAssemblyName)</AssemblyName>
|
|
||||||
</RestoreAssemblyResource>
|
|
||||||
<RestoreAssemblyResource Include="$(_GooglePlacePickerSDKBaseFolder)GooglePlacePicker.framework\Resources\GooglePlacePicker.bundle\ja.lproj\GooglePlacePicker.strings">
|
|
||||||
<LogicalName>__monotouch_content_GooglePlacePicker.bundle_fja.lproj_fGooglePlacePicker.strings</LogicalName>
|
|
||||||
<AssemblyName>$(_GooglePlacesAssemblyName)</AssemblyName>
|
|
||||||
</RestoreAssemblyResource>
|
|
||||||
<RestoreAssemblyResource Include="$(_GooglePlacePickerSDKBaseFolder)GooglePlacePicker.framework\Resources\GooglePlacePicker.bundle\ko.lproj\GooglePlacePicker.strings">
|
|
||||||
<LogicalName>__monotouch_content_GooglePlacePicker.bundle_fko.lproj_fGooglePlacePicker.strings</LogicalName>
|
|
||||||
<AssemblyName>$(_GooglePlacesAssemblyName)</AssemblyName>
|
|
||||||
</RestoreAssemblyResource>
|
|
||||||
<RestoreAssemblyResource Include="$(_GooglePlacePickerSDKBaseFolder)GooglePlacePicker.framework\Resources\GooglePlacePicker.bundle\lt.lproj\GooglePlacePicker.strings">
|
|
||||||
<LogicalName>__monotouch_content_GooglePlacePicker.bundle_flt.lproj_fGooglePlacePicker.strings</LogicalName>
|
|
||||||
<AssemblyName>$(_GooglePlacesAssemblyName)</AssemblyName>
|
|
||||||
</RestoreAssemblyResource>
|
|
||||||
<RestoreAssemblyResource Include="$(_GooglePlacePickerSDKBaseFolder)GooglePlacePicker.framework\Resources\GooglePlacePicker.bundle\lv.lproj\GooglePlacePicker.strings">
|
|
||||||
<LogicalName>__monotouch_content_GooglePlacePicker.bundle_flv.lproj_fGooglePlacePicker.strings</LogicalName>
|
|
||||||
<AssemblyName>$(_GooglePlacesAssemblyName)</AssemblyName>
|
|
||||||
</RestoreAssemblyResource>
|
|
||||||
<RestoreAssemblyResource Include="$(_GooglePlacePickerSDKBaseFolder)GooglePlacePicker.framework\Resources\GooglePlacePicker.bundle\ms.lproj\GooglePlacePicker.strings">
|
|
||||||
<LogicalName>__monotouch_content_GooglePlacePicker.bundle_fms.lproj_fGooglePlacePicker.strings</LogicalName>
|
|
||||||
<AssemblyName>$(_GooglePlacesAssemblyName)</AssemblyName>
|
|
||||||
</RestoreAssemblyResource>
|
|
||||||
<RestoreAssemblyResource Include="$(_GooglePlacePickerSDKBaseFolder)GooglePlacePicker.framework\Resources\GooglePlacePicker.bundle\nb.lproj\GooglePlacePicker.strings">
|
|
||||||
<LogicalName>__monotouch_content_GooglePlacePicker.bundle_fnb.lproj_fGooglePlacePicker.strings</LogicalName>
|
|
||||||
<AssemblyName>$(_GooglePlacesAssemblyName)</AssemblyName>
|
|
||||||
</RestoreAssemblyResource>
|
|
||||||
<RestoreAssemblyResource Include="$(_GooglePlacePickerSDKBaseFolder)GooglePlacePicker.framework\Resources\GooglePlacePicker.bundle\nl.lproj\GooglePlacePicker.strings">
|
|
||||||
<LogicalName>__monotouch_content_GooglePlacePicker.bundle_fnl.lproj_fGooglePlacePicker.strings</LogicalName>
|
|
||||||
<AssemblyName>$(_GooglePlacesAssemblyName)</AssemblyName>
|
|
||||||
</RestoreAssemblyResource>
|
|
||||||
<RestoreAssemblyResource Include="$(_GooglePlacePickerSDKBaseFolder)GooglePlacePicker.framework\Resources\GooglePlacePicker.bundle\no.lproj\GooglePlacePicker.strings">
|
|
||||||
<LogicalName>__monotouch_content_GooglePlacePicker.bundle_fno.lproj_fGooglePlacePicker.strings</LogicalName>
|
|
||||||
<AssemblyName>$(_GooglePlacesAssemblyName)</AssemblyName>
|
|
||||||
</RestoreAssemblyResource>
|
|
||||||
<RestoreAssemblyResource Include="$(_GooglePlacePickerSDKBaseFolder)GooglePlacePicker.framework\Resources\GooglePlacePicker.bundle\pl.lproj\GooglePlacePicker.strings">
|
|
||||||
<LogicalName>__monotouch_content_GooglePlacePicker.bundle_fpl.lproj_fGooglePlacePicker.strings</LogicalName>
|
|
||||||
<AssemblyName>$(_GooglePlacesAssemblyName)</AssemblyName>
|
|
||||||
</RestoreAssemblyResource>
|
|
||||||
<RestoreAssemblyResource Include="$(_GooglePlacePickerSDKBaseFolder)GooglePlacePicker.framework\Resources\GooglePlacePicker.bundle\pt.lproj\GooglePlacePicker.strings">
|
|
||||||
<LogicalName>__monotouch_content_GooglePlacePicker.bundle_fpt.lproj_fGooglePlacePicker.strings</LogicalName>
|
|
||||||
<AssemblyName>$(_GooglePlacesAssemblyName)</AssemblyName>
|
|
||||||
</RestoreAssemblyResource>
|
|
||||||
<RestoreAssemblyResource Include="$(_GooglePlacePickerSDKBaseFolder)GooglePlacePicker.framework\Resources\GooglePlacePicker.bundle\pt_BR.lproj\GooglePlacePicker.strings">
|
|
||||||
<LogicalName>__monotouch_content_GooglePlacePicker.bundle_fpt__BR.lproj_fGooglePlacePicker.strings</LogicalName>
|
|
||||||
<AssemblyName>$(_GooglePlacesAssemblyName)</AssemblyName>
|
|
||||||
</RestoreAssemblyResource>
|
|
||||||
<RestoreAssemblyResource Include="$(_GooglePlacePickerSDKBaseFolder)GooglePlacePicker.framework\Resources\GooglePlacePicker.bundle\pt_PT.lproj\GooglePlacePicker.strings">
|
|
||||||
<LogicalName>__monotouch_content_GooglePlacePicker.bundle_fpt__PT.lproj_fGooglePlacePicker.strings</LogicalName>
|
|
||||||
<AssemblyName>$(_GooglePlacesAssemblyName)</AssemblyName>
|
|
||||||
</RestoreAssemblyResource>
|
|
||||||
<RestoreAssemblyResource Include="$(_GooglePlacePickerSDKBaseFolder)GooglePlacePicker.framework\Resources\GooglePlacePicker.bundle\ro.lproj\GooglePlacePicker.strings">
|
|
||||||
<LogicalName>__monotouch_content_GooglePlacePicker.bundle_fro.lproj_fGooglePlacePicker.strings</LogicalName>
|
|
||||||
<AssemblyName>$(_GooglePlacesAssemblyName)</AssemblyName>
|
|
||||||
</RestoreAssemblyResource>
|
|
||||||
<RestoreAssemblyResource Include="$(_GooglePlacePickerSDKBaseFolder)GooglePlacePicker.framework\Resources\GooglePlacePicker.bundle\ru.lproj\GooglePlacePicker.strings">
|
|
||||||
<LogicalName>__monotouch_content_GooglePlacePicker.bundle_fru.lproj_fGooglePlacePicker.strings</LogicalName>
|
|
||||||
<AssemblyName>$(_GooglePlacesAssemblyName)</AssemblyName>
|
|
||||||
</RestoreAssemblyResource>
|
|
||||||
<RestoreAssemblyResource Include="$(_GooglePlacePickerSDKBaseFolder)GooglePlacePicker.framework\Resources\GooglePlacePicker.bundle\sk.lproj\GooglePlacePicker.strings">
|
|
||||||
<LogicalName>__monotouch_content_GooglePlacePicker.bundle_fsk.lproj_fGooglePlacePicker.strings</LogicalName>
|
|
||||||
<AssemblyName>$(_GooglePlacesAssemblyName)</AssemblyName>
|
|
||||||
</RestoreAssemblyResource>
|
|
||||||
<RestoreAssemblyResource Include="$(_GooglePlacePickerSDKBaseFolder)GooglePlacePicker.framework\Resources\GooglePlacePicker.bundle\sv.lproj\GooglePlacePicker.strings">
|
|
||||||
<LogicalName>__monotouch_content_GooglePlacePicker.bundle_fsv.lproj_fGooglePlacePicker.strings</LogicalName>
|
|
||||||
<AssemblyName>$(_GooglePlacesAssemblyName)</AssemblyName>
|
|
||||||
</RestoreAssemblyResource>
|
|
||||||
<RestoreAssemblyResource Include="$(_GooglePlacePickerSDKBaseFolder)GooglePlacePicker.framework\Resources\GooglePlacePicker.bundle\th.lproj\GooglePlacePicker.strings">
|
|
||||||
<LogicalName>__monotouch_content_GooglePlacePicker.bundle_fth.lproj_fGooglePlacePicker.strings</LogicalName>
|
|
||||||
<AssemblyName>$(_GooglePlacesAssemblyName)</AssemblyName>
|
|
||||||
</RestoreAssemblyResource>
|
|
||||||
<RestoreAssemblyResource Include="$(_GooglePlacePickerSDKBaseFolder)GooglePlacePicker.framework\Resources\GooglePlacePicker.bundle\tr.lproj\GooglePlacePicker.strings">
|
|
||||||
<LogicalName>__monotouch_content_GooglePlacePicker.bundle_ftr.lproj_fGooglePlacePicker.strings</LogicalName>
|
|
||||||
<AssemblyName>$(_GooglePlacesAssemblyName)</AssemblyName>
|
|
||||||
</RestoreAssemblyResource>
|
|
||||||
<RestoreAssemblyResource Include="$(_GooglePlacePickerSDKBaseFolder)GooglePlacePicker.framework\Resources\GooglePlacePicker.bundle\uk.lproj\GooglePlacePicker.strings">
|
|
||||||
<LogicalName>__monotouch_content_GooglePlacePicker.bundle_fuk.lproj_fGooglePlacePicker.strings</LogicalName>
|
|
||||||
<AssemblyName>$(_GooglePlacesAssemblyName)</AssemblyName>
|
|
||||||
</RestoreAssemblyResource>
|
|
||||||
<RestoreAssemblyResource Include="$(_GooglePlacePickerSDKBaseFolder)GooglePlacePicker.framework\Resources\GooglePlacePicker.bundle\vi.lproj\GooglePlacePicker.strings">
|
|
||||||
<LogicalName>__monotouch_content_GooglePlacePicker.bundle_fvi.lproj_fGooglePlacePicker.strings</LogicalName>
|
|
||||||
<AssemblyName>$(_GooglePlacesAssemblyName)</AssemblyName>
|
|
||||||
</RestoreAssemblyResource>
|
|
||||||
<RestoreAssemblyResource Include="$(_GooglePlacePickerSDKBaseFolder)GooglePlacePicker.framework\Resources\GooglePlacePicker.bundle\zh_CN.lproj\GooglePlacePicker.strings">
|
|
||||||
<LogicalName>__monotouch_content_GooglePlacePicker.bundle_fzh__CN.lproj_fGooglePlacePicker.strings</LogicalName>
|
|
||||||
<AssemblyName>$(_GooglePlacesAssemblyName)</AssemblyName>
|
|
||||||
</RestoreAssemblyResource>
|
|
||||||
<RestoreAssemblyResource Include="$(_GooglePlacePickerSDKBaseFolder)GooglePlacePicker.framework\Resources\GooglePlacePicker.bundle\zh_HK.lproj\GooglePlacePicker.strings">
|
|
||||||
<LogicalName>__monotouch_content_GooglePlacePicker.bundle_fzh__HK.lproj_fGooglePlacePicker.strings</LogicalName>
|
|
||||||
<AssemblyName>$(_GooglePlacesAssemblyName)</AssemblyName>
|
|
||||||
</RestoreAssemblyResource>
|
|
||||||
<RestoreAssemblyResource Include="$(_GooglePlacePickerSDKBaseFolder)GooglePlacePicker.framework\Resources\GooglePlacePicker.bundle\zh_TW.lproj\GooglePlacePicker.strings">
|
|
||||||
<LogicalName>__monotouch_content_GooglePlacePicker.bundle_fzh__TW.lproj_fGooglePlacePicker.strings</LogicalName>
|
|
||||||
<AssemblyName>$(_GooglePlacesAssemblyName)</AssemblyName>
|
|
||||||
</RestoreAssemblyResource>
|
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
|
|
||||||
</Target>
|
</Target>
|
||||||
|
|
|
@ -26,7 +26,7 @@ using Foundation;
|
||||||
// and "{Major}.{Minor}.{Build}.*" will update just the revision.
|
// and "{Major}.{Minor}.{Build}.*" will update just the revision.
|
||||||
|
|
||||||
[assembly: AssemblyVersion ("1.0.0.0")]
|
[assembly: AssemblyVersion ("1.0.0.0")]
|
||||||
[assembly: AssemblyFileVersion("2.7.0.0")]
|
[assembly: AssemblyFileVersion("3.0.3.0")]
|
||||||
|
|
||||||
// The following attributes are used to specify the signing key for the assembly,
|
// The following attributes are used to specify the signing key for the assembly,
|
||||||
// if desired. See the Mono documentation for more information about signing.
|
// if desired. See the Mono documentation for more information about signing.
|
||||||
|
|
|
@ -28,7 +28,7 @@ Xamarin creates and maintains Xamarin.iOS bindings for the Google APIs for iOS L
|
||||||
| [Xamarin.Google.iOS.AppIndexing][G.AppIndexing.Name] | [2.0.3.5][G.AppIndexing.Package] |
|
| [Xamarin.Google.iOS.AppIndexing][G.AppIndexing.Name] | [2.0.3.5][G.AppIndexing.Package] |
|
||||||
| [Xamarin.Google.iOS.Cast][G.Cast.Name] | [4.3.2.0][G.Cast.Package] |
|
| [Xamarin.Google.iOS.Cast][G.Cast.Name] | [4.3.2.0][G.Cast.Package] |
|
||||||
| [Xamarin.Google.iOS.InstanceID][G.InstanceID.Name] | [1.2.1.14][G.InstanceID.Package] |
|
| [Xamarin.Google.iOS.InstanceID][G.InstanceID.Name] | [1.2.1.14][G.InstanceID.Package] |
|
||||||
| [Xamarin.Google.iOS.Maps][G.Maps.Name] | [2.7.0.0][G.Maps.Package] |
|
| [Xamarin.Google.iOS.Maps][G.Maps.Name] | [3.0.3.0][G.Maps.Package] |
|
||||||
| [Xamarin.Google.iOS.MobileAds][G.MobileAds.Name] | [7.38.0.0][G.MobileAds.Package] |
|
| [Xamarin.Google.iOS.MobileAds][G.MobileAds.Name] | [7.38.0.0][G.MobileAds.Package] |
|
||||||
| [Xamarin.Google.iOS.Places][G.Places.Name] | [2.7.0.0][G.Places.Package] |
|
| [Xamarin.Google.iOS.Places][G.Places.Name] | [2.7.0.0][G.Places.Package] |
|
||||||
| [Xamarin.Google.iOS.PlayGames][G.PlayGames.Name] | [5.1.1.10][G.PlayGames.Package] |
|
| [Xamarin.Google.iOS.PlayGames][G.PlayGames.Name] | [5.1.1.10][G.PlayGames.Package] |
|
||||||
|
|
Загрузка…
Ссылка в новой задаче