summaryrefslogtreecommitdiff
path: root/platform/android/MapboxGLAndroidSDK/src/main/java/com/mapbox/mapboxsdk/annotations/ArrowDirection.java
blob: 220544815ea30eb8843437362be938699eec8771 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
package com.mapbox.mapboxsdk.annotations;

import android.support.annotation.IntDef;

import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;

@Deprecated
class ArrowDirection {
  @IntDef( {LEFT, RIGHT, TOP, BOTTOM})
  @Retention(RetentionPolicy.SOURCE)
  @interface Value {
  }

  static final int LEFT = 0;
  static final int RIGHT = 1;
  static final int TOP = 2;
  static final int BOTTOM = 3;

  @Value
  private final int value;

  ArrowDirection(@Value int value) {
    this.value = value;
  }

  @Value
  public int getValue() {
    return value;
  }
}