-
Notifications
You must be signed in to change notification settings - Fork 31
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #47 from webex/Release/2.7.0
Release/2.7.0
- Loading branch information
Showing
251 changed files
with
1,806 additions
and
379 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -38,7 +38,7 @@ Assuming you already have an Android project, e.g. _MyWebexApp_, for your Androi | |
```groovy | ||
dependencies { | ||
compile('com.ciscowebex:androidsdk:2.6.0@aar', { | ||
compile('com.ciscowebex:androidsdk:2.7.0@aar', { | ||
transitive = true | ||
}) | ||
} | ||
|
@@ -312,44 +312,44 @@ Here are some examples of how to use the Android SDK in your app. | |
10. Post a message | ||
```java | ||
webex.message().postToPerson( | ||
EmailAddress.fromString("[email protected]"), | ||
Message.Text.markdown("**Hello**", "<strong>Hello</strong>", "Hello"), | ||
files, | ||
new CompletionHandler<Message>() { | ||
@Override | ||
public void onComplete(Result<Message> result) { | ||
if (result.isSuccessful()) { | ||
// message sent success | ||
webex.message().post( | ||
targetId, | ||
Message.draft(Message.Text.markdown("**Hello**", "<strong>Hello</strong>", "Hello")) | ||
.addAttachments(localFile), | ||
new CompletionHandler<Message>() { | ||
@Override | ||
public void onComplete(Result<Message> result) { | ||
if (result.isSuccessful()) { | ||
// message sent success | ||
... | ||
} else { | ||
// message sent failed | ||
} else { | ||
// message sent failed | ||
... | ||
} | ||
} | ||
})); | ||
} | ||
} | ||
}); | ||
``` | ||
11. Post a threaded message | ||
```java | ||
webex.message().postToPerson( | ||
EmailAddress.fromString("[email protected]"), | ||
Message.Text.markdown("**Hello**", "<strong>Hello</strong>", "Hello"), | ||
files, | ||
parentMessage, | ||
new CompletionHandler<Message>() { | ||
@Override | ||
public void onComplete(Result<Message> result) { | ||
if (result.isSuccessful()) { | ||
// message sent success | ||
webex.message().post( | ||
targetId, | ||
Message.draft(Message.Text.markdown("**Hello**", "<strong>Hello</strong>", "Hello")) | ||
.addAttachments(localFile) | ||
.setParent(parentMessage), | ||
new CompletionHandler<Message>() { | ||
@Override | ||
public void onComplete(Result<Message> result) { | ||
if (result.isSuccessful()) { | ||
// message sent success | ||
... | ||
} else { | ||
// message sent failed | ||
} else { | ||
// message sent failed | ||
... | ||
} | ||
} | ||
})); | ||
} | ||
} | ||
}); | ||
``` | ||
12. Receive a message | ||
|
@@ -545,6 +545,27 @@ Here are some examples of how to use the Android SDK in your app. | |
```java | ||
message.getMentions() | ||
``` | ||
28. Change the max capture fps when screen sharing | ||
```java | ||
webex.phone().setAdvancedSetting(new ShareMaxCaptureFPS(int value)); | ||
``` | ||
29. Switch the audio play output mode during a call | ||
```java | ||
activeCall.switchAudioOutput(AudioOutputMode audioOutputMode); | ||
``` | ||
30. Enable Background Noise Removal(BNR) | ||
```java | ||
webex.phone().enableAudioBNR(boolean enable); | ||
``` | ||
31. Set Background Noise Removal(BNR) mode | ||
```java | ||
webex.phone().setAudioBNRMode(Phone.AudioBRNMode mode); | ||
``` | ||
## Migrating from Cisco Spark Android SDK | ||
|
@@ -598,6 +619,6 @@ Pull requests welcome. To suggest changes to the SDK, please fork this repositor | |
## License | ||
© 2016-2020 Cisco Systems, Inc. and/or its affiliates. All Rights Reserved. | ||
© 2016-2021 Cisco Systems, Inc. and/or its affiliates. All Rights Reserved. | ||
See [LICENSE](https://github.com/webex/webex-android-sdk/blob/master/LICENSE) for details. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -9,8 +9,8 @@ ext { | |
moduleName = 'Cisco Webex Android SDK' | ||
moduleGroupId = 'com.ciscowebex' | ||
moduleArtifactId = 'androidsdk' | ||
moduleVersion = '2.6.0' | ||
moduleVersionCode = 26026 | ||
moduleVersion = '2.7.0' | ||
moduleVersionCode = 27005 | ||
moduleDescription = 'Cisco Webex SDK for Android' | ||
moduleSiteUrl = 'https://developer.webex.com/docs/sdks/android' | ||
moduleProjectUrl = 'https://github.com/webex/webex-android-sdk' | ||
|
@@ -24,6 +24,8 @@ ext { | |
moduleDeveloperEmail = '[email protected]' | ||
moduleDeveloperOrganization = 'Cisco System Inc' | ||
moduleDeveloperOrganizationURL = 'https://www.webex.com/' | ||
|
||
moduleWMEVersion = '10.12.2.0' | ||
} | ||
|
||
Properties properties = new Properties() | ||
|
@@ -180,6 +182,41 @@ publishing { | |
} | ||
} | ||
} | ||
|
||
WME(MavenPublication) { | ||
groupId "com.webex" | ||
artifactId "wme4android-release" | ||
version moduleWMEVersion | ||
artifact rootDir.absolutePath + '/deps/wme4android-release-' + moduleWMEVersion + '.aar' | ||
pom.withXml { | ||
asNode().appendNode('description', 'Cisco Webex Media Engine') | ||
asNode().appendNode('name', 'Cisco Webex Media Engine') | ||
asNode().children().last() + { | ||
resolveStrategy = DELEGATE_FIRST | ||
url moduleSiteUrl | ||
scm { | ||
url moduleGitUrl | ||
connection moduleConnectionUrl | ||
developerConnection moduleDeveloperConnectionUrl | ||
} | ||
licenses { | ||
license { | ||
name 'Commercial' | ||
url 'https://www.cisco.com/c/en/us/products/end-user-license-agreement.html' | ||
} | ||
} | ||
developers { | ||
developer { | ||
id moduleDeveloperId | ||
name moduleDeveloperName | ||
email moduleDeveloperEmail | ||
organization moduleDeveloperOrganization | ||
organizationUrl 'https://www.webex.com/products/teams/' | ||
} | ||
} | ||
} | ||
} | ||
} | ||
} | ||
|
||
repositories { | ||
|
@@ -205,7 +242,7 @@ publishing { | |
|
||
dependencies { | ||
implementation fileTree(include: ['*.jar'], dir: 'libs') | ||
implementation 'com.webex:wme4android-release:10.8.5.0@aar' | ||
implementation "com.webex:wme4android-release:$moduleWMEVersion@aar" | ||
implementation 'com.google.code.gson:gson:2.7' | ||
implementation 'com.github.benoitdion.ln:ln:0.1.2' | ||
implementation 'com.squareup.okhttp3:okhttp:3.12.0' | ||
|
@@ -268,7 +305,7 @@ task javadoc(type: Javadoc) { | |
options.docTitle(moduleName + ' ' + moduleVersion) | ||
options.links("http://docs.oracle.com/javase/7/docs/api/"); | ||
options.links("http://d.android.com/reference/"); | ||
options.footer('Copyright © 2016–2020 Cisco System Inc. All Rights Reserved.') | ||
options.footer('Copyright © 2016–2021 Cisco System Inc. All Rights Reserved.') | ||
exclude '**/BuildConfig.java' | ||
exclude '**/R.java' | ||
exclude '**/internal/**' | ||
|
2 changes: 1 addition & 1 deletion
2
sdk/src/androidTest/java/com/ciscowebex/androidsdk/WebexTestRunner.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
sdk/src/androidTest/java/com/ciscowebex/androidsdk/auth/JWTAuthenticatorTest.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
sdk/src/main/java/com/ciscowebex/androidsdk/CompletionHandler.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
sdk/src/main/java/com/ciscowebex/androidsdk/auth/Authenticator.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
sdk/src/main/java/com/ciscowebex/androidsdk/auth/JWTAuthenticator.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
sdk/src/main/java/com/ciscowebex/androidsdk/auth/OAuthAuthenticator.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
sdk/src/main/java/com/ciscowebex/androidsdk/auth/OAuthWebViewAuthenticator.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
sdk/src/main/java/com/ciscowebex/androidsdk/auth/SSOAuthenticator.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
sdk/src/main/java/com/ciscowebex/androidsdk/auth/internal/OAuthLauncher.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
sdk/src/main/java/com/ciscowebex/androidsdk/auth/internal/TokenAuthenticator.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
sdk/src/main/java/com/ciscowebex/androidsdk/internal/AcquirePermissionActivity.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.