Welcome to mirror list, hosted at ThFree Co, Russian Federation.

Factory.java « geofence « maps « mapswithme « com « src « android - github.com/mapsme/omim.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 1cfcbc91e052fc75883d90b9e05b4c67842dfb76 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
package com.mapswithme.maps.geofence;

import android.support.annotation.NonNull;

import com.google.android.gms.location.Geofence;
import com.mapswithme.maps.bookmarks.data.FeatureId;

class Factory
{
  @NonNull
  public static FeatureId from(@NonNull Geofence geofence)
  {
    String requestId = geofence.getRequestId();
    return FeatureId.fromFeatureIdString(requestId);
  }
}