Skip to content

Commit 530ddf1

Browse files
authored
Update README.md
1 parent 33f06e0 commit 530ddf1

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,7 @@ Add the dependency
4444
The class required you to implement two callback functions, `onError(error: String)` and `onPostResponse(openGraphResult: OpenGraphResult)`. The former is invoked in case of error (incorrect url), and the latter is invoked on successful response.
4545

4646
The `showNullOnEmpty` is an optional parameter, with a default value of `false`. If set to `true`, the parser would invoke `onError` if the `title` and `description` are empty for the link provided.
47+
4748
The `context` is also an optional parameter. If context is provided, then caching is implemented, and link preview can be generated faster.
4849

4950
The data class ***OpenGraphResult*** contains:

0 commit comments

Comments
 (0)