Azure SDK for Android (February 2021)
The Azure SDK team is pleased to announce our February 2021 client library releases.
Beta
- Azure Communication Services Chat
- Azure Communication Services Common
Installation Instructions
To use the latest GA and beta libraries, refer to the dependency information below, which may be copied into your projects Gradle build.gradle or Maven pom.xml file as appropriate. If you are using a different build tool, refer to its documentation on how to specify dependencies.
Gradle
Java
dependencies {
...
implementation 'com.azure.android:azure-communication-chat:1.0.0-beta.5'
implementation 'com.azure.android:azure-communication-common:1.0.0-beta.5'
}
Kotlin
dependencies {
...
implementation("com.azure.android:azure-communication-chat:1.0.0-beta.5")
implementation("com.azure.android:azure-communication-common:1.0.0-beta.5")
}
Maven
...
<dependency>
<groupId>com.azure.android</groupId>
<artifactId>azure-communication-chat</artifactId>
<version>1.0.0-beta.5</version>
<type>aar</type>
</dependency>
<dependency>
<groupId>com.azure.android</groupId>
<artifactId>azure-communication-common</artifactId>
<version>1.0.0-beta.5</version>
<type>aar</type>
</dependency>
Feedback
If you have a bug or feature request for one of the libraries, please post an issue to GitHub.
Release highlights
Azure Communication Services Common
1.0.0-beta.5 (Changelog)
Breaking Changes
- Removed
CallingApplicationIdentifier. - Removed
getIdmethod inCommunicationIdentifierclass.
New Features
- Added a new
MicrosoftTeamsUserIdentifierconstructor that takes a non-nullCommunicationCloudEnvironmentparameter. - Added the following classes:
CommunicationCloudEnvironmentCommunicationCloudEnvironmentModelCommunicationIdentifierSerializerCommunicationIdentifierModelMicrosoftTeamsUserIdentifierModelPhoneNumberIdentifierModelCommunicationUserIdentifierModel
1.0.0-beta.4 (Changelog)
Breaking Changes
- Renamed
CommunicationUserCredentialtoCommunicationTokenCredential. - Renamed
PhoneNumbertoPhoneNumberIdentifier. - Renamed
CommunicationUsertoCommunicationUserIdentifier. - Renamed
CallingApplicationtoCallingApplicationIdentifier.
New Features
- Added class
MicrosoftTeamsUserIdentifier.
Azure Communication Services Chat
1.0.0-beta.5 (Changelog)
New Features
- Added support for three more types of chat message content.
- Added support for adding a user agent HTTP header in the chat client.
- Added the following classes:
CommunicationErrorCommunicationErrorResponseCommunicationErrorResponseException
Breaking Changes
- Split the
ChatClientclass intoChatClientandChatThreadClient. - Changed the “add participants” with a
/:addat the end. - Removed
priorityfrommessage. - Changed request and response types to more specific types.
listChatParticipantsPagesandlistChatReadReceiptsPagesnow take now two additional parameters:maxPageSizeandskip.- Renamed
retrieveNextThreadPagestolistChatThreadsNext. - Renamed
retrieveNextThreadPagestolistChatThreadsNext. - Renamed
retrieveNextMessagePagestolistChatMessagesNext. - Renamed
retrieveNextParticipantsPagestolistChatParticipantsNext. - Renamed
retrieveNextReceiptsPagestolistChatReadReceiptsNext.
1.0.0-beta.4 (Changelog)
New Features
- Added support for Rich Text Chat message content.
- Added the following classes:
ChatMessageContentChatMessageTypeAddChatParticipantsErrorsAddChatParticipantsResultChatMessageType
Breaking Changes
ChatMessageproperties are now all required.ChatMessagetype is no longer aStringtype but an extendableEnumtype:ChatMessageType.ChatMessagecontent is no longer aStringtype but an object of typeChatMessageContent.- All
OffsetDateTimeproperties are now in RFC3339 format instead of ISO8601 format.
1.0.0-beta.3 (Changelog)
Breaking Changes
- Methods that returned
SendChatMessageResultnow returnmessageIdinstead. - Renamed the class
ReadReceipttoChatMessageReadReceipt. - Renamed the class
UpdateChatThreadRequesttoUpdateTopicRequest. - Renamed the method
updateChatThreadtoupdateTopic. - Renamed the parameters
memberandthreadMembertoparticipant.
Need help
- For reference documentation visit the Azure SDK for Android documentation.
- For tutorials, samples, quick starts and other documentation, visit the Azure SDK for Android repository.
- File an issue via Github Issues.
- Check previous questions or ask new ones on
StackOverflow using the
azure-android-sdktag.
Latest Releases
View all the latest versions of Android packages here.