Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove Kotlin Syntax in api doc #101

Merged
merged 2 commits into from
Feb 9, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
51 changes: 0 additions & 51 deletions Documentation/api-reference.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,11 +38,6 @@ String extensionVersion = Identity.extensionVersion();

#### Kotlin

##### Syntax
```kotlin
fun extensionVersion(): String
```

##### Example
```kotlin
val extensionVersion = Identity.extensionVersion()
Expand Down Expand Up @@ -77,11 +72,6 @@ Identity.getExperienceCloudId(new AdobeCallback<String>() {

#### Kotlin

##### Syntax
```kotlin
fun getExperienceCloudId(callback: AdobeCallback<String>)
```

##### Example
```kotlin
Identity.getExperienceCloudId { id ->
Expand Down Expand Up @@ -118,11 +108,6 @@ Identity.getIdentities(new AdobeCallback<IdentityMap>() {

#### Kotlin

##### Syntax
```kotlin
fun getIdentities(callback: AdobeCallback<IdentityMap>)
```

##### Example
```kotlin
Identity.getIdentities { identityMap ->
Expand Down Expand Up @@ -170,11 +155,6 @@ Identity.getUrlVariables(new AdobeCallback<String>() {

#### Kotlin

##### Syntax
```kotlin
fun getUrlVariables(callback: AdobeCallback<String>)
```

##### Example
```kotlin
Identity.getUrlVariables { urlVariablesString ->
Expand Down Expand Up @@ -214,11 +194,6 @@ Identity.registerExtension();

#### Kotlin

##### Syntax
```kotlin
fun registerExtension()
```

##### Example
```kotlin
Identity.registerExtension()
Expand Down Expand Up @@ -253,11 +228,6 @@ Identity.removeIdentity(item, "Email");

#### Kotlin

##### Syntax
```kotlin
fun removeIdentity(item: IdentityItem, namespace: String)
```

##### Example
```kotlin
val item = IdentityItem("[email protected]")
Expand Down Expand Up @@ -360,12 +330,6 @@ public void onResume() {

#### Kotlin

##### Syntax
```kotlin
public fun setAdvertisingIdentifier(advertisingIdentifier: String)
```
- _advertisingIdentifier_ is an ID string that provides developers with a simple, standard system to continue to track ads throughout their apps.

##### Example
<details>
<summary><code>import ...</code></summary>
Expand Down Expand Up @@ -452,14 +416,8 @@ identityMap.addItem(item, "Email")
Identity.updateIdentities(identityMap);
```


#### Kotlin

##### Syntax
```kotlin
fun updateIdentities(identityMap: IdentityMap)
```

emdobrin marked this conversation as resolved.
Show resolved Hide resolved
##### Example
```kotlin
val item = IdentityItem("[email protected]")
Expand Down Expand Up @@ -626,13 +584,4 @@ public enum AuthenticatedState {
AUTHENTICATED("authenticated"),
LOGGED_OUT("loggedOut");
}
```
#### Kotlin

```kotlin
enum class AuthenticatedState(val name: String) {
AMBIGUOUS("ambiguous"),
AUTHENTICATED("authenticated"),
LOGGED_OUT("loggedOut")
}
```