-
Notifications
You must be signed in to change notification settings - Fork 14
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
Add Kotlin sample for API reference #95
Conversation
Documentation/api-reference.md
Outdated
val id = item.getId() | ||
|
||
val state = item.getAuthenticatedState() | ||
|
||
val primary = item.isPrimary() |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
we can use property access syntax for these getters
val id = item.id
val state = item.authenticatedState
val primary = item.isPrimary
|
||
##### Syntax | ||
```kotlin | ||
fun removeIdentity(item: IdentityItem, namespace: String) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
some of these params are optional without these changes #97
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Changes look good, pending #97
Codecov Report
@@ Coverage Diff @@
## dev-v2.0.0 #95 +/- ##
===========================================
Coverage 93.36% 93.36%
===========================================
Files 12 12
Lines 678 678
Branches 103 103
===========================================
Hits 633 633
Misses 16 16
Partials 29 29
Flags with carried forward coverage won't be shown. Click here to find out more. |
Description
Related Issue
Motivation and Context
How Has This Been Tested?
Screenshots (if appropriate):
Types of changes
Checklist: