com.eveningoutpost.dexdrip.ShareModels.Models.InvitationPayload Java Examples
The following examples show how to use
com.eveningoutpost.dexdrip.ShareModels.Models.InvitationPayload.
You can vote up the ones you like or vote down the ones you don't like,
and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example #1
Source File: ShareRest.java From xDrip with GNU General Public License v3.0 | 5 votes |
public void createInvitationForContact(final String contactId, final InvitationPayload invitationPayload, Callback<String> callback) { dexcomShareApi.createInvitationForContact(getSessionId(), contactId, invitationPayload).enqueue(new AuthenticatingCallback<String>(callback) { @Override public void onRetry() { dexcomShareApi.createInvitationForContact(getSessionId(), contactId, invitationPayload).enqueue(this); } }); }
Example #2
Source File: ShareRest.java From xDrip-plus with GNU General Public License v3.0 | 5 votes |
public void createInvitationForContact(final String contactId, final InvitationPayload invitationPayload, Callback<String> callback) { dexcomShareApi.createInvitationForContact(getSessionId(), contactId, invitationPayload).enqueue(new AuthenticatingCallback<String>(callback) { @Override public void onRetry() { dexcomShareApi.createInvitationForContact(getSessionId(), contactId, invitationPayload).enqueue(this); } }); }
Example #3
Source File: ShareRest.java From xDrip-Experimental with GNU General Public License v3.0 | 5 votes |
public void createInvitationForContact(final String contactId, final InvitationPayload invitationPayload, Callback<String> callback) { try { dexcomShareApi.createInvitationForContact(getSessionId(), contactId, invitationPayload).enqueue(new AuthenticatingCallback<String>(callback) { @Override public void onRetry() { dexcomShareApi.createInvitationForContact(getSessionId(), contactId, invitationPayload).enqueue(this); } }); } catch (ShareException e) { callback.onFailure(e); } }
Example #4
Source File: DexcomShare.java From xDrip with GNU General Public License v3.0 | 4 votes |
@POST("Publisher/CreateSubscriptionInvitation") Call<String> createInvitationForContact(@Query("sessionId") String sessionId, @Query("contactId") String contactId, @Body InvitationPayload body);
Example #5
Source File: DexcomShare.java From xDrip-plus with GNU General Public License v3.0 | 4 votes |
@POST("Publisher/CreateSubscriptionInvitation") Call<String> createInvitationForContact(@Query("sessionId") String sessionId, @Query("contactId") String contactId, @Body InvitationPayload body);
Example #6
Source File: DexcomShare.java From xDrip-Experimental with GNU General Public License v3.0 | 4 votes |
@POST("Publisher/CreateSubscriptionInvitation") Call<String> createInvitationForContact(@Query("sessionId") String sessionId, @Query("contactId") String contactId, @Body InvitationPayload body);