Skip to content

Commit

Permalink
update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
jhabr committed Apr 3, 2020
1 parent 4776984 commit 81c674a
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ repositories {
dependencies {
...
compile 'ch.freshbits.pathshare.sdk:pathshare-sdk:2.3.1'
compile 'ch.freshbits.pathshare.sdk:pathshare-sdk:2.3.2'
}
```

Expand Down Expand Up @@ -102,7 +102,7 @@ Pathshare.client().saveUser("Candice", "me@email.com", "+12345678901", UserType.
}

@Override
public void onError() {
public void onError(@NonNull Throwable throwable) {
// ...
}
});
Expand All @@ -115,7 +115,7 @@ Pathshare.client().saveUser("SDK User Android", "me@email.com", "+12345678901",
// ...
}

override fun onError() {
override fun onError(throwable: Throwable) {
// ...
}
})
Expand Down Expand Up @@ -265,7 +265,7 @@ session.inviteUser("Customer", UserType.CLIENT, "customer@email.com", "+12345678
Log.d("URL", url.toString()); // => https://m.pathsha.re/12s83a
}

public void onError() {
public void onError(@NonNull Throwable throwable) {
// ...
}
});
Expand All @@ -279,7 +279,7 @@ session.inviteUser("Customer", UserType.CLIENT, "customer@me.com", "+12345678901
Log.d("URL", url.toString()) // => https://m.pathsha.re/12s83a
}

override fun onError() {
override fun onError(throwable: Throwable) {
// ...
}
})
Expand Down Expand Up @@ -320,7 +320,7 @@ Pathshare.client().findSession(identifier, new SessionResponseListener() {
}
@Override
public void onError() { ... }
public void onError(@NonNull Throwable throwable) { ... }
}
```
Expand All @@ -331,6 +331,6 @@ Pathshare.client().findSession(identifier, object: SessionResponseListener {
session.sessionExpirationListener = SessionExpirationListener { ... }
}
override fun onError() { ... }
override fun onError(throwable: Throwable) { ... }
})
```

0 comments on commit 81c674a

Please sign in to comment.