diff --git a/.buddy/cd.yml b/.buddy/cd.yml new file mode 100644 index 0000000..3cb6386 --- /dev/null +++ b/.buddy/cd.yml @@ -0,0 +1,66 @@ +- pipeline: "CD" + events: + - type: "PUSH" + refs: + - "refs/heads/master" + fail_on_prepare_env_warning: true + actions: + - action: "Publish" + type: "BUILD" + docker_image_name: "library/openjdk" + docker_image_tag: "20" + execute_commands: + - "export ANDROID_HOME=\"/opt/android/sdk\"" + - "export PATH=$PATH:/opt/android/sdk/cmdline-tools/tools/bin" + - "if [ ! -d \"$ANDROID_HOME/cmdline-tools\" ]; then" + - " curl -o sdk.zip https://dl.google.com/android/repository/commandlinetools-linux-7583922_latest.zip" + - " unzip sdk.zip" + - " rm sdk.zip" + - " mkdir \"$ANDROID_HOME/cmdline-tools\"" + - " mv cmdline-tools \"$ANDROID_HOME/cmdline-tools/tools\"" + - " yes | \"$ANDROID_HOME/cmdline-tools/tools/bin/sdkmanager\" --licenses" + - "fi" + - "" + - "chmod +x gradlew" + - "export ORG_GRADLE_PROJECT_signingKey=\"$(cat /buddy-variables/cismartcar_com_pgp)\"" + - "# Publish" + - "" + - "./gradlew publish closeAndReleaseStagingRepository" + - "" + - "" + setup_commands: + - "microdnf install unzip findutils" + cached_dirs: + - "/root/.gradle" + - "/opt/android/sdk" + shell: "BASH" + - action: "Send notification" + type: "SLACK" + content: "[#$BUDDY_EXECUTION_ID] $BUDDY_PIPELINE_NAME Successfully deployed <$BUDDY_PROJECT_URL|$BUDDY_PROJECT_NAME>" + blocks: "[\n\t{\n\t\t\"type\": \"section\",\n\t\t\"fields\": [\n\t\t\t{\n\t\t\t\t\"type\": \"mrkdwn\",\n\t\t\t\t\"text\": \"*Successful run:* <$BUDDY_EXECUTION_URL|Execution #$BUDDY_EXECUTION_ID $BUDDY_EXECUTION_COMMENT>\"\n\t\t\t},\n\t\t\t{\n\t\t\t\t\"type\": \"mrkdwn\",\n\t\t\t\t\"text\": \"*Pipeline:* <$BUDDY_PIPELINE_URL|$BUDDY_PIPELINE_NAME>\"\n\t\t\t},\n\t\t\t{\n\t\t\t\t\"type\": \"mrkdwn\",\n\t\t\t\t\"text\": \"*Ref:* $BUDDY_PIPELINE_REF_NAME\"\n\t\t\t},\n\t\t\t{\n\t\t\t\t\"type\": \"mrkdwn\",\n\t\t\t\t\"text\": \"*Project:* <$BUDDY_PROJECT_URL|$BUDDY_PROJECT_NAME>\"\n\t\t\t}\n\t\t]\n\t}\n]" + channel: "C047XPXG6" + integration: "L39J4q2Volej59vzdjNmGQBW71" + run_next: "IN_HARD_PARALLEL" + - action: "Push Git Tag" + type: "BUILD" + docker_image_name: "node" + docker_image_tag: "20" + execute_commands: + - "eval \"$(ssh-agent -s)\"" + - "ssh-add ~/.ssh/smartcar_ci_travis_04_15_2021" + - "ssh-keyscan github.com >> /root/.ssh/known_hosts" + - "git config --global user.email \"ci@smartcar.com\"" + - "git config --global user.name \"Buddy CI User\"" + - "" + - "export SDK_VERSION=$(cat smartcar-auth/gradle.properties | grep -E '^libVersion=.*$' | sed 's/^libVersion=//')" + - "git config remote.$BUDDY_REPO_SLUG.url || git remote add $BUDDY_REPO_SLUG $BUDDY_REPO_SSH_URL.git" + - "git tag -af v$SDK_VERSION -m \"Buddy Generated Tag\"" + - "git push $BUDDY_REPO_SLUG v$SDK_VERSION" + shell: "BASH" + - action: "Send notification-1" + type: "SLACK" + trigger_time: "ON_FAILURE" + content: "[#$BUDDY_EXECUTION_ID] $BUDDY_PIPELINE_NAME Failed to deploy <$BUDDY_PROJECT_URL|$BUDDY_PROJECT_NAME> to production." + blocks: "[\n\t{\n\t\t\"type\": \"section\",\n\t\t\"fields\": [\n\t\t\t{\n\t\t\t\t\"type\": \"mrkdwn\",\n\t\t\t\t\"text\": \"*Failed run:* <$BUDDY_EXECUTION_URL|Execution #$BUDDY_EXECUTION_ID $BUDDY_EXECUTION_COMMENT>\"\n\t\t\t},\n\t\t\t{\n\t\t\t\t\"type\": \"mrkdwn\",\n\t\t\t\t\"text\": \"*Pipeline:* <$BUDDY_PIPELINE_URL|$BUDDY_PIPELINE_NAME>\"\n\t\t\t},\n\t\t\t{\n\t\t\t\t\"type\": \"mrkdwn\",\n\t\t\t\t\"text\": \"*Ref:* $BUDDY_PIPELINE_REF_NAME\"\n\t\t\t},\n\t\t\t{\n\t\t\t\t\"type\": \"mrkdwn\",\n\t\t\t\t\"text\": \"*Project:* <$BUDDY_PROJECT_URL|$BUDDY_PROJECT_NAME>\"\n\t\t\t}\n\t\t]\n\t}\n]" + channel: "C0ERCSYEL" + integration: "L39J4q2Volej59vzdjNmGQBW71" diff --git a/.buddy/ci.yml b/.buddy/ci.yml new file mode 100644 index 0000000..9de4bd1 --- /dev/null +++ b/.buddy/ci.yml @@ -0,0 +1,33 @@ +- pipeline: "CI" + events: + - type: "PUSH" + refs: + - "refs/heads/*" + fail_on_prepare_env_warning: true + actions: + - action: "Build" + type: "BUILD" + docker_image_name: "library/openjdk" + docker_image_tag: "20" + execute_commands: + - "export ANDROID_HOME=\"/opt/android/sdk\"" + - "export PATH=$PATH:/opt/android/sdk/cmdline-tools/tools/bin" + - "if [ ! -d \"$ANDROID_HOME/cmdline-tools\" ]; then" + - " curl -o sdk.zip https://dl.google.com/android/repository/commandlinetools-linux-7583922_latest.zip" + - " unzip sdk.zip" + - " rm sdk.zip" + - " mkdir \"$ANDROID_HOME/cmdline-tools\"" + - " mv cmdline-tools \"$ANDROID_HOME/cmdline-tools/tools\"" + - " yes | \"$ANDROID_HOME/cmdline-tools/tools/bin/sdkmanager\" --licenses" + - "fi" + - "" + - "chmod +x gradlew" + - "./gradlew build check" + - "# ./gradlew assembleDebug" + - "# ./gradlew assembleRelease" + setup_commands: + - "microdnf install unzip findutils" + cached_dirs: + - "/root/.gradle" + - "/opt/android/sdk" + shell: "BASH" diff --git a/.travis.yml b/.travis.yml deleted file mode 100644 index 891cc81..0000000 --- a/.travis.yml +++ /dev/null @@ -1,53 +0,0 @@ -language: android -jdk: openjdk17 - -branches: - except: - # Don't run on tag pushes - - /^v\d+\.\d+\.\d+$/ - -env: - global: - - BUILD_TOOLS_VERSION=34.0.0 - - ANDROID_API_LEVEL=34 - -android: - components: - - tools - - platform-tools - - cmdline-tools - - build-tools-$BUILD_TOOLS - - android-$ANDROID_API_LEVEL - - extra-google-google_play_services - - extra-google-m2repository - - extra-android-m2repository - - addon-google_apis-google-$ANDROID_API_LEVEL - licenses: - - 'android-sdk-preview-license-.+' - - 'android-sdk-license-.+' - - 'google-gdk-license-.+' - -script: - # accept sdk licenses and build/test the project - - yes | sdkmanager --update - - yes | sdkmanager --licenses - - ./gradlew build check - - # report coverage (disabled) - # - bash <(curl -s https://codecov.io/bash) - - # create tag - - git config --global user.email "ci@smartcar.com" - - git config --global user.name "Travis CI User" - - export SDK_VERSION=$(cat smartcar-auth/gradle.properties | grep -E '^libVersion=.*$' | sed 's/^libVersion=//') - - if [ "${TRAVIS_BRANCH}" = "master" ]; then git tag -a "v${SDK_VERSION}" -m "Travis Generated Tag"; fi - -before_deploy: - - export ORG_GRADLE_PROJECT_signingKey="$(echo $ORG_GRADLE_PROJECT_signingKey_encoded | base64 -d)" - -deploy: - - provider: script - skip_cleanup: true - script: ./gradlew publish closeAndReleaseStagingRepository && echo -e "machine github.com\n login $GH_TOKEN" >> ~/.netrc && git push origin "v${SDK_VERSION}" - on: - branch: master diff --git a/README.md b/README.md index c400bf2..71d8538 100644 --- a/README.md +++ b/README.md @@ -14,14 +14,13 @@ Add the following to your application's `build.gradle` dependencies: ``` dependencies { - implementation 'com.smartcar.sdk:smartcar-auth:3.0.0' - implementation 'androidx.browser:browser:1.0.0' + implementation 'com.smartcar.sdk:smartcar-auth:4.0.0' } ``` ## Usage -1. Instantiate a new [`SmartcarAuth`](https://smartcar.github.io/android-sdk/com/smartcar/sdk/SmartcarAuth.html) instance with a [`SmartcarCallback`](https://smartcar.github.io/android-sdk/com/smartcar/sdk/SmartcarCallback.html) handler: +1. Instantiate a new [`SmartcarAuth`](https://javadoc.io/doc/com.smartcar.sdk/smartcar-auth/latest/com/smartcar/sdk/SmartcarAuth.html) instance with a [`SmartcarCallback`](https://javadoc.io/doc/com.smartcar.sdk/smartcar-auth/latest/com/smartcar/sdk/SmartcarCallback.html) handler: ```java import com.smartcar.sdk.SmartcarAuth; @@ -56,7 +55,7 @@ Button connectButton = findViewById(R.id.connect_button); smartcarAuth.addClickHandler(getApplicationContext(), connectButton); ``` -3. Use the [`AuthUrlBuilder`](https://smartcar.github.io/android-sdk/com/smartcar/sdk/SmartcarAuth.AuthUrlBuilder.html) for additional configuration: +3. Use the [`AuthUrlBuilder`](https://javadoc.io/doc/com.smartcar.sdk/smartcar-auth/latest/com/smartcar/sdk/SmartcarAuth.AuthUrlBuilder.html) for additional configuration: ```java String authUrl = smartcarAuth.authUrlBuilder() @@ -79,9 +78,9 @@ Please use Android Studio 3.5 to develop on the Smartcar Android SDK. [smartcar-dashboard]: https://dashboard.smartcar.com/login/ [smartcar-docs]: https://smartcar.com/docs -[ci-image]: https://travis-ci.com/smartcar/android-sdk.svg?token=6Yrkze1DNb8WHnHxrCy6&branch=master -[ci-url]: https://travis-ci.com/smartcar/android-sdk -[javadoc-image]: https://img.shields.io/badge/javadoc-3.1.2-brightgreen.svg -[javadoc-url]: https://smartcar.github.io/android-sdk +[ci-image]: https://app.buddy.works/smartcar/android-sdk/pipelines/pipeline/504649/badge.svg?token=97cfcc42803fd12732976ed9738a7a119d87532ffdd2686b5513bbaef42bad93 +[ci-url]: https://app.buddy.works/smartcar/android-sdk/pipelines/pipeline/504649 +[javadoc-image]: https://javadoc.io/badge2/com.smartcar.sdk/smartcar-auth/javadoc.svg +[javadoc-url]: https://javadoc.io/doc/com.smartcar.sdk/smartcar-auth [maven-image]: https://img.shields.io/maven-central/v/com.smartcar.sdk/smartcar-auth.svg?label=Maven%20Central [maven-url]: https://central.sonatype.com/artifact/com.smartcar.sdk/smartcar-auth diff --git a/docs/allclasses-frame.html b/docs/allclasses-frame.html deleted file mode 100644 index 84ae400..0000000 --- a/docs/allclasses-frame.html +++ /dev/null @@ -1,24 +0,0 @@ - - - - - -All Classes (smartcar-auth - 3.3.0) - - - - -

All Classes

-
- -
- - diff --git a/docs/allclasses-noframe.html b/docs/allclasses-noframe.html deleted file mode 100644 index 3dccdb3..0000000 --- a/docs/allclasses-noframe.html +++ /dev/null @@ -1,24 +0,0 @@ - - - - - -All Classes (smartcar-auth - 3.3.0) - - - - -

All Classes

-
- -
- - diff --git a/docs/com/smartcar/sdk/SmartcarAuth.AuthUrlBuilder.html b/docs/com/smartcar/sdk/SmartcarAuth.AuthUrlBuilder.html deleted file mode 100644 index 8dfe23f..0000000 --- a/docs/com/smartcar/sdk/SmartcarAuth.AuthUrlBuilder.html +++ /dev/null @@ -1,457 +0,0 @@ - - - - - -SmartcarAuth.AuthUrlBuilder (smartcar-auth - 3.3.0) - - - - - - - -
- - -
Skip navigation links
- - - - -
Smartcar Android Auth SDK
-
- - - -
-
com.smartcar.sdk
-

Class SmartcarAuth.AuthUrlBuilder

-
-
- -
- -
-
- -
-
- -
-
- - -
- - -
Skip navigation links
- - - - -
Smartcar Android Auth SDK
-
- - - - diff --git a/docs/com/smartcar/sdk/SmartcarAuth.html b/docs/com/smartcar/sdk/SmartcarAuth.html deleted file mode 100644 index a2863e9..0000000 --- a/docs/com/smartcar/sdk/SmartcarAuth.html +++ /dev/null @@ -1,436 +0,0 @@ - - - - - -SmartcarAuth (smartcar-auth - 3.3.0) - - - - - - - -
- - -
Skip navigation links
- - - - -
Smartcar Android Auth SDK
-
- - - -
-
com.smartcar.sdk
-

Class SmartcarAuth

-
-
- -
- -
-
- -
-
- -
-
- - -
- - -
Skip navigation links
- - - - -
Smartcar Android Auth SDK
-
- - - - diff --git a/docs/com/smartcar/sdk/SmartcarCallback.html b/docs/com/smartcar/sdk/SmartcarCallback.html deleted file mode 100644 index 85767fa..0000000 --- a/docs/com/smartcar/sdk/SmartcarCallback.html +++ /dev/null @@ -1,225 +0,0 @@ - - - - - -SmartcarCallback (smartcar-auth - 3.3.0) - - - - - - - -
- - -
Skip navigation links
- - - - -
Smartcar Android Auth SDK
-
- - - -
-
com.smartcar.sdk
-

Interface SmartcarCallback

-
-
-
- -
-
- -
-
- -
-
- - -
- - -
Skip navigation links
- - - - -
Smartcar Android Auth SDK
-
- - - - diff --git a/docs/com/smartcar/sdk/SmartcarCodeReceiver.html b/docs/com/smartcar/sdk/SmartcarCodeReceiver.html deleted file mode 100644 index 29d4182..0000000 --- a/docs/com/smartcar/sdk/SmartcarCodeReceiver.html +++ /dev/null @@ -1,240 +0,0 @@ - - - - - -SmartcarCodeReceiver (smartcar-auth - 3.3.0) - - - - - - - -
- - -
Skip navigation links
- - - - -
Smartcar Android Auth SDK
-
- - - -
-
com.smartcar.sdk
-

Class SmartcarCodeReceiver

-
-
- -
- -
-
- -
-
- -
-
- - -
- - -
Skip navigation links
- - - - -
Smartcar Android Auth SDK
-
- - - - diff --git a/docs/com/smartcar/sdk/SmartcarResponse.Builder.html b/docs/com/smartcar/sdk/SmartcarResponse.Builder.html deleted file mode 100644 index 84bf82b..0000000 --- a/docs/com/smartcar/sdk/SmartcarResponse.Builder.html +++ /dev/null @@ -1,359 +0,0 @@ - - - - - -SmartcarResponse.Builder (smartcar-auth - 3.3.0) - - - - - - - -
- - -
Skip navigation links
- - - - -
Smartcar Android Auth SDK
-
- - - -
-
com.smartcar.sdk
-

Class SmartcarResponse.Builder

-
-
- -
- -
-
- -
-
- -
-
- - -
- - -
Skip navigation links
- - - - -
Smartcar Android Auth SDK
-
- - - - diff --git a/docs/com/smartcar/sdk/SmartcarResponse.html b/docs/com/smartcar/sdk/SmartcarResponse.html deleted file mode 100644 index 4efaa36..0000000 --- a/docs/com/smartcar/sdk/SmartcarResponse.html +++ /dev/null @@ -1,336 +0,0 @@ - - - - - -SmartcarResponse (smartcar-auth - 3.3.0) - - - - - - - -
- - -
Skip navigation links
- - - - -
Smartcar Android Auth SDK
-
- - - -
-
com.smartcar.sdk
-

Class SmartcarResponse

-
-
- -
- -
-
- -
-
- -
-
- - -
- - -
Skip navigation links
- - - - -
Smartcar Android Auth SDK
-
- - - - diff --git a/docs/com/smartcar/sdk/VehicleInfo.Builder.html b/docs/com/smartcar/sdk/VehicleInfo.Builder.html deleted file mode 100644 index 7b33897..0000000 --- a/docs/com/smartcar/sdk/VehicleInfo.Builder.html +++ /dev/null @@ -1,371 +0,0 @@ - - - - - -VehicleInfo.Builder (smartcar-auth - 3.3.0) - - - - - - - -
- - -
Skip navigation links
- - - - -
Smartcar Android Auth SDK
-
- - - -
-
com.smartcar.sdk
-

Class VehicleInfo.Builder

-
-
- -
- -
-
- -
-
- -
-
- - -
- - -
Skip navigation links
- - - - -
Smartcar Android Auth SDK
-
- - - - diff --git a/docs/com/smartcar/sdk/VehicleInfo.html b/docs/com/smartcar/sdk/VehicleInfo.html deleted file mode 100644 index ceb883c..0000000 --- a/docs/com/smartcar/sdk/VehicleInfo.html +++ /dev/null @@ -1,340 +0,0 @@ - - - - - -VehicleInfo (smartcar-auth - 3.3.0) - - - - - - - -
- - -
Skip navigation links
- - - - -
Smartcar Android Auth SDK
-
- - - -
-
com.smartcar.sdk
-

Class VehicleInfo

-
-
- -
- -
-
- -
-
- -
-
- - -
- - -
Skip navigation links
- - - - -
Smartcar Android Auth SDK
-
- - - - diff --git a/docs/com/smartcar/sdk/package-frame.html b/docs/com/smartcar/sdk/package-frame.html deleted file mode 100644 index 602a688..0000000 --- a/docs/com/smartcar/sdk/package-frame.html +++ /dev/null @@ -1,28 +0,0 @@ - - - - - -com.smartcar.sdk (smartcar-auth - 3.3.0) - - - - -

com.smartcar.sdk

-
-

Interfaces

- -

Classes

- -
- - diff --git a/docs/com/smartcar/sdk/package-summary.html b/docs/com/smartcar/sdk/package-summary.html deleted file mode 100644 index 4b346f6..0000000 --- a/docs/com/smartcar/sdk/package-summary.html +++ /dev/null @@ -1,186 +0,0 @@ - - - - - -com.smartcar.sdk (smartcar-auth - 3.3.0) - - - - - - - -
- - -
Skip navigation links
- - - - -
Smartcar Android Auth SDK
-
- - -
-

Package com.smartcar.sdk

-
-
- -
- -
- - -
Skip navigation links
- - - - -
Smartcar Android Auth SDK
-
- - - - diff --git a/docs/com/smartcar/sdk/package-tree.html b/docs/com/smartcar/sdk/package-tree.html deleted file mode 100644 index ad67624..0000000 --- a/docs/com/smartcar/sdk/package-tree.html +++ /dev/null @@ -1,144 +0,0 @@ - - - - - -com.smartcar.sdk Class Hierarchy (smartcar-auth - 3.3.0) - - - - - - - -
- - -
Skip navigation links
- - - - -
Smartcar Android Auth SDK
-
- - -
-

Hierarchy For Package com.smartcar.sdk

-
-
-

Class Hierarchy

- -

Interface Hierarchy

- -
- -
- - -
Skip navigation links
- - - - -
Smartcar Android Auth SDK
-
- - - - diff --git a/docs/constant-values.html b/docs/constant-values.html deleted file mode 100644 index fe3e0cc..0000000 --- a/docs/constant-values.html +++ /dev/null @@ -1,121 +0,0 @@ - - - - - -Constant Field Values (smartcar-auth - 3.3.0) - - - - - - - -
- - -
Skip navigation links
- - - - -
Smartcar Android Auth SDK
-
- - -
-

Constant Field Values

-

Contents

-
- -
- - -
Skip navigation links
- - - - -
Smartcar Android Auth SDK
-
- - - - diff --git a/docs/deprecated-list.html b/docs/deprecated-list.html deleted file mode 100644 index b2824c3..0000000 --- a/docs/deprecated-list.html +++ /dev/null @@ -1,121 +0,0 @@ - - - - - -Deprecated List (smartcar-auth - 3.3.0) - - - - - - - -
- - -
Skip navigation links
- - - - -
Smartcar Android Auth SDK
-
- - -
-

Deprecated API

-

Contents

-
- -
- - -
Skip navigation links
- - - - -
Smartcar Android Auth SDK
-
- - - - diff --git a/docs/help-doc.html b/docs/help-doc.html deleted file mode 100644 index 0d39d20..0000000 --- a/docs/help-doc.html +++ /dev/null @@ -1,218 +0,0 @@ - - - - - -API Help (smartcar-auth - 3.3.0) - - - - - - - -
- - -
Skip navigation links
- - - - -
Smartcar Android Auth SDK
-
- - -
-

How This API Document Is Organized

-
This API (Application Programming Interface) document has pages corresponding to the items in the navigation bar, described as follows.
-
-
- -This help file applies to API documentation generated using the standard doclet.
- -
- - -
Skip navigation links
- - - - -
Smartcar Android Auth SDK
-
- - - - diff --git a/docs/index-all.html b/docs/index-all.html deleted file mode 100644 index 33030e6..0000000 --- a/docs/index-all.html +++ /dev/null @@ -1,363 +0,0 @@ - - - - - -Index (smartcar-auth - 3.3.0) - - - - - - - -
- - -
Skip navigation links
- - - - -
Smartcar Android Auth SDK
-
- - -
A B C E G H L M S T V Y  - - -

A

-
-
addClickHandler(Context, View) - Method in class com.smartcar.sdk.SmartcarAuth
-
-
Attaches a click listener to a view to launch Smartcar Connect.
-
-
addClickHandler(Context, View, String) - Method in class com.smartcar.sdk.SmartcarAuth
-
-
Attaches a click listener to a view to launch Smartcar Connect.
-
-
authUrlBuilder() - Method in class com.smartcar.sdk.SmartcarAuth
-
-
Build a Smartcar Connect authorization URL.
-
-
AuthUrlBuilder() - Constructor for class com.smartcar.sdk.SmartcarAuth.AuthUrlBuilder
-
 
-
- - - -

B

-
-
build() - Method in class com.smartcar.sdk.SmartcarAuth.AuthUrlBuilder
-
-
Build a Smartcar Connect authorization url.
-
-
build() - Method in class com.smartcar.sdk.SmartcarResponse.Builder
-
-
Instantiates a new SmartcarResponse object, which will also have any optional properties - that are already set on the Builder object that is calling this method.
-
-
build() - Method in class com.smartcar.sdk.VehicleInfo.Builder
-
-
Instantiates a new VehicleInfo object, which will also have any optional properties - that are already set on the Builder object that is calling this method.
-
-
Builder() - Constructor for class com.smartcar.sdk.SmartcarResponse.Builder
-
 
-
Builder() - Constructor for class com.smartcar.sdk.VehicleInfo.Builder
-
 
-
- - - -

C

-
-
code(String) - Method in class com.smartcar.sdk.SmartcarResponse.Builder
-
 
-
com.smartcar.sdk - package com.smartcar.sdk
-
 
-
- - - -

E

-
-
error(String) - Method in class com.smartcar.sdk.SmartcarResponse.Builder
-
 
-
errorDescription(String) - Method in class com.smartcar.sdk.SmartcarResponse.Builder
-
 
-
- - - -

G

-
-
getCode() - Method in class com.smartcar.sdk.SmartcarResponse
-
 
-
getError() - Method in class com.smartcar.sdk.SmartcarResponse
-
 
-
getErrorDescription() - Method in class com.smartcar.sdk.SmartcarResponse
-
 
-
getMake() - Method in class com.smartcar.sdk.VehicleInfo
-
-
Returns the make assigned to VehicleInfo
-
-
getModel() - Method in class com.smartcar.sdk.VehicleInfo
-
-
Returns the model assigned to VehicleInfo
-
-
getState() - Method in class com.smartcar.sdk.SmartcarResponse
-
 
-
getVehicleInfo() - Method in class com.smartcar.sdk.SmartcarResponse
-
 
-
getVin() - Method in class com.smartcar.sdk.VehicleInfo
-
-
Returns the vin assigned to VehicleInfo
-
-
getVirtualKeyUrl() - Method in class com.smartcar.sdk.SmartcarResponse
-
 
-
getYear() - Method in class com.smartcar.sdk.VehicleInfo
-
-
Returns the year assigned to VehicleInfo
-
-
- - - -

H

-
-
handleResponse(SmartcarResponse) - Method in interface com.smartcar.sdk.SmartcarCallback
-
 
-
- - - -

L

-
-
launchAuthFlow(Context) - Method in class com.smartcar.sdk.SmartcarAuth
-
-
Starts the launch of Smartcar Connect.
-
-
launchAuthFlow(Context, String) - Method in class com.smartcar.sdk.SmartcarAuth
-
-
Starts the launch of Smartcar Connect.
-
-
- - - -

M

-
-
make(String) - Method in class com.smartcar.sdk.VehicleInfo.Builder
-
-
Sets the make on the Builder.
-
-
model(String) - Method in class com.smartcar.sdk.VehicleInfo.Builder
-
-
Sets the model on the Builder.
-
-
- - - -

S

-
-
setFlags(String[]) - Method in class com.smartcar.sdk.SmartcarAuth.AuthUrlBuilder
-
-
Enable early access features.
-
-
setForcePrompt(boolean) - Method in class com.smartcar.sdk.SmartcarAuth.AuthUrlBuilder
-
-
Force display of the grant approval dialog in Smartcar Connect.
-
-
setMakeBypass(String) - Method in class com.smartcar.sdk.SmartcarAuth.AuthUrlBuilder
-
-
Bypass the brand selector screen to a specified make.
-
-
setSingleSelect(boolean) - Method in class com.smartcar.sdk.SmartcarAuth.AuthUrlBuilder
-
-
Ensure the user only authorizes a single vehicle.
-
-
setSingleSelectVin(String) - Method in class com.smartcar.sdk.SmartcarAuth.AuthUrlBuilder
-
-
Specify the vin a user can authorize in Smartcar Connect.
-
-
setState(String) - Method in class com.smartcar.sdk.SmartcarAuth.AuthUrlBuilder
-
-
Set an optional state parameter.
-
-
setUser(String) - Method in class com.smartcar.sdk.SmartcarAuth.AuthUrlBuilder
-
-
Specify a unique identifier for the vehicle owner to track their progress through - Smartcar Connect.
-
-
SmartcarAuth - Class in com.smartcar.sdk
-
-
Main class that provides SDK access methods.
-
-
SmartcarAuth(String, String, String[], SmartcarCallback) - Constructor for class com.smartcar.sdk.SmartcarAuth
-
-
Constructs an instance with the given parameters.
-
-
SmartcarAuth(String, String, String[], boolean, SmartcarCallback) - Constructor for class com.smartcar.sdk.SmartcarAuth
-
-
Constructs an instance with the given parameters.
-
-
SmartcarAuth.AuthUrlBuilder - Class in com.smartcar.sdk
-
-
A builder used for generating Smartcar Connect authorization URLs.
-
-
SmartcarCallback - Interface in com.smartcar.sdk
-
-
Callback interface that should be implemented by the application.
-
-
SmartcarCodeReceiver - Class in com.smartcar.sdk
-
-
Activity that receives the response sent to the custom URL scheme defined by the application.
-
-
SmartcarCodeReceiver() - Constructor for class com.smartcar.sdk.SmartcarCodeReceiver
-
 
-
SmartcarResponse - Class in com.smartcar.sdk
-
-
A class that creates the response from Smartcar Connect.
-
-
SmartcarResponse.Builder - Class in com.smartcar.sdk
-
 
-
state(String) - Method in class com.smartcar.sdk.SmartcarResponse.Builder
-
 
-
- - - -

T

-
-
toString() - Method in class com.smartcar.sdk.SmartcarResponse
-
 
-
toString() - Method in class com.smartcar.sdk.VehicleInfo
-
 
-
- - - -

V

-
-
vehicleInfo(VehicleInfo) - Method in class com.smartcar.sdk.SmartcarResponse.Builder
-
 
-
VehicleInfo - Class in com.smartcar.sdk
-
-
A class that stores vehicle data returned in SmartcarResponse.
-
-
VehicleInfo.Builder - Class in com.smartcar.sdk
-
-
Builder class that allows for optional properties that can be null on VehicleInfo
-
-
vin(String) - Method in class com.smartcar.sdk.VehicleInfo.Builder
-
-
Sets the vin on the Builder.
-
-
virtualKeyUrl(String) - Method in class com.smartcar.sdk.SmartcarResponse.Builder
-
 
-
- - - -

Y

-
-
year(Integer) - Method in class com.smartcar.sdk.VehicleInfo.Builder
-
-
Sets the year on the Builder.
-
-
-A B C E G H L M S T V Y 
- -
- - -
Skip navigation links
- - - - -
Smartcar Android Auth SDK
-
- - - - diff --git a/docs/index.html b/docs/index.html deleted file mode 100644 index 2e60806..0000000 --- a/docs/index.html +++ /dev/null @@ -1,72 +0,0 @@ - - - - - -smartcar-auth - 3.3.0 - - - - - - -<noscript> -<div>JavaScript is disabled on your browser.</div> -</noscript> -<h2>Frame Alert</h2> -<p>This document is designed to be viewed using the frames feature. If you see this message, you are using a non-frame-capable web client. Link to <a href="com/smartcar/sdk/package-summary.html">Non-frame version</a>.</p> - - - diff --git a/docs/overview-tree.html b/docs/overview-tree.html deleted file mode 100644 index 1a62231..0000000 --- a/docs/overview-tree.html +++ /dev/null @@ -1,148 +0,0 @@ - - - - - -Class Hierarchy (smartcar-auth - 3.3.0) - - - - - - - -
- - -
Skip navigation links
- - - - -
Smartcar Android Auth SDK
-
- - -
-

Hierarchy For All Packages

-Package Hierarchies: - -
-
-

Class Hierarchy

- -

Interface Hierarchy

- -
- -
- - -
Skip navigation links
- - - - -
Smartcar Android Auth SDK
-
- - - - diff --git a/docs/package-list b/docs/package-list deleted file mode 100644 index af885c5..0000000 --- a/docs/package-list +++ /dev/null @@ -1 +0,0 @@ -com.smartcar.sdk diff --git a/docs/script.js b/docs/script.js deleted file mode 100644 index b346356..0000000 --- a/docs/script.js +++ /dev/null @@ -1,30 +0,0 @@ -function show(type) -{ - count = 0; - for (var key in methods) { - var row = document.getElementById(key); - if ((methods[key] & type) != 0) { - row.style.display = ''; - row.className = (count++ % 2) ? rowColor : altColor; - } - else - row.style.display = 'none'; - } - updateTabs(type); -} - -function updateTabs(type) -{ - for (var value in tabs) { - var sNode = document.getElementById(tabs[value][0]); - var spanNode = sNode.firstChild; - if (value == type) { - sNode.className = activeTableTab; - spanNode.innerHTML = tabs[value][1]; - } - else { - sNode.className = tableTab; - spanNode.innerHTML = "" + tabs[value][1] + ""; - } - } -} diff --git a/docs/stylesheet.css b/docs/stylesheet.css deleted file mode 100644 index 98055b2..0000000 --- a/docs/stylesheet.css +++ /dev/null @@ -1,574 +0,0 @@ -/* Javadoc style sheet */ -/* -Overall document style -*/ - -@import url('resources/fonts/dejavu.css'); - -body { - background-color:#ffffff; - color:#353833; - font-family:'DejaVu Sans', Arial, Helvetica, sans-serif; - font-size:14px; - margin:0; -} -a:link, a:visited { - text-decoration:none; - color:#4A6782; -} -a:hover, a:focus { - text-decoration:none; - color:#bb7a2a; -} -a:active { - text-decoration:none; - color:#4A6782; -} -a[name] { - color:#353833; -} -a[name]:hover { - text-decoration:none; - color:#353833; -} -pre { - font-family:'DejaVu Sans Mono', monospace; - font-size:14px; -} -h1 { - font-size:20px; -} -h2 { - font-size:18px; -} -h3 { - font-size:16px; - font-style:italic; -} -h4 { - font-size:13px; -} -h5 { - font-size:12px; -} -h6 { - font-size:11px; -} -ul { - list-style-type:disc; -} -code, tt { - font-family:'DejaVu Sans Mono', monospace; - font-size:14px; - padding-top:4px; - margin-top:8px; - line-height:1.4em; -} -dt code { - font-family:'DejaVu Sans Mono', monospace; - font-size:14px; - padding-top:4px; -} -table tr td dt code { - font-family:'DejaVu Sans Mono', monospace; - font-size:14px; - vertical-align:top; - padding-top:4px; -} -sup { - font-size:8px; -} -/* -Document title and Copyright styles -*/ -.clear { - clear:both; - height:0px; - overflow:hidden; -} -.aboutLanguage { - float:right; - padding:0px 21px; - font-size:11px; - z-index:200; - margin-top:-9px; -} -.legalCopy { - margin-left:.5em; -} -.bar a, .bar a:link, .bar a:visited, .bar a:active { - color:#FFFFFF; - text-decoration:none; -} -.bar a:hover, .bar a:focus { - color:#bb7a2a; -} -.tab { - background-color:#0066FF; - color:#ffffff; - padding:8px; - width:5em; - font-weight:bold; -} -/* -Navigation bar styles -*/ -.bar { - background-color:#4D7A97; - color:#FFFFFF; - padding:.8em .5em .4em .8em; - height:auto;/*height:1.8em;*/ - font-size:11px; - margin:0; -} -.topNav { - background-color:#4D7A97; - color:#FFFFFF; - float:left; - padding:0; - width:100%; - clear:right; - height:2.8em; - padding-top:10px; - overflow:hidden; - font-size:12px; -} -.bottomNav { - margin-top:10px; - background-color:#4D7A97; - color:#FFFFFF; - float:left; - padding:0; - width:100%; - clear:right; - height:2.8em; - padding-top:10px; - overflow:hidden; - font-size:12px; -} -.subNav { - background-color:#dee3e9; - float:left; - width:100%; - overflow:hidden; - font-size:12px; -} -.subNav div { - clear:left; - float:left; - padding:0 0 5px 6px; - text-transform:uppercase; -} -ul.navList, ul.subNavList { - float:left; - margin:0 25px 0 0; - padding:0; -} -ul.navList li{ - list-style:none; - float:left; - padding: 5px 6px; - text-transform:uppercase; -} -ul.subNavList li{ - list-style:none; - float:left; -} -.topNav a:link, .topNav a:active, .topNav a:visited, .bottomNav a:link, .bottomNav a:active, .bottomNav a:visited { - color:#FFFFFF; - text-decoration:none; - text-transform:uppercase; -} -.topNav a:hover, .bottomNav a:hover { - text-decoration:none; - color:#bb7a2a; - text-transform:uppercase; -} -.navBarCell1Rev { - background-color:#F8981D; - color:#253441; - margin: auto 5px; -} -.skipNav { - position:absolute; - top:auto; - left:-9999px; - overflow:hidden; -} -/* -Page header and footer styles -*/ -.header, .footer { - clear:both; - margin:0 20px; - padding:5px 0 0 0; -} -.indexHeader { - margin:10px; - position:relative; -} -.indexHeader span{ - margin-right:15px; -} -.indexHeader h1 { - font-size:13px; -} -.title { - color:#2c4557; - margin:10px 0; -} -.subTitle { - margin:5px 0 0 0; -} -.header ul { - margin:0 0 15px 0; - padding:0; -} -.footer ul { - margin:20px 0 5px 0; -} -.header ul li, .footer ul li { - list-style:none; - font-size:13px; -} -/* -Heading styles -*/ -div.details ul.blockList ul.blockList ul.blockList li.blockList h4, div.details ul.blockList ul.blockList ul.blockListLast li.blockList h4 { - background-color:#dee3e9; - border:1px solid #d0d9e0; - margin:0 0 6px -8px; - padding:7px 5px; -} -ul.blockList ul.blockList ul.blockList li.blockList h3 { - background-color:#dee3e9; - border:1px solid #d0d9e0; - margin:0 0 6px -8px; - padding:7px 5px; -} -ul.blockList ul.blockList li.blockList h3 { - padding:0; - margin:15px 0; -} -ul.blockList li.blockList h2 { - padding:0px 0 20px 0; -} -/* -Page layout container styles -*/ -.contentContainer, .sourceContainer, .classUseContainer, .serializedFormContainer, .constantValuesContainer { - clear:both; - padding:10px 20px; - position:relative; -} -.indexContainer { - margin:10px; - position:relative; - font-size:12px; -} -.indexContainer h2 { - font-size:13px; - padding:0 0 3px 0; -} -.indexContainer ul { - margin:0; - padding:0; -} -.indexContainer ul li { - list-style:none; - padding-top:2px; -} -.contentContainer .description dl dt, .contentContainer .details dl dt, .serializedFormContainer dl dt { - font-size:12px; - font-weight:bold; - margin:10px 0 0 0; - color:#4E4E4E; -} -.contentContainer .description dl dd, .contentContainer .details dl dd, .serializedFormContainer dl dd { - margin:5px 0 10px 0px; - font-size:14px; - font-family:'DejaVu Sans Mono',monospace; -} -.serializedFormContainer dl.nameValue dt { - margin-left:1px; - font-size:1.1em; - display:inline; - font-weight:bold; -} -.serializedFormContainer dl.nameValue dd { - margin:0 0 0 1px; - font-size:1.1em; - display:inline; -} -/* -List styles -*/ -ul.horizontal li { - display:inline; - font-size:0.9em; -} -ul.inheritance { - margin:0; - padding:0; -} -ul.inheritance li { - display:inline; - list-style:none; -} -ul.inheritance li ul.inheritance { - margin-left:15px; - padding-left:15px; - padding-top:1px; -} -ul.blockList, ul.blockListLast { - margin:10px 0 10px 0; - padding:0; -} -ul.blockList li.blockList, ul.blockListLast li.blockList { - list-style:none; - margin-bottom:15px; - line-height:1.4; -} -ul.blockList ul.blockList li.blockList, ul.blockList ul.blockListLast li.blockList { - padding:0px 20px 5px 10px; - border:1px solid #ededed; - background-color:#f8f8f8; -} -ul.blockList ul.blockList ul.blockList li.blockList, ul.blockList ul.blockList ul.blockListLast li.blockList { - padding:0 0 5px 8px; - background-color:#ffffff; - border:none; -} -ul.blockList ul.blockList ul.blockList ul.blockList li.blockList { - margin-left:0; - padding-left:0; - padding-bottom:15px; - border:none; -} -ul.blockList ul.blockList ul.blockList ul.blockList li.blockListLast { - list-style:none; - border-bottom:none; - padding-bottom:0; -} -table tr td dl, table tr td dl dt, table tr td dl dd { - margin-top:0; - margin-bottom:1px; -} -/* -Table styles -*/ -.overviewSummary, .memberSummary, .typeSummary, .useSummary, .constantsSummary, .deprecatedSummary { - width:100%; - border-left:1px solid #EEE; - border-right:1px solid #EEE; - border-bottom:1px solid #EEE; -} -.overviewSummary, .memberSummary { - padding:0px; -} -.overviewSummary caption, .memberSummary caption, .typeSummary caption, -.useSummary caption, .constantsSummary caption, .deprecatedSummary caption { - position:relative; - text-align:left; - background-repeat:no-repeat; - color:#253441; - font-weight:bold; - clear:none; - overflow:hidden; - padding:0px; - padding-top:10px; - padding-left:1px; - margin:0px; - white-space:pre; -} -.overviewSummary caption a:link, .memberSummary caption a:link, .typeSummary caption a:link, -.useSummary caption a:link, .constantsSummary caption a:link, .deprecatedSummary caption a:link, -.overviewSummary caption a:hover, .memberSummary caption a:hover, .typeSummary caption a:hover, -.useSummary caption a:hover, .constantsSummary caption a:hover, .deprecatedSummary caption a:hover, -.overviewSummary caption a:active, .memberSummary caption a:active, .typeSummary caption a:active, -.useSummary caption a:active, .constantsSummary caption a:active, .deprecatedSummary caption a:active, -.overviewSummary caption a:visited, .memberSummary caption a:visited, .typeSummary caption a:visited, -.useSummary caption a:visited, .constantsSummary caption a:visited, .deprecatedSummary caption a:visited { - color:#FFFFFF; -} -.overviewSummary caption span, .memberSummary caption span, .typeSummary caption span, -.useSummary caption span, .constantsSummary caption span, .deprecatedSummary caption span { - white-space:nowrap; - padding-top:5px; - padding-left:12px; - padding-right:12px; - padding-bottom:7px; - display:inline-block; - float:left; - background-color:#F8981D; - border: none; - height:16px; -} -.memberSummary caption span.activeTableTab span { - white-space:nowrap; - padding-top:5px; - padding-left:12px; - padding-right:12px; - margin-right:3px; - display:inline-block; - float:left; - background-color:#F8981D; - height:16px; -} -.memberSummary caption span.tableTab span { - white-space:nowrap; - padding-top:5px; - padding-left:12px; - padding-right:12px; - margin-right:3px; - display:inline-block; - float:left; - background-color:#4D7A97; - height:16px; -} -.memberSummary caption span.tableTab, .memberSummary caption span.activeTableTab { - padding-top:0px; - padding-left:0px; - padding-right:0px; - background-image:none; - float:none; - display:inline; -} -.overviewSummary .tabEnd, .memberSummary .tabEnd, .typeSummary .tabEnd, -.useSummary .tabEnd, .constantsSummary .tabEnd, .deprecatedSummary .tabEnd { - display:none; - width:5px; - position:relative; - float:left; - background-color:#F8981D; -} -.memberSummary .activeTableTab .tabEnd { - display:none; - width:5px; - margin-right:3px; - position:relative; - float:left; - background-color:#F8981D; -} -.memberSummary .tableTab .tabEnd { - display:none; - width:5px; - margin-right:3px; - position:relative; - background-color:#4D7A97; - float:left; - -} -.overviewSummary td, .memberSummary td, .typeSummary td, -.useSummary td, .constantsSummary td, .deprecatedSummary td { - text-align:left; - padding:0px 0px 12px 10px; -} -th.colOne, th.colFirst, th.colLast, .useSummary th, .constantsSummary th, -td.colOne, td.colFirst, td.colLast, .useSummary td, .constantsSummary td{ - vertical-align:top; - padding-right:0px; - padding-top:8px; - padding-bottom:3px; -} -th.colFirst, th.colLast, th.colOne, .constantsSummary th { - background:#dee3e9; - text-align:left; - padding:8px 3px 3px 7px; -} -td.colFirst, th.colFirst { - white-space:nowrap; - font-size:13px; -} -td.colLast, th.colLast { - font-size:13px; -} -td.colOne, th.colOne { - font-size:13px; -} -.overviewSummary td.colFirst, .overviewSummary th.colFirst, -.useSummary td.colFirst, .useSummary th.colFirst, -.overviewSummary td.colOne, .overviewSummary th.colOne, -.memberSummary td.colFirst, .memberSummary th.colFirst, -.memberSummary td.colOne, .memberSummary th.colOne, -.typeSummary td.colFirst{ - width:25%; - vertical-align:top; -} -td.colOne a:link, td.colOne a:active, td.colOne a:visited, td.colOne a:hover, td.colFirst a:link, td.colFirst a:active, td.colFirst a:visited, td.colFirst a:hover, td.colLast a:link, td.colLast a:active, td.colLast a:visited, td.colLast a:hover, .constantValuesContainer td a:link, .constantValuesContainer td a:active, .constantValuesContainer td a:visited, .constantValuesContainer td a:hover { - font-weight:bold; -} -.tableSubHeadingColor { - background-color:#EEEEFF; -} -.altColor { - background-color:#FFFFFF; -} -.rowColor { - background-color:#EEEEEF; -} -/* -Content styles -*/ -.description pre { - margin-top:0; -} -.deprecatedContent { - margin:0; - padding:10px 0; -} -.docSummary { - padding:0; -} - -ul.blockList ul.blockList ul.blockList li.blockList h3 { - font-style:normal; -} - -div.block { - font-size:14px; - font-family:'DejaVu Serif', Georgia, "Times New Roman", Times, serif; -} - -td.colLast div { - padding-top:0px; -} - - -td.colLast a { - padding-bottom:3px; -} -/* -Formatting effect styles -*/ -.sourceLineNo { - color:green; - padding:0 30px 0 0; -} -h1.hidden { - visibility:hidden; - overflow:hidden; - font-size:10px; -} -.block { - display:block; - margin:3px 10px 2px 0px; - color:#474747; -} -.deprecatedLabel, .descfrmTypeLabel, .memberNameLabel, .memberNameLink, -.overrideSpecifyLabel, .packageHierarchyLabel, .paramLabel, .returnLabel, -.seeLabel, .simpleTagLabel, .throwsLabel, .typeNameLabel, .typeNameLink { - font-weight:bold; -} -.deprecationComment, .emphasizedPhrase, .interfaceName { - font-style:italic; -} - -div.block div.block span.deprecationComment, div.block div.block span.emphasizedPhrase, -div.block div.block span.interfaceName { - font-style:normal; -} - -div.contentContainer ul.blockList li.blockList h2{ - padding-bottom:0px; -}