コード例 #1
0
 /// <summary>
 /// Check if the current geo type is one of the HERE maps schemes, as these require the AppId.
 /// </summary>
 /// <returns>If the currently selected map scheme is a HERE maps scheme.</returns>
 public static bool IsHereMapsType(NfcGeoType geoType)
 {
     return(geoType == NfcGeoType.HereDirections ||
            geoType == NfcGeoType.HereExploreShowMap ||
            geoType == NfcGeoType.HereExploreShowPlace ||
            geoType == NfcGeoType.HereDriveGuidance ||
            geoType == NfcGeoType.HereWalkGuidance ||
            geoType == NfcGeoType.HerePublicTransit);
 }
コード例 #2
0
ファイル: NdefGeoRecord.cs プロジェクト: CruzerBoon/ndef-nfc
 /// <summary>
 /// Check if the current geo type is one of the HERE maps schemes, as these require the AppId.
 /// </summary>
 /// <returns>If the currently selected map scheme is a HERE maps scheme.</returns>
 public static bool IsHereMapsType(NfcGeoType geoType)
 {
     return geoType == NfcGeoType.HereDirections ||
            geoType == NfcGeoType.HereExploreShowMap ||
            geoType == NfcGeoType.HereExploreShowPlace ||
            geoType == NfcGeoType.HereDriveGuidance ||
            geoType == NfcGeoType.HereWalkGuidance ||
            geoType == NfcGeoType.HerePublicTransit;
 }