Skip to content

Commit 7ded0b3

Browse files
authored
Merge pull request #4 from iaulakh/patch-18
Update android.md
2 parents f7397a1 + 6845d59 commit 7ded0b3

File tree

4 files changed

+13
-11
lines changed

4 files changed

+13
-11
lines changed

articles/communication-services/how-tos/ui-library-sdk/includes/data-model/android.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ Azure Communication UI [open source library](https://github.com/Azure/communicat
1414

1515
### Local Participant View Customization
1616

17-
The UI Library gives developers the ability to provide a more customized experience in regards to Participant information. At launch, developers can optionally add Partipant View Data. This local data is not shared with the server and can be used to customize the display name and avatar of the local user.
17+
The UI Library gives developers the ability to provide a more customized experience regarding Participant information. At launch, developers can optionally add Participant View Data. This local data is not shared with the server and can be used to customize the display name and avatar of the local user.
1818

1919
#### Local Participant View Data
2020

@@ -59,7 +59,7 @@ The process is similar to the local participant process, however the data is set
5959

6060
To set the participant view data for remote participant, set `setOnRemoteParticipantJoinedHandler`. On remote participant join, use callComposite `setRemoteParticipantViewData` to inject view data for remote participant. The participant identifier [CommunicationIdentifier](https://azure.github.io/azure-sdk-for-android/azure-communication-common/index.html) is to uniquely identify a remote participant.
6161

62-
Calls to `setRemoteParticipantViewData` return a result of `CallCompositeSetParticipantViewDataResult` which has the following values.
62+
Calls to `setRemoteParticipantViewData` return a result of `CallCompositeSetParticipantViewDataResult`, which has the following values.
6363

6464
- CallCompositeSetParticipantViewDataResult.SUCCESS
6565
- CallCompositeSetParticipantViewDataResult.PARTICIPANT_NOT_IN_CALL

articles/communication-services/quickstarts/ui-library/includes/get-started-call/android.md

Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -65,8 +65,8 @@ Two maven repositories are required to integrate the library. MavenCentral is th
6565

6666
In your project gradle scripts ensure the following `repositories` are added.
6767

68-
For `Android Studio (2020.*)` the `repositories` are in `settings.gradle` `dependencyResolutionManagement(Gradle version 6.8 or greater)`.
69-
If you are using old versions of `Android Studio (4.*)` then the `repositories` will be in project level `build.gradle` `allprojects{}`.
68+
For `Android Studio (2020.*)`, the `repositories` are in `settings.gradle` `dependencyResolutionManagement(Gradle version 6.8 or greater)`.
69+
If you are using old versions of `Android Studio (4.*)`, then the `repositories` will be in project level `build.gradle` `allprojects{}`.
7070

7171
```groovy
7272
// dependencyResolutionManagement
@@ -192,8 +192,6 @@ public class MainActivity extends AppCompatActivity {
192192
CommunicationTokenCredential communicationTokenCredential =
193193
new CommunicationTokenCredential(communicationTokenRefreshOptions);
194194

195-
CallCompositeGroupCallLocator locator = new CallCompositeGroupCallLocator(UUID.fromString("GROUP_CALL_ID"));
196-
197195
final CallCompositeLocator locator = new CallCompositeGroupCallLocator(UUID.fromString("GROUP_CALL_ID"));
198196
final CallCompositeRemoteOptions remoteOptions =
199197
new CallCompositeRemoteOptions(locator, communicationTokenCredential, "DISPLAY_NAME");
@@ -320,7 +318,7 @@ Initialize a `CallCompositeTeamsMeetingLinkLocator` and supply it to the `CallCo
320318

321319

322320
```kotlin
323-
val locator = CallCompositeTeamsMeetingLinkLocator("TEAMS_MEETING_LINK)
321+
val locator = CallCompositeTeamsMeetingLinkLocator("TEAMS_MEETING_LINK")
324322

325323
val remoteOptions = CallCompositeRemoteOptions(
326324
locator,
@@ -368,7 +366,7 @@ callComposite.launch(context, remoteOptions);
368366
-----
369367
### Subscribe to error events from `CallComposite`
370368

371-
To receive error events register an `onErrorHandler` with the `CallComposite`.
369+
To receive error events, register an `onErrorHandler` with the `CallComposite`.
372370

373371
The following `errorCode` values may be sent to the Error Handler
374372

@@ -456,9 +454,9 @@ CallComposite callComposite =
456454
```
457455

458456
-----
459-
### Additional Features
457+
### More Features
460458

461-
The list of [use cases](../../../../concepts/ui-library/ui-library-use-cases.md) has detailed information of additional features.
459+
The list of [use cases](../../../../concepts/ui-library/ui-library-use-cases.md) has detailed information of more features.
462460

463461
-----
464462
### Add notifications into your mobile app

articles/communication-services/samples/calling-hero-sample.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,3 +23,7 @@ zone_pivot_groups: acs-web-ios-android
2323
::: zone pivot="platform-ios"
2424
[!INCLUDE [iOS Calling Hero Sample](./includes/ios-calling-hero.md)]
2525
::: zone-end
26+
27+
::: zone pivot="platform-android"
28+
[!INCLUDE [Android Calling Hero Sample](./includes/android-calling-hero.md)]
29+
::: zone-end

articles/communication-services/samples/overview.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ Azure Communication Services has many samples available, which you can use to te
1919

2020
| Sample Name | Description | Languages/Platforms Available |
2121
| :--------------------------------------------------------------------------------------------------- | :------------------------------------------------------------------ | :--------------------------------- |
22-
| [Calling Hero Sample](./calling-hero-sample.md) | Provides a sample of creating a calling application. | [Web](https://github.com/Azure-Samples/communication-services-web-calling-hero), [iOS](https://github.com/Azure-Samples/communication-services-ios-calling-hero)|
22+
| [Calling Hero Sample](./calling-hero-sample.md) | Provides a sample of creating a calling application. | [Web](https://github.com/Azure-Samples/communication-services-web-calling-hero), [iOS](https://github.com/Azure-Samples/communication-services-ios-calling-hero), [Android](https://github.com/Azure-Samples/communication-services-android-calling-hero) |
2323
| [Chat Hero Sample](./chat-hero-sample.md) | Provides a sample of creating a chat application. | [Web](https://github.com/Azure-Samples/communication-services-web-chat-hero) |
2424
| [Trusted Authentication Server Sample](./trusted-auth-sample.md) | Provides a sample implementation of a trusted authentication service used to generate user and access tokens for Azure Communication Services. The service by default maps generated identities to Azure Active Directory | [node.JS](https://github.com/Azure-Samples/communication-services-authentication-hero-nodejs), [C#](https://github.com/Azure-Samples/communication-services-authentication-hero-csharp)
2525
| [Web Calling Sample](./web-calling-sample.md) | A step by step walk-through of Azure Communication Services Calling features, including PSTN, within the Web. | [Web](https://github.com/Azure-Samples/communication-services-web-calling-tutorial/) |

0 commit comments

Comments
 (0)