From dc9abe88ca8f3cc67f54aecbf0fe77b6a212f14b Mon Sep 17 00:00:00 2001 From: Calise Cheung Date: Wed, 8 Feb 2023 16:15:04 -0800 Subject: [PATCH 1/2] Remove Kotlin Syntax in api doc Remove Kotlin Syntax in api doc --- Documentation/api-reference.md | 42 ---------------------------------- 1 file changed, 42 deletions(-) diff --git a/Documentation/api-reference.md b/Documentation/api-reference.md index 48310377..eb81319d 100644 --- a/Documentation/api-reference.md +++ b/Documentation/api-reference.md @@ -38,11 +38,6 @@ String extensionVersion = Identity.extensionVersion(); #### Kotlin -##### Syntax -```kotlin -fun extensionVersion(): String -``` - ##### Example ```kotlin val extensionVersion = Identity.extensionVersion() @@ -77,11 +72,6 @@ Identity.getExperienceCloudId(new AdobeCallback() { #### Kotlin -##### Syntax -```kotlin -fun getExperienceCloudId(callback: AdobeCallback) -``` - ##### Example ```kotlin Identity.getExperienceCloudId { id -> @@ -118,11 +108,6 @@ Identity.getIdentities(new AdobeCallback() { #### Kotlin -##### Syntax -```kotlin -fun getIdentities(callback: AdobeCallback) -``` - ##### Example ```kotlin Identity.getIdentities { identityMap -> @@ -170,11 +155,6 @@ Identity.getUrlVariables(new AdobeCallback() { #### Kotlin -##### Syntax -```kotlin -fun getUrlVariables(callback: AdobeCallback) -``` - ##### Example ```kotlin Identity.getUrlVariables { urlVariablesString -> @@ -214,11 +194,6 @@ Identity.registerExtension(); #### Kotlin -##### Syntax -```kotlin -fun registerExtension() -``` - ##### Example ```kotlin Identity.registerExtension() @@ -253,11 +228,6 @@ Identity.removeIdentity(item, "Email"); #### Kotlin -##### Syntax -```kotlin -fun removeIdentity(item: IdentityItem, namespace: String) -``` - ##### Example ```kotlin val item = IdentityItem("user@example.com") @@ -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
import ... @@ -452,14 +416,8 @@ identityMap.addItem(item, "Email") Identity.updateIdentities(identityMap); ``` - #### Kotlin -##### Syntax -```kotlin -fun updateIdentities(identityMap: IdentityMap) -``` - ##### Example ```kotlin val item = IdentityItem("user@example.com") From e1fea8ec36d1c4eb1311ace1f5a5a27cfcfdf5d7 Mon Sep 17 00:00:00 2001 From: Calise Cheung Date: Thu, 9 Feb 2023 10:17:10 -0800 Subject: [PATCH 2/2] remove Kotlin syntax for authenticated remove Kotlin syntax for authenticated --- Documentation/api-reference.md | 9 --------- 1 file changed, 9 deletions(-) diff --git a/Documentation/api-reference.md b/Documentation/api-reference.md index eb81319d..37cf8c08 100644 --- a/Documentation/api-reference.md +++ b/Documentation/api-reference.md @@ -584,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") -} ``` \ No newline at end of file