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
getId
method inCommunicationIdentifier
class.
New Features
- Added a new
MicrosoftTeamsUserIdentifier
constructor that takes a non-nullCommunicationCloudEnvironment
parameter. - Added the following classes:
CommunicationCloudEnvironment
CommunicationCloudEnvironmentModel
CommunicationIdentifierSerializer
CommunicationIdentifierModel
MicrosoftTeamsUserIdentifierModel
PhoneNumberIdentifierModel
CommunicationUserIdentifierModel
1.0.0-beta.4 (Changelog)
Breaking Changes
- Renamed
CommunicationUserCredential
toCommunicationTokenCredential
. - Renamed
PhoneNumber
toPhoneNumberIdentifier
. - Renamed
CommunicationUser
toCommunicationUserIdentifier
. - Renamed
CallingApplication
toCallingApplicationIdentifier
.
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:
CommunicationError
CommunicationErrorResponse
CommunicationErrorResponseException
Breaking Changes
- Split the
ChatClient
class intoChatClient
andChatThreadClient
. - Changed the “add participants” with a
/:add
at the end. - Removed
priority
frommessage
. - Changed request and response types to more specific types.
listChatParticipantsPages
andlistChatReadReceiptsPages
now take now two additional parameters:maxPageSize
andskip
.- Renamed
retrieveNextThreadPages
tolistChatThreadsNext
. - Renamed
retrieveNextThreadPages
tolistChatThreadsNext
. - Renamed
retrieveNextMessagePages
tolistChatMessagesNext
. - Renamed
retrieveNextParticipantsPages
tolistChatParticipantsNext
. - Renamed
retrieveNextReceiptsPages
tolistChatReadReceiptsNext
.
1.0.0-beta.4 (Changelog)
New Features
- Added support for Rich Text Chat message content.
- Added the following classes:
ChatMessageContent
ChatMessageType
AddChatParticipantsErrors
AddChatParticipantsResult
ChatMessageType
Breaking Changes
ChatMessage
properties are now all required.ChatMessage
type is no longer aString
type but an extendableEnum
type:ChatMessageType
.ChatMessage
content is no longer aString
type but an object of typeChatMessageContent
.- All
OffsetDateTime
properties are now in RFC3339 format instead of ISO8601 format.
1.0.0-beta.3 (Changelog)
Breaking Changes
- Methods that returned
SendChatMessageResult
now returnmessageId
instead. - Renamed the class
ReadReceipt
toChatMessageReadReceipt
. - Renamed the class
UpdateChatThreadRequest
toUpdateTopicRequest
. - Renamed the method
updateChatThread
toupdateTopic
. - Renamed the parameters
member
andthreadMember
toparticipant
.
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-sdk
tag.
Latest Releases
View all the latest versions of Android packages here.