Modern-Apps.git
Publicgit clone https://git.maproj.org/Modern-Apps.gitModern-Apps.git / library / aosp-stubs / src / main / java / android / telephony / ims / RcsContactUceCapability.java
RcsContactUceCapability.java53 lines · 1.6 KiBRaw
| 1 | package android.telephony.ims; |
| 2 | |
| 3 | import android.net.Uri; |
| 4 | import java.util.List; |
| 5 | import java.util.Set; |
| 6 | |
| 7 | /** |
| 8 | * Compile-only stub of the framework's {@code @SystemApi} |
| 9 | * {@code android.telephony.ims.RcsContactUceCapability}. Not packaged; the |
| 10 | * real class is provided by the framework at runtime. |
| 11 | */ |
| 12 | public final class RcsContactUceCapability { |
| 13 | public static final int CAPABILITY_MECHANISM_PRESENCE = 1; |
| 14 | public static final int CAPABILITY_MECHANISM_OPTIONS = 2; |
| 15 | public static final int SOURCE_TYPE_NETWORK = 0; |
| 16 | public static final int SOURCE_TYPE_CACHED = 1; |
| 17 | public static final int REQUEST_RESULT_UNKNOWN = 0; |
| 18 | public static final int REQUEST_RESULT_NOT_ONLINE = 1; |
| 19 | public static final int REQUEST_RESULT_NOT_FOUND = 2; |
| 20 | public static final int REQUEST_RESULT_FOUND = 3; |
| 21 | |
| 22 | public @interface CapabilityMechanism {} |
| 23 | public @interface SourceType {} |
| 24 | public @interface RequestResult {} |
| 25 | |
| 26 | public Uri getContactUri() { |
| 27 | throw new RuntimeException("Stub"); |
| 28 | } |
| 29 | |
| 30 | public Set<String> getFeatureTags() { |
| 31 | throw new RuntimeException("Stub"); |
| 32 | } |
| 33 | |
| 34 | public @CapabilityMechanism int getCapabilityMechanism() { |
| 35 | throw new RuntimeException("Stub"); |
| 36 | } |
| 37 | |
| 38 | public @SourceType int getSourceType() { |
| 39 | throw new RuntimeException("Stub"); |
| 40 | } |
| 41 | |
| 42 | public @RequestResult int getRequestResult() { |
| 43 | throw new RuntimeException("Stub"); |
| 44 | } |
| 45 | |
| 46 | public Uri getEntityUri() { |
| 47 | throw new RuntimeException("Stub"); |
| 48 | } |
| 49 | |
| 50 | public List<String> getCapabilityTuples() { |
| 51 | throw new RuntimeException("Stub"); |
| 52 | } |
| 53 | } |