Merge "Unhide RcsMessageStore APIs"
am: 231a9cb709
Change-Id: I2aa19b4e5f20dbd43dc2a49b6d1be492ae2b1d11
This commit is contained in:
477
api/current.txt
477
api/current.txt
@@ -43552,6 +43552,483 @@ package android.telephony.gsm {
|
|||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
package android.telephony.ims {
|
||||||
|
|
||||||
|
public class Rcs1To1Thread extends android.telephony.ims.RcsThread {
|
||||||
|
method @WorkerThread public long getFallbackThreadId() throws android.telephony.ims.RcsMessageStoreException;
|
||||||
|
method @NonNull @WorkerThread public android.telephony.ims.RcsParticipant getRecipient() throws android.telephony.ims.RcsMessageStoreException;
|
||||||
|
method public boolean isGroup();
|
||||||
|
method @WorkerThread public void setFallbackThreadId(long) throws android.telephony.ims.RcsMessageStoreException;
|
||||||
|
}
|
||||||
|
|
||||||
|
public abstract class RcsEvent {
|
||||||
|
ctor protected RcsEvent(long);
|
||||||
|
method public long getTimestamp();
|
||||||
|
}
|
||||||
|
|
||||||
|
public final class RcsEventQueryParams implements android.os.Parcelable {
|
||||||
|
method public int describeContents();
|
||||||
|
method @android.telephony.ims.RcsEventQueryParams.EventType public int getEventType();
|
||||||
|
method public int getLimit();
|
||||||
|
method public boolean getSortDirection();
|
||||||
|
method public int getSortingProperty();
|
||||||
|
method public void writeToParcel(android.os.Parcel, int);
|
||||||
|
field public static final int ALL_EVENTS = -1; // 0xffffffff
|
||||||
|
field public static final int ALL_GROUP_THREAD_EVENTS = 0; // 0x0
|
||||||
|
field public static final android.os.Parcelable.Creator<android.telephony.ims.RcsEventQueryParams> CREATOR;
|
||||||
|
field public static final int GROUP_THREAD_ICON_CHANGED_EVENT = 8; // 0x8
|
||||||
|
field public static final int GROUP_THREAD_NAME_CHANGED_EVENT = 16; // 0x10
|
||||||
|
field public static final int GROUP_THREAD_PARTICIPANT_JOINED_EVENT = 2; // 0x2
|
||||||
|
field public static final int GROUP_THREAD_PARTICIPANT_LEFT_EVENT = 4; // 0x4
|
||||||
|
field public static final int PARTICIPANT_ALIAS_CHANGED_EVENT = 1; // 0x1
|
||||||
|
field public static final int SORT_BY_CREATION_ORDER = 0; // 0x0
|
||||||
|
field public static final int SORT_BY_TIMESTAMP = 1; // 0x1
|
||||||
|
}
|
||||||
|
|
||||||
|
public static class RcsEventQueryParams.Builder {
|
||||||
|
ctor public RcsEventQueryParams.Builder();
|
||||||
|
method public android.telephony.ims.RcsEventQueryParams build();
|
||||||
|
method @CheckResult public android.telephony.ims.RcsEventQueryParams.Builder setEventType(@android.telephony.ims.RcsEventQueryParams.EventType int);
|
||||||
|
method @CheckResult public android.telephony.ims.RcsEventQueryParams.Builder setGroupThread(@NonNull android.telephony.ims.RcsGroupThread);
|
||||||
|
method @CheckResult public android.telephony.ims.RcsEventQueryParams.Builder setResultLimit(@IntRange(from=0) int) throws java.security.InvalidParameterException;
|
||||||
|
method @CheckResult public android.telephony.ims.RcsEventQueryParams.Builder setSortDirection(boolean);
|
||||||
|
method @CheckResult public android.telephony.ims.RcsEventQueryParams.Builder setSortProperty(@android.telephony.ims.RcsEventQueryParams.SortingProperty int);
|
||||||
|
}
|
||||||
|
|
||||||
|
@java.lang.annotation.Retention(java.lang.annotation.RetentionPolicy.SOURCE) @IntDef({android.telephony.ims.RcsEventQueryParams.ALL_EVENTS, android.telephony.ims.RcsEventQueryParams.ALL_GROUP_THREAD_EVENTS, android.telephony.ims.RcsEventQueryParams.PARTICIPANT_ALIAS_CHANGED_EVENT, android.telephony.ims.RcsEventQueryParams.GROUP_THREAD_PARTICIPANT_JOINED_EVENT, android.telephony.ims.RcsEventQueryParams.GROUP_THREAD_PARTICIPANT_LEFT_EVENT, android.telephony.ims.RcsEventQueryParams.GROUP_THREAD_NAME_CHANGED_EVENT, android.telephony.ims.RcsEventQueryParams.GROUP_THREAD_ICON_CHANGED_EVENT}) public static @interface RcsEventQueryParams.EventType {
|
||||||
|
}
|
||||||
|
|
||||||
|
@java.lang.annotation.Retention(java.lang.annotation.RetentionPolicy.SOURCE) @IntDef({android.telephony.ims.RcsEventQueryParams.SORT_BY_CREATION_ORDER, android.telephony.ims.RcsEventQueryParams.SORT_BY_TIMESTAMP}) public static @interface RcsEventQueryParams.SortingProperty {
|
||||||
|
}
|
||||||
|
|
||||||
|
public final class RcsEventQueryResult implements android.os.Parcelable {
|
||||||
|
method public int describeContents();
|
||||||
|
method public android.telephony.ims.RcsQueryContinuationToken getContinuationToken();
|
||||||
|
method public java.util.List<android.telephony.ims.RcsEvent> getEvents();
|
||||||
|
method public void writeToParcel(android.os.Parcel, int);
|
||||||
|
field public static final android.os.Parcelable.Creator<android.telephony.ims.RcsEventQueryResult> CREATOR;
|
||||||
|
}
|
||||||
|
|
||||||
|
public final class RcsFileTransferCreationParams implements android.os.Parcelable {
|
||||||
|
method public int describeContents();
|
||||||
|
method public String getContentMimeType();
|
||||||
|
method public android.net.Uri getContentUri();
|
||||||
|
method public long getFileSize();
|
||||||
|
method @android.telephony.ims.RcsFileTransferPart.RcsFileTransferStatus public int getFileTransferStatus();
|
||||||
|
method public int getHeight();
|
||||||
|
method public long getMediaDuration();
|
||||||
|
method public String getPreviewMimeType();
|
||||||
|
method public android.net.Uri getPreviewUri();
|
||||||
|
method public String getRcsFileTransferSessionId();
|
||||||
|
method public long getTransferOffset();
|
||||||
|
method public int getWidth();
|
||||||
|
method public void writeToParcel(android.os.Parcel, int);
|
||||||
|
field public static final android.os.Parcelable.Creator<android.telephony.ims.RcsFileTransferCreationParams> CREATOR;
|
||||||
|
}
|
||||||
|
|
||||||
|
public class RcsFileTransferCreationParams.Builder {
|
||||||
|
ctor public RcsFileTransferCreationParams.Builder();
|
||||||
|
method public android.telephony.ims.RcsFileTransferCreationParams build();
|
||||||
|
method @CheckResult public android.telephony.ims.RcsFileTransferCreationParams.Builder setContentMimeType(String);
|
||||||
|
method @CheckResult public android.telephony.ims.RcsFileTransferCreationParams.Builder setContentUri(android.net.Uri);
|
||||||
|
method @CheckResult public android.telephony.ims.RcsFileTransferCreationParams.Builder setFileSize(long);
|
||||||
|
method @CheckResult public android.telephony.ims.RcsFileTransferCreationParams.Builder setFileTransferSessionId(String);
|
||||||
|
method @CheckResult public android.telephony.ims.RcsFileTransferCreationParams.Builder setFileTransferStatus(@android.telephony.ims.RcsFileTransferPart.RcsFileTransferStatus int);
|
||||||
|
method @CheckResult public android.telephony.ims.RcsFileTransferCreationParams.Builder setHeight(int);
|
||||||
|
method @CheckResult public android.telephony.ims.RcsFileTransferCreationParams.Builder setMediaDuration(long);
|
||||||
|
method @CheckResult public android.telephony.ims.RcsFileTransferCreationParams.Builder setPreviewMimeType(String);
|
||||||
|
method @CheckResult public android.telephony.ims.RcsFileTransferCreationParams.Builder setPreviewUri(android.net.Uri);
|
||||||
|
method @CheckResult public android.telephony.ims.RcsFileTransferCreationParams.Builder setTransferOffset(long);
|
||||||
|
method @CheckResult public android.telephony.ims.RcsFileTransferCreationParams.Builder setWidth(int);
|
||||||
|
}
|
||||||
|
|
||||||
|
public class RcsFileTransferPart {
|
||||||
|
method @WorkerThread @Nullable public String getContentMimeType() throws android.telephony.ims.RcsMessageStoreException;
|
||||||
|
method @Nullable @WorkerThread public android.net.Uri getContentUri() throws android.telephony.ims.RcsMessageStoreException;
|
||||||
|
method @WorkerThread public long getFileSize() throws android.telephony.ims.RcsMessageStoreException;
|
||||||
|
method @WorkerThread public String getFileTransferSessionId() throws android.telephony.ims.RcsMessageStoreException;
|
||||||
|
method @WorkerThread @android.telephony.ims.RcsFileTransferPart.RcsFileTransferStatus public int getFileTransferStatus() throws android.telephony.ims.RcsMessageStoreException;
|
||||||
|
method @WorkerThread public int getHeight() throws android.telephony.ims.RcsMessageStoreException;
|
||||||
|
method @WorkerThread public long getLength() throws android.telephony.ims.RcsMessageStoreException;
|
||||||
|
method @WorkerThread public String getPreviewMimeType() throws android.telephony.ims.RcsMessageStoreException;
|
||||||
|
method @WorkerThread public android.net.Uri getPreviewUri() throws android.telephony.ims.RcsMessageStoreException;
|
||||||
|
method @WorkerThread public long getTransferOffset() throws android.telephony.ims.RcsMessageStoreException;
|
||||||
|
method @WorkerThread public int getWidth() throws android.telephony.ims.RcsMessageStoreException;
|
||||||
|
method @WorkerThread public void setContentMimeType(String) throws android.telephony.ims.RcsMessageStoreException;
|
||||||
|
method @WorkerThread public void setContentUri(android.net.Uri) throws android.telephony.ims.RcsMessageStoreException;
|
||||||
|
method @WorkerThread public void setFileSize(long) throws android.telephony.ims.RcsMessageStoreException;
|
||||||
|
method @WorkerThread public void setFileTransferSessionId(String) throws android.telephony.ims.RcsMessageStoreException;
|
||||||
|
method @WorkerThread public void setFileTransferStatus(@android.telephony.ims.RcsFileTransferPart.RcsFileTransferStatus int) throws android.telephony.ims.RcsMessageStoreException;
|
||||||
|
method @WorkerThread public void setHeight(int) throws android.telephony.ims.RcsMessageStoreException;
|
||||||
|
method @WorkerThread public void setLength(long) throws android.telephony.ims.RcsMessageStoreException;
|
||||||
|
method @WorkerThread public void setPreviewMimeType(String) throws android.telephony.ims.RcsMessageStoreException;
|
||||||
|
method @WorkerThread public void setPreviewUri(android.net.Uri) throws android.telephony.ims.RcsMessageStoreException;
|
||||||
|
method @WorkerThread public void setTransferOffset(long) throws android.telephony.ims.RcsMessageStoreException;
|
||||||
|
method @WorkerThread public void setWidth(int) throws android.telephony.ims.RcsMessageStoreException;
|
||||||
|
field public static final int DOWNLOADING = 6; // 0x6
|
||||||
|
field public static final int DOWNLOADING_CANCELLED = 9; // 0x9
|
||||||
|
field public static final int DOWNLOADING_FAILED = 8; // 0x8
|
||||||
|
field public static final int DOWNLOADING_PAUSED = 7; // 0x7
|
||||||
|
field public static final int DRAFT = 1; // 0x1
|
||||||
|
field public static final int NOT_SET = 0; // 0x0
|
||||||
|
field public static final int SENDING = 2; // 0x2
|
||||||
|
field public static final int SENDING_CANCELLED = 5; // 0x5
|
||||||
|
field public static final int SENDING_FAILED = 4; // 0x4
|
||||||
|
field public static final int SENDING_PAUSED = 3; // 0x3
|
||||||
|
field public static final int SUCCEEDED = 10; // 0xa
|
||||||
|
}
|
||||||
|
|
||||||
|
@IntDef({android.telephony.ims.RcsFileTransferPart.DRAFT, android.telephony.ims.RcsFileTransferPart.SENDING, android.telephony.ims.RcsFileTransferPart.SENDING_PAUSED, android.telephony.ims.RcsFileTransferPart.SENDING_FAILED, android.telephony.ims.RcsFileTransferPart.SENDING_CANCELLED, android.telephony.ims.RcsFileTransferPart.DOWNLOADING, android.telephony.ims.RcsFileTransferPart.DOWNLOADING_PAUSED, android.telephony.ims.RcsFileTransferPart.DOWNLOADING_FAILED, android.telephony.ims.RcsFileTransferPart.DOWNLOADING_CANCELLED, android.telephony.ims.RcsFileTransferPart.SUCCEEDED}) @java.lang.annotation.Retention(java.lang.annotation.RetentionPolicy.SOURCE) public static @interface RcsFileTransferPart.RcsFileTransferStatus {
|
||||||
|
}
|
||||||
|
|
||||||
|
public class RcsGroupThread extends android.telephony.ims.RcsThread {
|
||||||
|
method @WorkerThread public void addParticipant(@NonNull android.telephony.ims.RcsParticipant) throws android.telephony.ims.RcsMessageStoreException;
|
||||||
|
method @Nullable @WorkerThread public android.net.Uri getConferenceUri() throws android.telephony.ims.RcsMessageStoreException;
|
||||||
|
method @Nullable public android.net.Uri getGroupIcon() throws android.telephony.ims.RcsMessageStoreException;
|
||||||
|
method @Nullable @WorkerThread public String getGroupName() throws android.telephony.ims.RcsMessageStoreException;
|
||||||
|
method @Nullable @WorkerThread public android.telephony.ims.RcsParticipant getOwner() throws android.telephony.ims.RcsMessageStoreException;
|
||||||
|
method @WorkerThread @NonNull public java.util.Set<android.telephony.ims.RcsParticipant> getParticipants() throws android.telephony.ims.RcsMessageStoreException;
|
||||||
|
method public boolean isGroup();
|
||||||
|
method @WorkerThread public void removeParticipant(@NonNull android.telephony.ims.RcsParticipant) throws android.telephony.ims.RcsMessageStoreException;
|
||||||
|
method @Nullable @WorkerThread public void setConferenceUri(android.net.Uri) throws android.telephony.ims.RcsMessageStoreException;
|
||||||
|
method @WorkerThread public void setGroupIcon(@Nullable android.net.Uri) throws android.telephony.ims.RcsMessageStoreException;
|
||||||
|
method @WorkerThread public void setGroupName(String) throws android.telephony.ims.RcsMessageStoreException;
|
||||||
|
method @WorkerThread public void setOwner(@Nullable android.telephony.ims.RcsParticipant) throws android.telephony.ims.RcsMessageStoreException;
|
||||||
|
}
|
||||||
|
|
||||||
|
public abstract class RcsGroupThreadEvent extends android.telephony.ims.RcsEvent {
|
||||||
|
method @NonNull public android.telephony.ims.RcsParticipant getOriginatingParticipant();
|
||||||
|
method @NonNull public android.telephony.ims.RcsGroupThread getRcsGroupThread();
|
||||||
|
}
|
||||||
|
|
||||||
|
public final class RcsGroupThreadIconChangedEvent extends android.telephony.ims.RcsGroupThreadEvent implements android.os.Parcelable {
|
||||||
|
ctor public RcsGroupThreadIconChangedEvent(long, @NonNull android.telephony.ims.RcsGroupThread, @NonNull android.telephony.ims.RcsParticipant, @Nullable android.net.Uri);
|
||||||
|
method public int describeContents();
|
||||||
|
method @Nullable public android.net.Uri getNewIcon();
|
||||||
|
method public void writeToParcel(android.os.Parcel, int);
|
||||||
|
field public static final android.os.Parcelable.Creator<android.telephony.ims.RcsGroupThreadIconChangedEvent> CREATOR;
|
||||||
|
}
|
||||||
|
|
||||||
|
public final class RcsGroupThreadNameChangedEvent extends android.telephony.ims.RcsGroupThreadEvent implements android.os.Parcelable {
|
||||||
|
ctor public RcsGroupThreadNameChangedEvent(long, @NonNull android.telephony.ims.RcsGroupThread, @NonNull android.telephony.ims.RcsParticipant, @Nullable String);
|
||||||
|
method public int describeContents();
|
||||||
|
method @Nullable public String getNewName();
|
||||||
|
method public void writeToParcel(android.os.Parcel, int);
|
||||||
|
field public static final android.os.Parcelable.Creator<android.telephony.ims.RcsGroupThreadNameChangedEvent> CREATOR;
|
||||||
|
}
|
||||||
|
|
||||||
|
public final class RcsGroupThreadParticipantJoinedEvent extends android.telephony.ims.RcsGroupThreadEvent implements android.os.Parcelable {
|
||||||
|
ctor public RcsGroupThreadParticipantJoinedEvent(long, @NonNull android.telephony.ims.RcsGroupThread, @NonNull android.telephony.ims.RcsParticipant, @NonNull android.telephony.ims.RcsParticipant);
|
||||||
|
method public int describeContents();
|
||||||
|
method public android.telephony.ims.RcsParticipant getJoinedParticipant();
|
||||||
|
method public void writeToParcel(android.os.Parcel, int);
|
||||||
|
field public static final android.os.Parcelable.Creator<android.telephony.ims.RcsGroupThreadParticipantJoinedEvent> CREATOR;
|
||||||
|
}
|
||||||
|
|
||||||
|
public final class RcsGroupThreadParticipantLeftEvent extends android.telephony.ims.RcsGroupThreadEvent implements android.os.Parcelable {
|
||||||
|
ctor public RcsGroupThreadParticipantLeftEvent(long, @NonNull android.telephony.ims.RcsGroupThread, @NonNull android.telephony.ims.RcsParticipant, @NonNull android.telephony.ims.RcsParticipant);
|
||||||
|
method public int describeContents();
|
||||||
|
method @NonNull public android.telephony.ims.RcsParticipant getLeavingParticipantId();
|
||||||
|
method public void persist() throws android.telephony.ims.RcsMessageStoreException;
|
||||||
|
method public void writeToParcel(android.os.Parcel, int);
|
||||||
|
field public static final android.os.Parcelable.Creator<android.telephony.ims.RcsGroupThreadParticipantLeftEvent> CREATOR;
|
||||||
|
}
|
||||||
|
|
||||||
|
public class RcsIncomingMessage extends android.telephony.ims.RcsMessage {
|
||||||
|
method @WorkerThread public long getArrivalTimestamp() throws android.telephony.ims.RcsMessageStoreException;
|
||||||
|
method @WorkerThread public long getSeenTimestamp() throws android.telephony.ims.RcsMessageStoreException;
|
||||||
|
method @WorkerThread public android.telephony.ims.RcsParticipant getSenderParticipant() throws android.telephony.ims.RcsMessageStoreException;
|
||||||
|
method public boolean isIncoming();
|
||||||
|
method @WorkerThread public void setArrivalTimestamp(long) throws android.telephony.ims.RcsMessageStoreException;
|
||||||
|
method @WorkerThread public void setSeenTimestamp(long) throws android.telephony.ims.RcsMessageStoreException;
|
||||||
|
}
|
||||||
|
|
||||||
|
public final class RcsIncomingMessageCreationParams extends android.telephony.ims.RcsMessageCreationParams implements android.os.Parcelable {
|
||||||
|
method public int describeContents();
|
||||||
|
method public long getArrivalTimestamp();
|
||||||
|
method public long getSeenTimestamp();
|
||||||
|
method public void writeToParcel(android.os.Parcel, int);
|
||||||
|
field public static final android.os.Parcelable.Creator<android.telephony.ims.RcsIncomingMessageCreationParams> CREATOR;
|
||||||
|
}
|
||||||
|
|
||||||
|
public static class RcsIncomingMessageCreationParams.Builder extends android.telephony.ims.RcsMessageCreationParams.Builder {
|
||||||
|
ctor public RcsIncomingMessageCreationParams.Builder(long, long, int);
|
||||||
|
method public android.telephony.ims.RcsIncomingMessageCreationParams build();
|
||||||
|
method @CheckResult public android.telephony.ims.RcsIncomingMessageCreationParams.Builder setArrivalTimestamp(long);
|
||||||
|
method @CheckResult public android.telephony.ims.RcsIncomingMessageCreationParams.Builder setSeenTimestamp(long);
|
||||||
|
method @CheckResult public android.telephony.ims.RcsIncomingMessageCreationParams.Builder setSenderParticipant(android.telephony.ims.RcsParticipant);
|
||||||
|
}
|
||||||
|
|
||||||
|
public class RcsManager {
|
||||||
|
method public android.telephony.ims.RcsMessageStore getRcsMessageStore();
|
||||||
|
}
|
||||||
|
|
||||||
|
public abstract class RcsMessage {
|
||||||
|
method @NonNull @WorkerThread public java.util.Set<android.telephony.ims.RcsFileTransferPart> getFileTransferParts() throws android.telephony.ims.RcsMessageStoreException;
|
||||||
|
method @WorkerThread public double getLatitude() throws android.telephony.ims.RcsMessageStoreException;
|
||||||
|
method @WorkerThread public double getLongitude() throws android.telephony.ims.RcsMessageStoreException;
|
||||||
|
method @WorkerThread public long getOriginationTimestamp() throws android.telephony.ims.RcsMessageStoreException;
|
||||||
|
method @WorkerThread public String getRcsMessageId() throws android.telephony.ims.RcsMessageStoreException;
|
||||||
|
method @WorkerThread @android.telephony.ims.RcsMessage.RcsMessageStatus public int getStatus() throws android.telephony.ims.RcsMessageStoreException;
|
||||||
|
method public int getSubscriptionId() throws android.telephony.ims.RcsMessageStoreException;
|
||||||
|
method @WorkerThread public String getText() throws android.telephony.ims.RcsMessageStoreException;
|
||||||
|
method @NonNull @WorkerThread public android.telephony.ims.RcsFileTransferPart insertFileTransfer(android.telephony.ims.RcsFileTransferCreationParams) throws android.telephony.ims.RcsMessageStoreException;
|
||||||
|
method public abstract boolean isIncoming();
|
||||||
|
method @WorkerThread public void removeFileTransferPart(@NonNull android.telephony.ims.RcsFileTransferPart) throws android.telephony.ims.RcsMessageStoreException;
|
||||||
|
method @WorkerThread public void setLatitude(double) throws android.telephony.ims.RcsMessageStoreException;
|
||||||
|
method @WorkerThread public void setLongitude(double) throws android.telephony.ims.RcsMessageStoreException;
|
||||||
|
method @WorkerThread public void setOriginationTimestamp(long) throws android.telephony.ims.RcsMessageStoreException;
|
||||||
|
method @WorkerThread public void setRcsMessageId(String) throws android.telephony.ims.RcsMessageStoreException;
|
||||||
|
method @WorkerThread public void setStatus(@android.telephony.ims.RcsMessage.RcsMessageStatus int) throws android.telephony.ims.RcsMessageStoreException;
|
||||||
|
method @WorkerThread public void setSubscriptionId(int) throws android.telephony.ims.RcsMessageStoreException;
|
||||||
|
method @WorkerThread public void setText(String) throws android.telephony.ims.RcsMessageStoreException;
|
||||||
|
field public static final int DRAFT = 1; // 0x1
|
||||||
|
field public static final int FAILED = 6; // 0x6
|
||||||
|
field public static final double LOCATION_NOT_SET = 4.9E-324;
|
||||||
|
field public static final int NOT_SET = 0; // 0x0
|
||||||
|
field public static final int QUEUED = 2; // 0x2
|
||||||
|
field public static final int RECEIVED = 7; // 0x7
|
||||||
|
field public static final int RETRYING = 5; // 0x5
|
||||||
|
field public static final int SEEN = 9; // 0x9
|
||||||
|
field public static final int SENDING = 3; // 0x3
|
||||||
|
field public static final int SENT = 4; // 0x4
|
||||||
|
}
|
||||||
|
|
||||||
|
@IntDef({android.telephony.ims.RcsMessage.DRAFT, android.telephony.ims.RcsMessage.QUEUED, android.telephony.ims.RcsMessage.SENDING, android.telephony.ims.RcsMessage.SENT, android.telephony.ims.RcsMessage.RETRYING, android.telephony.ims.RcsMessage.FAILED, android.telephony.ims.RcsMessage.RECEIVED, android.telephony.ims.RcsMessage.SEEN}) @java.lang.annotation.Retention(java.lang.annotation.RetentionPolicy.SOURCE) public static @interface RcsMessage.RcsMessageStatus {
|
||||||
|
}
|
||||||
|
|
||||||
|
public class RcsMessageCreationParams {
|
||||||
|
ctor protected RcsMessageCreationParams(android.telephony.ims.RcsMessageCreationParams.Builder);
|
||||||
|
method public double getLatitude();
|
||||||
|
method public double getLongitude();
|
||||||
|
method public int getMessageStatus();
|
||||||
|
method public long getOriginationTimestamp();
|
||||||
|
method @Nullable public String getRcsMessageGlobalId();
|
||||||
|
method public int getSubId();
|
||||||
|
method @Nullable public String getText();
|
||||||
|
}
|
||||||
|
|
||||||
|
public static class RcsMessageCreationParams.Builder {
|
||||||
|
method public android.telephony.ims.RcsMessageCreationParams build();
|
||||||
|
method @CheckResult public android.telephony.ims.RcsMessageCreationParams.Builder setLatitude(double);
|
||||||
|
method @CheckResult public android.telephony.ims.RcsMessageCreationParams.Builder setLongitude(double);
|
||||||
|
method @CheckResult public android.telephony.ims.RcsMessageCreationParams.Builder setRcsMessageId(String);
|
||||||
|
method @CheckResult public android.telephony.ims.RcsMessageCreationParams.Builder setStatus(@android.telephony.ims.RcsMessage.RcsMessageStatus int);
|
||||||
|
method @CheckResult public android.telephony.ims.RcsMessageCreationParams.Builder setText(String);
|
||||||
|
}
|
||||||
|
|
||||||
|
public final class RcsMessageQueryParams implements android.os.Parcelable {
|
||||||
|
method public int describeContents();
|
||||||
|
method public int getFileTransferPresence();
|
||||||
|
method public int getLimit();
|
||||||
|
method public String getMessageLike();
|
||||||
|
method public int getMessageType();
|
||||||
|
method public boolean getSortDirection();
|
||||||
|
method @android.telephony.ims.RcsMessageQueryParams.SortingProperty public int getSortingProperty();
|
||||||
|
method public void writeToParcel(android.os.Parcel, int);
|
||||||
|
field public static final android.os.Parcelable.Creator<android.telephony.ims.RcsMessageQueryParams> CREATOR;
|
||||||
|
field public static final int MESSAGES_WITHOUT_FILE_TRANSFERS = 8; // 0x8
|
||||||
|
field public static final int MESSAGES_WITH_FILE_TRANSFERS = 4; // 0x4
|
||||||
|
field public static final int MESSAGE_TYPE_INCOMING = 1; // 0x1
|
||||||
|
field public static final int MESSAGE_TYPE_OUTGOING = 2; // 0x2
|
||||||
|
field public static final int SORT_BY_CREATION_ORDER = 0; // 0x0
|
||||||
|
field public static final int SORT_BY_TIMESTAMP = 1; // 0x1
|
||||||
|
}
|
||||||
|
|
||||||
|
public static class RcsMessageQueryParams.Builder {
|
||||||
|
ctor public RcsMessageQueryParams.Builder();
|
||||||
|
method public android.telephony.ims.RcsMessageQueryParams build();
|
||||||
|
method @CheckResult public android.telephony.ims.RcsMessageQueryParams.Builder setFileTransferPresence(int);
|
||||||
|
method @CheckResult public android.telephony.ims.RcsMessageQueryParams.Builder setMessageLike(String);
|
||||||
|
method @CheckResult public android.telephony.ims.RcsMessageQueryParams.Builder setMessageType(int);
|
||||||
|
method @CheckResult public android.telephony.ims.RcsMessageQueryParams.Builder setResultLimit(@IntRange(from=0) int) throws java.security.InvalidParameterException;
|
||||||
|
method @CheckResult public android.telephony.ims.RcsMessageQueryParams.Builder setSortDirection(boolean);
|
||||||
|
method @CheckResult public android.telephony.ims.RcsMessageQueryParams.Builder setSortProperty(@android.telephony.ims.RcsMessageQueryParams.SortingProperty int);
|
||||||
|
method @CheckResult public android.telephony.ims.RcsMessageQueryParams.Builder setThread(@Nullable android.telephony.ims.RcsThread);
|
||||||
|
}
|
||||||
|
|
||||||
|
@java.lang.annotation.Retention(java.lang.annotation.RetentionPolicy.SOURCE) @IntDef({android.telephony.ims.RcsMessageQueryParams.SORT_BY_CREATION_ORDER, android.telephony.ims.RcsMessageQueryParams.SORT_BY_TIMESTAMP}) public static @interface RcsMessageQueryParams.SortingProperty {
|
||||||
|
}
|
||||||
|
|
||||||
|
public final class RcsMessageQueryResult implements android.os.Parcelable {
|
||||||
|
method public int describeContents();
|
||||||
|
method @Nullable public android.telephony.ims.RcsQueryContinuationToken getContinuationToken();
|
||||||
|
method @NonNull public java.util.List<android.telephony.ims.RcsMessage> getMessages();
|
||||||
|
method public void writeToParcel(android.os.Parcel, int);
|
||||||
|
field public static final android.os.Parcelable.Creator<android.telephony.ims.RcsMessageQueryResult> CREATOR;
|
||||||
|
}
|
||||||
|
|
||||||
|
public final class RcsMessageSnippet implements android.os.Parcelable {
|
||||||
|
method public int describeContents();
|
||||||
|
method @android.telephony.ims.RcsMessage.RcsMessageStatus public int getSnippetStatus();
|
||||||
|
method @Nullable public String getSnippetText();
|
||||||
|
method public long getSnippetTimestamp();
|
||||||
|
method public void writeToParcel(android.os.Parcel, int);
|
||||||
|
field public static final android.os.Parcelable.Creator<android.telephony.ims.RcsMessageSnippet> CREATOR;
|
||||||
|
}
|
||||||
|
|
||||||
|
public class RcsMessageStore {
|
||||||
|
ctor public RcsMessageStore();
|
||||||
|
method @WorkerThread @NonNull public android.telephony.ims.RcsGroupThread createGroupThread(@Nullable java.util.List<android.telephony.ims.RcsParticipant>, @Nullable String, @Nullable android.net.Uri) throws android.telephony.ims.RcsMessageStoreException;
|
||||||
|
method @WorkerThread @NonNull public android.telephony.ims.Rcs1To1Thread createRcs1To1Thread(@NonNull android.telephony.ims.RcsParticipant) throws android.telephony.ims.RcsMessageStoreException;
|
||||||
|
method @WorkerThread @NonNull public android.telephony.ims.RcsParticipant createRcsParticipant(String, @Nullable String) throws android.telephony.ims.RcsMessageStoreException;
|
||||||
|
method @WorkerThread public void deleteThread(@NonNull android.telephony.ims.RcsThread) throws android.telephony.ims.RcsMessageStoreException;
|
||||||
|
method @WorkerThread @NonNull public android.telephony.ims.RcsEventQueryResult getRcsEvents(@Nullable android.telephony.ims.RcsEventQueryParams) throws android.telephony.ims.RcsMessageStoreException;
|
||||||
|
method @WorkerThread @NonNull public android.telephony.ims.RcsEventQueryResult getRcsEvents(@NonNull android.telephony.ims.RcsQueryContinuationToken) throws android.telephony.ims.RcsMessageStoreException;
|
||||||
|
method @WorkerThread @NonNull public android.telephony.ims.RcsMessageQueryResult getRcsMessages(@Nullable android.telephony.ims.RcsMessageQueryParams) throws android.telephony.ims.RcsMessageStoreException;
|
||||||
|
method @WorkerThread @NonNull public android.telephony.ims.RcsMessageQueryResult getRcsMessages(@NonNull android.telephony.ims.RcsQueryContinuationToken) throws android.telephony.ims.RcsMessageStoreException;
|
||||||
|
method @WorkerThread @NonNull public android.telephony.ims.RcsParticipantQueryResult getRcsParticipants(@Nullable android.telephony.ims.RcsParticipantQueryParams) throws android.telephony.ims.RcsMessageStoreException;
|
||||||
|
method @WorkerThread @NonNull public android.telephony.ims.RcsParticipantQueryResult getRcsParticipants(@NonNull android.telephony.ims.RcsQueryContinuationToken) throws android.telephony.ims.RcsMessageStoreException;
|
||||||
|
method @WorkerThread @NonNull public android.telephony.ims.RcsThreadQueryResult getRcsThreads(@Nullable android.telephony.ims.RcsThreadQueryParams) throws android.telephony.ims.RcsMessageStoreException;
|
||||||
|
method @WorkerThread @NonNull public android.telephony.ims.RcsThreadQueryResult getRcsThreads(@NonNull android.telephony.ims.RcsQueryContinuationToken) throws android.telephony.ims.RcsMessageStoreException;
|
||||||
|
method @WorkerThread @NonNull public void persistRcsEvent(android.telephony.ims.RcsEvent) throws android.telephony.ims.RcsMessageStoreException;
|
||||||
|
}
|
||||||
|
|
||||||
|
public class RcsMessageStoreException extends java.lang.Exception {
|
||||||
|
ctor public RcsMessageStoreException(String);
|
||||||
|
}
|
||||||
|
|
||||||
|
public class RcsOutgoingMessage extends android.telephony.ims.RcsMessage {
|
||||||
|
method @NonNull @WorkerThread public java.util.List<android.telephony.ims.RcsOutgoingMessageDelivery> getOutgoingDeliveries() throws android.telephony.ims.RcsMessageStoreException;
|
||||||
|
method public boolean isIncoming();
|
||||||
|
}
|
||||||
|
|
||||||
|
public final class RcsOutgoingMessageCreationParams extends android.telephony.ims.RcsMessageCreationParams implements android.os.Parcelable {
|
||||||
|
method public int describeContents();
|
||||||
|
method public void writeToParcel(android.os.Parcel, int);
|
||||||
|
field public static final android.os.Parcelable.Creator<android.telephony.ims.RcsOutgoingMessageCreationParams> CREATOR;
|
||||||
|
}
|
||||||
|
|
||||||
|
public static class RcsOutgoingMessageCreationParams.Builder extends android.telephony.ims.RcsMessageCreationParams.Builder {
|
||||||
|
ctor public RcsOutgoingMessageCreationParams.Builder(long, int);
|
||||||
|
method public android.telephony.ims.RcsOutgoingMessageCreationParams build();
|
||||||
|
}
|
||||||
|
|
||||||
|
public class RcsOutgoingMessageDelivery {
|
||||||
|
method @WorkerThread public long getDeliveredTimestamp() throws android.telephony.ims.RcsMessageStoreException;
|
||||||
|
method @NonNull public android.telephony.ims.RcsOutgoingMessage getMessage();
|
||||||
|
method @NonNull public android.telephony.ims.RcsParticipant getRecipient();
|
||||||
|
method @WorkerThread public long getSeenTimestamp() throws android.telephony.ims.RcsMessageStoreException;
|
||||||
|
method @WorkerThread @android.telephony.ims.RcsMessage.RcsMessageStatus public int getStatus() throws android.telephony.ims.RcsMessageStoreException;
|
||||||
|
method @WorkerThread public void setDeliveredTimestamp(long) throws android.telephony.ims.RcsMessageStoreException;
|
||||||
|
method @WorkerThread public void setSeenTimestamp(long) throws android.telephony.ims.RcsMessageStoreException;
|
||||||
|
method @WorkerThread public void setStatus(@android.telephony.ims.RcsMessage.RcsMessageStatus int) throws android.telephony.ims.RcsMessageStoreException;
|
||||||
|
}
|
||||||
|
|
||||||
|
public class RcsParticipant {
|
||||||
|
method @Nullable @WorkerThread public String getAlias() throws android.telephony.ims.RcsMessageStoreException;
|
||||||
|
method @Nullable @WorkerThread public String getCanonicalAddress() throws android.telephony.ims.RcsMessageStoreException;
|
||||||
|
method @Nullable @WorkerThread public String getContactId() throws android.telephony.ims.RcsMessageStoreException;
|
||||||
|
method @WorkerThread public void setAlias(String) throws android.telephony.ims.RcsMessageStoreException;
|
||||||
|
method @WorkerThread public void setContactId(String) throws android.telephony.ims.RcsMessageStoreException;
|
||||||
|
}
|
||||||
|
|
||||||
|
public final class RcsParticipantAliasChangedEvent extends android.telephony.ims.RcsEvent implements android.os.Parcelable {
|
||||||
|
ctor public RcsParticipantAliasChangedEvent(long, @NonNull android.telephony.ims.RcsParticipant, @Nullable String);
|
||||||
|
method public int describeContents();
|
||||||
|
method @Nullable public String getNewAlias();
|
||||||
|
method @NonNull public android.telephony.ims.RcsParticipant getParticipantId();
|
||||||
|
method public void writeToParcel(android.os.Parcel, int);
|
||||||
|
field public static final android.os.Parcelable.Creator<android.telephony.ims.RcsParticipantAliasChangedEvent> CREATOR;
|
||||||
|
}
|
||||||
|
|
||||||
|
public final class RcsParticipantQueryParams implements android.os.Parcelable {
|
||||||
|
method public int describeContents();
|
||||||
|
method public String getAliasLike();
|
||||||
|
method public String getCanonicalAddressLike();
|
||||||
|
method public int getLimit();
|
||||||
|
method public boolean getSortDirection();
|
||||||
|
method public int getSortingProperty();
|
||||||
|
method public void writeToParcel(android.os.Parcel, int);
|
||||||
|
field public static final android.os.Parcelable.Creator<android.telephony.ims.RcsParticipantQueryParams> CREATOR;
|
||||||
|
field public static final int SORT_BY_ALIAS = 1; // 0x1
|
||||||
|
field public static final int SORT_BY_CANONICAL_ADDRESS = 2; // 0x2
|
||||||
|
field public static final int SORT_BY_CREATION_ORDER = 0; // 0x0
|
||||||
|
}
|
||||||
|
|
||||||
|
public static class RcsParticipantQueryParams.Builder {
|
||||||
|
ctor public RcsParticipantQueryParams.Builder();
|
||||||
|
method public android.telephony.ims.RcsParticipantQueryParams build();
|
||||||
|
method @CheckResult public android.telephony.ims.RcsParticipantQueryParams.Builder setAliasLike(String);
|
||||||
|
method @CheckResult public android.telephony.ims.RcsParticipantQueryParams.Builder setCanonicalAddressLike(String);
|
||||||
|
method @CheckResult public android.telephony.ims.RcsParticipantQueryParams.Builder setResultLimit(@IntRange(from=0) int) throws java.security.InvalidParameterException;
|
||||||
|
method @CheckResult public android.telephony.ims.RcsParticipantQueryParams.Builder setSortDirection(boolean);
|
||||||
|
method @CheckResult public android.telephony.ims.RcsParticipantQueryParams.Builder setSortProperty(@android.telephony.ims.RcsParticipantQueryParams.SortingProperty int);
|
||||||
|
method @CheckResult public android.telephony.ims.RcsParticipantQueryParams.Builder setThread(android.telephony.ims.RcsThread);
|
||||||
|
}
|
||||||
|
|
||||||
|
@java.lang.annotation.Retention(java.lang.annotation.RetentionPolicy.SOURCE) @IntDef({android.telephony.ims.RcsParticipantQueryParams.SORT_BY_CREATION_ORDER, android.telephony.ims.RcsParticipantQueryParams.SORT_BY_ALIAS, android.telephony.ims.RcsParticipantQueryParams.SORT_BY_CANONICAL_ADDRESS}) public static @interface RcsParticipantQueryParams.SortingProperty {
|
||||||
|
}
|
||||||
|
|
||||||
|
public final class RcsParticipantQueryResult implements android.os.Parcelable {
|
||||||
|
method public int describeContents();
|
||||||
|
method @Nullable public android.telephony.ims.RcsQueryContinuationToken getContinuationToken();
|
||||||
|
method @NonNull public java.util.List<android.telephony.ims.RcsParticipant> getParticipants();
|
||||||
|
method public void writeToParcel(android.os.Parcel, int);
|
||||||
|
field public static final android.os.Parcelable.Creator<android.telephony.ims.RcsParticipantQueryResult> CREATOR;
|
||||||
|
}
|
||||||
|
|
||||||
|
public final class RcsQueryContinuationToken implements android.os.Parcelable {
|
||||||
|
method public int describeContents();
|
||||||
|
method @android.telephony.ims.RcsQueryContinuationToken.ContinuationTokenType public int getQueryType();
|
||||||
|
method public void writeToParcel(android.os.Parcel, int);
|
||||||
|
field public static final android.os.Parcelable.Creator<android.telephony.ims.RcsQueryContinuationToken> CREATOR;
|
||||||
|
field public static final int EVENT_QUERY_CONTINUATION_TOKEN_TYPE = 0; // 0x0
|
||||||
|
field public static final int MESSAGE_QUERY_CONTINUATION_TOKEN_TYPE = 1; // 0x1
|
||||||
|
field public static final int PARTICIPANT_QUERY_CONTINUATION_TOKEN_TYPE = 2; // 0x2
|
||||||
|
field public static final int THREAD_QUERY_CONTINUATION_TOKEN_TYPE = 3; // 0x3
|
||||||
|
}
|
||||||
|
|
||||||
|
@java.lang.annotation.Retention(java.lang.annotation.RetentionPolicy.SOURCE) @IntDef({android.telephony.ims.RcsQueryContinuationToken.EVENT_QUERY_CONTINUATION_TOKEN_TYPE, android.telephony.ims.RcsQueryContinuationToken.MESSAGE_QUERY_CONTINUATION_TOKEN_TYPE, android.telephony.ims.RcsQueryContinuationToken.PARTICIPANT_QUERY_CONTINUATION_TOKEN_TYPE, android.telephony.ims.RcsQueryContinuationToken.THREAD_QUERY_CONTINUATION_TOKEN_TYPE}) public static @interface RcsQueryContinuationToken.ContinuationTokenType {
|
||||||
|
}
|
||||||
|
|
||||||
|
public abstract class RcsThread {
|
||||||
|
method @WorkerThread @NonNull public android.telephony.ims.RcsIncomingMessage addIncomingMessage(@NonNull android.telephony.ims.RcsIncomingMessageCreationParams) throws android.telephony.ims.RcsMessageStoreException;
|
||||||
|
method @WorkerThread @NonNull public android.telephony.ims.RcsOutgoingMessage addOutgoingMessage(@NonNull android.telephony.ims.RcsOutgoingMessageCreationParams) throws android.telephony.ims.RcsMessageStoreException;
|
||||||
|
method @WorkerThread public void deleteMessage(@NonNull android.telephony.ims.RcsMessage) throws android.telephony.ims.RcsMessageStoreException;
|
||||||
|
method @WorkerThread @NonNull public android.telephony.ims.RcsMessageQueryResult getMessages() throws android.telephony.ims.RcsMessageStoreException;
|
||||||
|
method @WorkerThread @NonNull public android.telephony.ims.RcsMessageSnippet getSnippet() throws android.telephony.ims.RcsMessageStoreException;
|
||||||
|
method public abstract boolean isGroup();
|
||||||
|
}
|
||||||
|
|
||||||
|
public final class RcsThreadQueryParams implements android.os.Parcelable {
|
||||||
|
method public int describeContents();
|
||||||
|
method public int getLimit();
|
||||||
|
method public boolean getSortDirection();
|
||||||
|
method @android.telephony.ims.RcsThreadQueryParams.SortingProperty public int getSortingProperty();
|
||||||
|
method public int getThreadType();
|
||||||
|
method public void writeToParcel(android.os.Parcel, int);
|
||||||
|
field public static final android.os.Parcelable.Creator<android.telephony.ims.RcsThreadQueryParams> CREATOR;
|
||||||
|
field public static final int SORT_BY_CREATION_ORDER = 0; // 0x0
|
||||||
|
field public static final int SORT_BY_TIMESTAMP = 1; // 0x1
|
||||||
|
field public static final int THREAD_TYPE_1_TO_1 = 2; // 0x2
|
||||||
|
field public static final int THREAD_TYPE_GROUP = 1; // 0x1
|
||||||
|
}
|
||||||
|
|
||||||
|
public static class RcsThreadQueryParams.Builder {
|
||||||
|
ctor public RcsThreadQueryParams.Builder();
|
||||||
|
method public android.telephony.ims.RcsThreadQueryParams build();
|
||||||
|
method @CheckResult public android.telephony.ims.RcsThreadQueryParams.Builder setParticipant(@NonNull android.telephony.ims.RcsParticipant);
|
||||||
|
method @CheckResult public android.telephony.ims.RcsThreadQueryParams.Builder setParticipants(@NonNull java.util.List<android.telephony.ims.RcsParticipant>);
|
||||||
|
method @CheckResult public android.telephony.ims.RcsThreadQueryParams.Builder setResultLimit(@IntRange(from=0) int) throws java.security.InvalidParameterException;
|
||||||
|
method @CheckResult public android.telephony.ims.RcsThreadQueryParams.Builder setSortDirection(boolean);
|
||||||
|
method @CheckResult public android.telephony.ims.RcsThreadQueryParams.Builder setSortProperty(@android.telephony.ims.RcsThreadQueryParams.SortingProperty int);
|
||||||
|
method @CheckResult public android.telephony.ims.RcsThreadQueryParams.Builder setThreadType(int);
|
||||||
|
}
|
||||||
|
|
||||||
|
@java.lang.annotation.Retention(java.lang.annotation.RetentionPolicy.SOURCE) @IntDef({android.telephony.ims.RcsThreadQueryParams.SORT_BY_CREATION_ORDER, android.telephony.ims.RcsThreadQueryParams.SORT_BY_TIMESTAMP}) public static @interface RcsThreadQueryParams.SortingProperty {
|
||||||
|
}
|
||||||
|
|
||||||
|
public final class RcsThreadQueryResult implements android.os.Parcelable {
|
||||||
|
method public int describeContents();
|
||||||
|
method @Nullable public android.telephony.ims.RcsQueryContinuationToken getContinuationToken();
|
||||||
|
method @NonNull public java.util.List<android.telephony.ims.RcsThread> getThreads();
|
||||||
|
method public void writeToParcel(android.os.Parcel, int);
|
||||||
|
field public static final android.os.Parcelable.Creator<android.telephony.ims.RcsThreadQueryResult> CREATOR;
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
package android.telephony.mbms {
|
package android.telephony.mbms {
|
||||||
|
|
||||||
public class DownloadProgressListener {
|
public class DownloadProgressListener {
|
||||||
|
|||||||
@@ -22,8 +22,6 @@ import android.annotation.WorkerThread;
|
|||||||
* Rcs1To1Thread represents a single RCS conversation thread with a total of two
|
* Rcs1To1Thread represents a single RCS conversation thread with a total of two
|
||||||
* {@link RcsParticipant}s. Please see Section 5 (1-to-1 Messaging) - GSMA RCC.71 (RCS Universal
|
* {@link RcsParticipant}s. Please see Section 5 (1-to-1 Messaging) - GSMA RCC.71 (RCS Universal
|
||||||
* Profile Service Definition Document)
|
* Profile Service Definition Document)
|
||||||
*
|
|
||||||
* @hide - TODO: make public
|
|
||||||
*/
|
*/
|
||||||
public class Rcs1To1Thread extends RcsThread {
|
public class Rcs1To1Thread extends RcsThread {
|
||||||
private int mThreadId;
|
private int mThreadId;
|
||||||
|
|||||||
@@ -19,8 +19,6 @@ import android.os.Parcel;
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* The base class for events that can happen on {@link RcsParticipant}s and {@link RcsThread}s.
|
* The base class for events that can happen on {@link RcsParticipant}s and {@link RcsThread}s.
|
||||||
*
|
|
||||||
* @hide - TODO: make public
|
|
||||||
*/
|
*/
|
||||||
public abstract class RcsEvent {
|
public abstract class RcsEvent {
|
||||||
/**
|
/**
|
||||||
|
|||||||
@@ -37,8 +37,6 @@ import java.security.InvalidParameterException;
|
|||||||
* The parameters to pass into
|
* The parameters to pass into
|
||||||
* {@link RcsMessageStore#getRcsEvents(RcsEventQueryParams)} in order to select a
|
* {@link RcsMessageStore#getRcsEvents(RcsEventQueryParams)} in order to select a
|
||||||
* subset of {@link RcsEvent}s present in the message store.
|
* subset of {@link RcsEvent}s present in the message store.
|
||||||
*
|
|
||||||
* @hide - TODO: make public
|
|
||||||
*/
|
*/
|
||||||
public final class RcsEventQueryParams implements Parcelable {
|
public final class RcsEventQueryParams implements Parcelable {
|
||||||
/**
|
/**
|
||||||
@@ -152,8 +150,8 @@ public final class RcsEventQueryParams implements Parcelable {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @return Returns the type of {@link RcsEvent}s that this {@link RcsEventQueryParams} is
|
* @return Returns the number of {@link RcsEvent}s to be returned from the query. A value of
|
||||||
* set to query for.
|
* 0 means there is no set limit.
|
||||||
*/
|
*/
|
||||||
public int getLimit() {
|
public int getLimit() {
|
||||||
return mLimit;
|
return mLimit;
|
||||||
|
|||||||
@@ -25,8 +25,6 @@ import java.util.List;
|
|||||||
* The result of a {@link RcsMessageStore#getRcsEvents(RcsEventQueryParams)}
|
* The result of a {@link RcsMessageStore#getRcsEvents(RcsEventQueryParams)}
|
||||||
* call. This class allows getting the token for querying the next batch of events in order to
|
* call. This class allows getting the token for querying the next batch of events in order to
|
||||||
* prevent handling large amounts of data at once.
|
* prevent handling large amounts of data at once.
|
||||||
*
|
|
||||||
* @hide - TODO: make public
|
|
||||||
*/
|
*/
|
||||||
public final class RcsEventQueryResult implements Parcelable {
|
public final class RcsEventQueryResult implements Parcelable {
|
||||||
private RcsQueryContinuationToken mContinuationToken;
|
private RcsQueryContinuationToken mContinuationToken;
|
||||||
|
|||||||
@@ -24,8 +24,6 @@ import android.os.Parcelable;
|
|||||||
* Pass an instance of this class to
|
* Pass an instance of this class to
|
||||||
* {@link RcsMessage#insertFileTransfer(RcsFileTransferCreationParams)} create an
|
* {@link RcsMessage#insertFileTransfer(RcsFileTransferCreationParams)} create an
|
||||||
* {@link RcsFileTransferPart} and save it into storage.
|
* {@link RcsFileTransferPart} and save it into storage.
|
||||||
*
|
|
||||||
* @hide - TODO: make public
|
|
||||||
*/
|
*/
|
||||||
public final class RcsFileTransferCreationParams implements Parcelable {
|
public final class RcsFileTransferCreationParams implements Parcelable {
|
||||||
private String mRcsFileTransferSessionId;
|
private String mRcsFileTransferSessionId;
|
||||||
|
|||||||
@@ -26,8 +26,6 @@ import java.lang.annotation.RetentionPolicy;
|
|||||||
/**
|
/**
|
||||||
* A part of a composite {@link RcsMessage} that holds a file transfer. Please see Section 7
|
* A part of a composite {@link RcsMessage} that holds a file transfer. Please see Section 7
|
||||||
* (File Transfer) - GSMA RCC.71 (RCS Universal Profile Service Definition Document)
|
* (File Transfer) - GSMA RCC.71 (RCS Universal Profile Service Definition Document)
|
||||||
*
|
|
||||||
* @hide - TODO: make public
|
|
||||||
*/
|
*/
|
||||||
public class RcsFileTransferPart {
|
public class RcsFileTransferPart {
|
||||||
/**
|
/**
|
||||||
|
|||||||
@@ -29,8 +29,6 @@ import java.util.Set;
|
|||||||
* RcsGroupThread represents a single RCS conversation thread where {@link RcsParticipant}s can join
|
* RcsGroupThread represents a single RCS conversation thread where {@link RcsParticipant}s can join
|
||||||
* or leave. Please see Section 6 (Group Chat) - GSMA RCC.71 (RCS Universal Profile Service
|
* or leave. Please see Section 6 (Group Chat) - GSMA RCC.71 (RCS Universal Profile Service
|
||||||
* Definition Document)
|
* Definition Document)
|
||||||
*
|
|
||||||
* @hide - TODO: make public
|
|
||||||
*/
|
*/
|
||||||
public class RcsGroupThread extends RcsThread {
|
public class RcsGroupThread extends RcsThread {
|
||||||
/**
|
/**
|
||||||
|
|||||||
@@ -20,8 +20,6 @@ import android.os.Parcel;
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* An event that happened on an {@link RcsGroupThread}.
|
* An event that happened on an {@link RcsGroupThread}.
|
||||||
*
|
|
||||||
* @hide - TODO: make public
|
|
||||||
*/
|
*/
|
||||||
public abstract class RcsGroupThreadEvent extends RcsEvent {
|
public abstract class RcsGroupThreadEvent extends RcsEvent {
|
||||||
private final int mRcsGroupThreadId;
|
private final int mRcsGroupThreadId;
|
||||||
|
|||||||
@@ -24,8 +24,6 @@ import android.os.Parcelable;
|
|||||||
/**
|
/**
|
||||||
* An event that indicates an {@link RcsGroupThread}'s icon was changed. Please see R6-2-5 - GSMA
|
* An event that indicates an {@link RcsGroupThread}'s icon was changed. Please see R6-2-5 - GSMA
|
||||||
* RCC.71 (RCS Universal Profile Service Definition Document)
|
* RCC.71 (RCS Universal Profile Service Definition Document)
|
||||||
*
|
|
||||||
* @hide - TODO: make public
|
|
||||||
*/
|
*/
|
||||||
public final class RcsGroupThreadIconChangedEvent extends RcsGroupThreadEvent implements
|
public final class RcsGroupThreadIconChangedEvent extends RcsGroupThreadEvent implements
|
||||||
Parcelable {
|
Parcelable {
|
||||||
|
|||||||
@@ -23,8 +23,6 @@ import android.os.Parcelable;
|
|||||||
/**
|
/**
|
||||||
* An event that indicates an {@link RcsGroupThread}'s name was changed. Please see R6-2-5 - GSMA
|
* An event that indicates an {@link RcsGroupThread}'s name was changed. Please see R6-2-5 - GSMA
|
||||||
* RCC.71 (RCS Universal Profile Service Definition Document)
|
* RCC.71 (RCS Universal Profile Service Definition Document)
|
||||||
*
|
|
||||||
* @hide - TODO: make public
|
|
||||||
*/
|
*/
|
||||||
public final class RcsGroupThreadNameChangedEvent extends RcsGroupThreadEvent implements
|
public final class RcsGroupThreadNameChangedEvent extends RcsGroupThreadEvent implements
|
||||||
Parcelable {
|
Parcelable {
|
||||||
|
|||||||
@@ -22,8 +22,6 @@ import android.os.Parcelable;
|
|||||||
/**
|
/**
|
||||||
* An event that indicates an RCS participant has joined an {@link RcsThread}. Please see US6-3 -
|
* An event that indicates an RCS participant has joined an {@link RcsThread}. Please see US6-3 -
|
||||||
* GSMA RCC.71 (RCS Universal Profile Service Definition Document)
|
* GSMA RCC.71 (RCS Universal Profile Service Definition Document)
|
||||||
*
|
|
||||||
* @hide - TODO: make public
|
|
||||||
*/
|
*/
|
||||||
public final class RcsGroupThreadParticipantJoinedEvent extends RcsGroupThreadEvent implements
|
public final class RcsGroupThreadParticipantJoinedEvent extends RcsGroupThreadEvent implements
|
||||||
Parcelable {
|
Parcelable {
|
||||||
|
|||||||
@@ -22,8 +22,6 @@ import android.os.Parcelable;
|
|||||||
/**
|
/**
|
||||||
* An event that indicates an RCS participant has left an {@link RcsThread}. Please see US6-23 -
|
* An event that indicates an RCS participant has left an {@link RcsThread}. Please see US6-23 -
|
||||||
* GSMA RCC.71 (RCS Universal Profile Service Definition Document)
|
* GSMA RCC.71 (RCS Universal Profile Service Definition Document)
|
||||||
*
|
|
||||||
* @hide - TODO: make public
|
|
||||||
*/
|
*/
|
||||||
public final class RcsGroupThreadParticipantLeftEvent extends RcsGroupThreadEvent implements
|
public final class RcsGroupThreadParticipantLeftEvent extends RcsGroupThreadEvent implements
|
||||||
Parcelable {
|
Parcelable {
|
||||||
|
|||||||
@@ -19,8 +19,6 @@ import android.annotation.WorkerThread;
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* This is a single instance of a message received over RCS.
|
* This is a single instance of a message received over RCS.
|
||||||
*
|
|
||||||
* @hide - TODO: make public
|
|
||||||
*/
|
*/
|
||||||
public class RcsIncomingMessage extends RcsMessage {
|
public class RcsIncomingMessage extends RcsMessage {
|
||||||
/**
|
/**
|
||||||
|
|||||||
@@ -24,8 +24,6 @@ import android.os.Parcelable;
|
|||||||
* {@link RcsIncomingMessageCreationParams} is a collection of parameters that should be passed
|
* {@link RcsIncomingMessageCreationParams} is a collection of parameters that should be passed
|
||||||
* into {@link RcsThread#addIncomingMessage(RcsIncomingMessageCreationParams)} to generate an
|
* into {@link RcsThread#addIncomingMessage(RcsIncomingMessageCreationParams)} to generate an
|
||||||
* {@link RcsIncomingMessage} on that {@link RcsThread}
|
* {@link RcsIncomingMessage} on that {@link RcsThread}
|
||||||
*
|
|
||||||
* @hide - TODO: make public
|
|
||||||
*/
|
*/
|
||||||
public final class RcsIncomingMessageCreationParams extends RcsMessageCreationParams implements
|
public final class RcsIncomingMessageCreationParams extends RcsMessageCreationParams implements
|
||||||
Parcelable {
|
Parcelable {
|
||||||
|
|||||||
@@ -20,8 +20,6 @@ import android.content.Context;
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* The manager class for RCS related utilities.
|
* The manager class for RCS related utilities.
|
||||||
*
|
|
||||||
* @hide - TODO: make public
|
|
||||||
*/
|
*/
|
||||||
@SystemService(Context.TELEPHONY_RCS_SERVICE)
|
@SystemService(Context.TELEPHONY_RCS_SERVICE)
|
||||||
public class RcsManager {
|
public class RcsManager {
|
||||||
|
|||||||
@@ -27,8 +27,6 @@ import java.util.Set;
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* This is a single instance of a message sent or received over RCS.
|
* This is a single instance of a message sent or received over RCS.
|
||||||
*
|
|
||||||
* @hide - TODO: make public
|
|
||||||
*/
|
*/
|
||||||
public abstract class RcsMessage {
|
public abstract class RcsMessage {
|
||||||
/**
|
/**
|
||||||
|
|||||||
@@ -27,8 +27,6 @@ import android.os.Parcel;
|
|||||||
* {@link RcsThread#addIncomingMessage(RcsIncomingMessageCreationParams)} and
|
* {@link RcsThread#addIncomingMessage(RcsIncomingMessageCreationParams)} and
|
||||||
* {@link RcsThread#addOutgoingMessage(RcsOutgoingMessageCreationParams)} to create and persist
|
* {@link RcsThread#addOutgoingMessage(RcsOutgoingMessageCreationParams)} to create and persist
|
||||||
* {@link RcsMessage}s on an {@link RcsThread}
|
* {@link RcsMessage}s on an {@link RcsThread}
|
||||||
*
|
|
||||||
* @hide - TODO: make public
|
|
||||||
*/
|
*/
|
||||||
public class RcsMessageCreationParams {
|
public class RcsMessageCreationParams {
|
||||||
// The globally unique id of the RcsMessage to be created.
|
// The globally unique id of the RcsMessage to be created.
|
||||||
|
|||||||
@@ -31,8 +31,6 @@ import java.security.InvalidParameterException;
|
|||||||
* The parameters to pass into
|
* The parameters to pass into
|
||||||
* {@link RcsMessageStore#getRcsMessages(RcsMessageQueryParams)} in order to select a
|
* {@link RcsMessageStore#getRcsMessages(RcsMessageQueryParams)} in order to select a
|
||||||
* subset of {@link RcsMessage}s present in the message store.
|
* subset of {@link RcsMessage}s present in the message store.
|
||||||
*
|
|
||||||
* @hide - TODO: make public
|
|
||||||
*/
|
*/
|
||||||
public final class RcsMessageQueryParams implements Parcelable {
|
public final class RcsMessageQueryParams implements Parcelable {
|
||||||
/**
|
/**
|
||||||
|
|||||||
@@ -32,8 +32,6 @@ import java.util.List;
|
|||||||
* The result of a {@link RcsMessageStore#getRcsMessages(RcsMessageQueryParams)}
|
* The result of a {@link RcsMessageStore#getRcsMessages(RcsMessageQueryParams)}
|
||||||
* call. This class allows getting the token for querying the next batch of messages in order to
|
* call. This class allows getting the token for querying the next batch of messages in order to
|
||||||
* prevent handling large amounts of data at once.
|
* prevent handling large amounts of data at once.
|
||||||
*
|
|
||||||
* @hide - TODO: make public
|
|
||||||
*/
|
*/
|
||||||
public final class RcsMessageQueryResult implements Parcelable {
|
public final class RcsMessageQueryResult implements Parcelable {
|
||||||
// The token to continue the query to get the next batch of results
|
// The token to continue the query to get the next batch of results
|
||||||
|
|||||||
@@ -23,8 +23,6 @@ import android.telephony.ims.RcsMessage.RcsMessageStatus;
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* An immutable summary of the latest {@link RcsMessage} on an {@link RcsThread}
|
* An immutable summary of the latest {@link RcsMessage} on an {@link RcsThread}
|
||||||
*
|
|
||||||
* @hide - TODO: make public
|
|
||||||
*/
|
*/
|
||||||
public final class RcsMessageSnippet implements Parcelable {
|
public final class RcsMessageSnippet implements Parcelable {
|
||||||
private final String mText;
|
private final String mText;
|
||||||
|
|||||||
@@ -26,8 +26,6 @@ import java.util.List;
|
|||||||
/**
|
/**
|
||||||
* RcsMessageStore is the application interface to RcsProvider and provides access methods to
|
* RcsMessageStore is the application interface to RcsProvider and provides access methods to
|
||||||
* RCS related database tables.
|
* RCS related database tables.
|
||||||
*
|
|
||||||
* @hide - TODO: make public
|
|
||||||
*/
|
*/
|
||||||
public class RcsMessageStore {
|
public class RcsMessageStore {
|
||||||
/**
|
/**
|
||||||
|
|||||||
@@ -19,8 +19,6 @@ package android.telephony.ims;
|
|||||||
/**
|
/**
|
||||||
* An exception that happened on {@link RcsMessageStore} or one of the derived storage classes in
|
* An exception that happened on {@link RcsMessageStore} or one of the derived storage classes in
|
||||||
* {@link android.telephony.ims}
|
* {@link android.telephony.ims}
|
||||||
*
|
|
||||||
* @hide - TODO: make public
|
|
||||||
*/
|
*/
|
||||||
public class RcsMessageStoreException extends Exception {
|
public class RcsMessageStoreException extends Exception {
|
||||||
|
|
||||||
|
|||||||
@@ -23,8 +23,6 @@ import java.util.List;
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* This is a single instance of a message sent over RCS.
|
* This is a single instance of a message sent over RCS.
|
||||||
*
|
|
||||||
* @hide - TODO: make public
|
|
||||||
*/
|
*/
|
||||||
public class RcsOutgoingMessage extends RcsMessage {
|
public class RcsOutgoingMessage extends RcsMessage {
|
||||||
RcsOutgoingMessage(int id) {
|
RcsOutgoingMessage(int id) {
|
||||||
|
|||||||
@@ -23,8 +23,6 @@ import android.os.Parcelable;
|
|||||||
* {@link RcsOutgoingMessageCreationParams} is a collection of parameters that should be passed
|
* {@link RcsOutgoingMessageCreationParams} is a collection of parameters that should be passed
|
||||||
* into {@link RcsThread#addOutgoingMessage(RcsOutgoingMessageCreationParams)} to generate an
|
* into {@link RcsThread#addOutgoingMessage(RcsOutgoingMessageCreationParams)} to generate an
|
||||||
* {@link RcsOutgoingMessage} on that {@link RcsThread}
|
* {@link RcsOutgoingMessage} on that {@link RcsThread}
|
||||||
*
|
|
||||||
* @hide - TODO: make public
|
|
||||||
*/
|
*/
|
||||||
public final class RcsOutgoingMessageCreationParams extends RcsMessageCreationParams
|
public final class RcsOutgoingMessageCreationParams extends RcsMessageCreationParams
|
||||||
implements Parcelable {
|
implements Parcelable {
|
||||||
|
|||||||
@@ -21,8 +21,6 @@ import android.annotation.WorkerThread;
|
|||||||
/**
|
/**
|
||||||
* This class holds the delivery information of an {@link RcsOutgoingMessage} for each
|
* This class holds the delivery information of an {@link RcsOutgoingMessage} for each
|
||||||
* {@link RcsParticipant} that the message was intended for.
|
* {@link RcsParticipant} that the message was intended for.
|
||||||
*
|
|
||||||
* @hide - TODO: make public
|
|
||||||
*/
|
*/
|
||||||
public class RcsOutgoingMessageDelivery {
|
public class RcsOutgoingMessageDelivery {
|
||||||
// The participant that this delivery is intended for
|
// The participant that this delivery is intended for
|
||||||
|
|||||||
@@ -20,8 +20,6 @@ import android.annotation.WorkerThread;
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* RcsParticipant is an RCS capable contact that can participate in {@link RcsThread}s.
|
* RcsParticipant is an RCS capable contact that can participate in {@link RcsThread}s.
|
||||||
*
|
|
||||||
* @hide - TODO: make public
|
|
||||||
*/
|
*/
|
||||||
public class RcsParticipant {
|
public class RcsParticipant {
|
||||||
// The row ID of this participant in the database
|
// The row ID of this participant in the database
|
||||||
|
|||||||
@@ -23,8 +23,6 @@ import android.os.Parcelable;
|
|||||||
/**
|
/**
|
||||||
* An event that indicates an {@link RcsParticipant}'s alias was changed. Please see US18-2 - GSMA
|
* An event that indicates an {@link RcsParticipant}'s alias was changed. Please see US18-2 - GSMA
|
||||||
* RCC.71 (RCS Universal Profile Service Definition Document)
|
* RCC.71 (RCS Universal Profile Service Definition Document)
|
||||||
*
|
|
||||||
* @hide - TODO: make public
|
|
||||||
*/
|
*/
|
||||||
public final class RcsParticipantAliasChangedEvent extends RcsEvent implements Parcelable {
|
public final class RcsParticipantAliasChangedEvent extends RcsEvent implements Parcelable {
|
||||||
// The ID of the participant that changed their alias
|
// The ID of the participant that changed their alias
|
||||||
|
|||||||
@@ -30,8 +30,6 @@ import java.security.InvalidParameterException;
|
|||||||
* The parameters to pass into
|
* The parameters to pass into
|
||||||
* {@link RcsMessageStore#getRcsParticipants(RcsParticipantQueryParams)} in order to select a
|
* {@link RcsMessageStore#getRcsParticipants(RcsParticipantQueryParams)} in order to select a
|
||||||
* subset of {@link RcsThread}s present in the message store.
|
* subset of {@link RcsThread}s present in the message store.
|
||||||
*
|
|
||||||
* @hide - TODO: make public
|
|
||||||
*/
|
*/
|
||||||
public final class RcsParticipantQueryParams implements Parcelable {
|
public final class RcsParticipantQueryParams implements Parcelable {
|
||||||
/**
|
/**
|
||||||
|
|||||||
@@ -28,8 +28,6 @@ import java.util.List;
|
|||||||
* The result of a {@link RcsMessageStore#getRcsParticipants(RcsParticipantQueryParams)}
|
* The result of a {@link RcsMessageStore#getRcsParticipants(RcsParticipantQueryParams)}
|
||||||
* call. This class allows getting the token for querying the next batch of participants in order to
|
* call. This class allows getting the token for querying the next batch of participants in order to
|
||||||
* prevent handling large amounts of data at once.
|
* prevent handling large amounts of data at once.
|
||||||
*
|
|
||||||
* @hide - TODO: make public
|
|
||||||
*/
|
*/
|
||||||
public final class RcsParticipantQueryResult implements Parcelable {
|
public final class RcsParticipantQueryResult implements Parcelable {
|
||||||
// A token for the caller to continue their query for the next batch of results
|
// A token for the caller to continue their query for the next batch of results
|
||||||
|
|||||||
@@ -31,8 +31,6 @@ import java.lang.annotation.RetentionPolicy;
|
|||||||
* @see RcsMessageQueryResult#getContinuationToken()
|
* @see RcsMessageQueryResult#getContinuationToken()
|
||||||
* @see RcsParticipantQueryResult#getContinuationToken()
|
* @see RcsParticipantQueryResult#getContinuationToken()
|
||||||
* @see RcsThreadQueryResult#getContinuationToken()
|
* @see RcsThreadQueryResult#getContinuationToken()
|
||||||
*
|
|
||||||
* @hide - TODO: make public
|
|
||||||
*/
|
*/
|
||||||
public final class RcsQueryContinuationToken implements Parcelable {
|
public final class RcsQueryContinuationToken implements Parcelable {
|
||||||
/**
|
/**
|
||||||
|
|||||||
@@ -27,8 +27,6 @@ import com.android.internal.annotations.VisibleForTesting;
|
|||||||
/**
|
/**
|
||||||
* RcsThread represents a single RCS conversation thread. It holds messages that were sent and
|
* RcsThread represents a single RCS conversation thread. It holds messages that were sent and
|
||||||
* received and events that occurred on that thread.
|
* received and events that occurred on that thread.
|
||||||
*
|
|
||||||
* @hide - TODO: make public
|
|
||||||
*/
|
*/
|
||||||
public abstract class RcsThread {
|
public abstract class RcsThread {
|
||||||
/**
|
/**
|
||||||
|
|||||||
@@ -35,8 +35,6 @@ import java.util.Set;
|
|||||||
/**
|
/**
|
||||||
* The parameters to pass into {@link RcsMessageStore#getRcsThreads(RcsThreadQueryParams)} in
|
* The parameters to pass into {@link RcsMessageStore#getRcsThreads(RcsThreadQueryParams)} in
|
||||||
* order to select a subset of {@link RcsThread}s present in the message store.
|
* order to select a subset of {@link RcsThread}s present in the message store.
|
||||||
*
|
|
||||||
* @hide - TODO: make public
|
|
||||||
*/
|
*/
|
||||||
public final class RcsThreadQueryParams implements Parcelable {
|
public final class RcsThreadQueryParams implements Parcelable {
|
||||||
/**
|
/**
|
||||||
|
|||||||
@@ -32,8 +32,6 @@ import java.util.List;
|
|||||||
* The result of a {@link RcsMessageStore#getRcsThreads(RcsThreadQueryParams)}
|
* The result of a {@link RcsMessageStore#getRcsThreads(RcsThreadQueryParams)}
|
||||||
* call. This class allows getting the token for querying the next batch of threads in order to
|
* call. This class allows getting the token for querying the next batch of threads in order to
|
||||||
* prevent handling large amounts of data at once.
|
* prevent handling large amounts of data at once.
|
||||||
*
|
|
||||||
* @hide - TODO: make public
|
|
||||||
*/
|
*/
|
||||||
public final class RcsThreadQueryResult implements Parcelable {
|
public final class RcsThreadQueryResult implements Parcelable {
|
||||||
// A token for the caller to continue their query for the next batch of results
|
// A token for the caller to continue their query for the next batch of results
|
||||||
|
|||||||
Reference in New Issue
Block a user