Uses 4337K of libraries. Click here for Pure Java version (2644L/17K).
// Library is imported in GoogleAccess import com.google.api.client.util.DateTime; import com.google.api.client.util.store.FileDataStoreFactory; import com.google.api.services.calendar.Calendar; import com.google.api.services.calendar.CalendarScopes; import com.google.api.services.calendar.model.Event; import com.google.api.services.calendar.model.Events; static Calendar googleCalendarService(GoogleAccess ga, S applicationName) { ret new Calendar.Builder(ga.transport(), ga.jsonFactory(), ga.credential) .setApplicationName(applicationName) .build(); }
Began life as a copy of #1028420
download show line numbers debug dex old transpilations
Travelled to 7 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt, xrpafgyirdlv
No comments. add comment
Snippet ID: | #1028554 |
Snippet name: | googleCalendarService |
Eternal ID of this version: | #1028554/3 |
Text MD5: | 1a85e0c09c1a4f9175d29ad9ceffecad |
Transpilation MD5: | d2b2dec772adf55246fc772aef973f1c |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2020-06-26 18:38:55 |
Source code size: | 581 bytes / 14 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 222 / 329 |
Version history: | 2 change(s) |
Referenced in: | #1006654 - Standard functions list 2 (LIVE, continuation of #761) |