@@ -82,7 +82,7 @@ android:enabled="true">
8282To initialize the SDK, specify application context, the API key, access token, and environment name of the stack as shown in the snippet given below:
8383
8484``` java
85- Stack stack = Contentstack . stack(context, " api_key " , " delivery_token " , " environment" );
85+ Stack stack = Contentstack . stack(context, " apiKey " , " deliveryToken " , " environment" );
8686```
8787
8888Once you have initialized the SDK, you can query entries to fetch the required content.
@@ -116,7 +116,7 @@ A publishing environment corresponds to one or more deployment servers or a cont
116116To initialize the SDK, specify application context, the API key, access token, and environment name of the stack as shown in the snippet given below:
117117
118118``` java
119- Stack stack = Contentstack . stack(context, " api_key " , " delivery_token " , " environment" );
119+ Stack stack = Contentstack . stack(context, " apiKey " , " deliveryToken " , " environment" );
120120```
121121
122122Once you have initialized the SDK, you can query entries to fetch the required content.
@@ -126,11 +126,11 @@ Once you have initialized the SDK, you can query entries to fetch the required c
126126To retrieve a single entry from a content type use the code snippet given below:
127127
128128``` java
129- ContentType contentType = stack. contentType(" content_type_uid " );
129+ ContentType contentType = stack. contentType(" contentTypeUid " );
130130```
131131
132132``` java
133- Entry blogEntry = contentType. entry(" entry_uid " );
133+ Entry blogEntry = contentType. entry(" entryUid " );
134134blogEntry. fetch(new EntryResultCallBack () {
135135 @Override
136136 public void onCompletion (ResponseType responseType , Error error ) {
@@ -148,7 +148,7 @@ To retrieve multiple entries of a particular content type, use the code snippet
148148
149149``` java
150150// stack is an instance of Stack class
151- Query blogQuery = stack. contentType(" content_type_uid " ). query();
151+ Query blogQuery = stack. contentType(" contentTypeUid " ). query();
152152blogQuery. find(new QueryResultsCallBack () {
153153 @Override
154154 public void onCompletion (ResponseType responseType , QueryResult queryResult , Error error ) {
@@ -221,7 +221,7 @@ Pagination token can be used in case you want to fetch only selected batches. It
221221
222222``` java
223223// stack is an instance of Stack class
224- stack. syncPaginationToken(" pagination_token " , new SyncResultCallBack () {
224+ stack. syncPaginationToken(" paginationToken " , new SyncResultCallBack () {
225225 @Override
226226 public void onCompletion (SyncStack syncStack , Error error ) {
227227 if (error == null ){
@@ -238,7 +238,7 @@ You can use the sync token (that you receive after initial sync) to get the upda
238238
239239``` java
240240// stack is an instance of Stack class
241- stack. syncToken(" sync_token " , new SyncResultCallBack () {
241+ stack. syncToken(" syncToken " , new SyncResultCallBack () {
242242 @Override
243243 public void onCompletion (SyncStack syncStack ,Error error ) {
244244 if (error == null ){
0 commit comments