1{ 2 "methods": { 3 "getLastForegroundNotification()": { 4 "isImplementation": false, 5 "modifiers": [ 6 "public" 7 ], 8 "params": [], 9 "returnType": "android.app.Notification", 10 "exceptions": [], 11 "name": "getLastForegroundNotification()" 12 }, 13 "getLastForegroundNotificationId()": { 14 "isImplementation": false, 15 "modifiers": [ 16 "public" 17 ], 18 "params": [], 19 "returnType": "int", 20 "exceptions": [], 21 "name": "getLastForegroundNotificationId()" 22 }, 23 "getNotificationShouldRemoved()": { 24 "isImplementation": false, 25 "modifiers": [ 26 "public" 27 ], 28 "params": [], 29 "returnType": "boolean", 30 "exceptions": [], 31 "name": "getNotificationShouldRemoved()" 32 }, 33 "getStopSelfId()": { 34 "isImplementation": false, 35 "modifiers": [ 36 "public" 37 ], 38 "params": [], 39 "returnType": "int", 40 "exceptions": [], 41 "name": "getStopSelfId()", 42 "documentation": "Returns id passed to {@link #stopSelf(int)} method. Make sure to check result of {@link\n#isStoppedBySelf()} first.\n" 43 }, 44 "getStopSelfResultId()": { 45 "isImplementation": false, 46 "modifiers": [ 47 "public" 48 ], 49 "params": [], 50 "returnType": "int", 51 "exceptions": [], 52 "name": "getStopSelfResultId()", 53 "documentation": "Returns id passed to {@link #stopSelfResult(int)} method. Make sure to check result of {@link\n#isStoppedBySelf()} first.\n" 54 }, 55 "isForegroundStopped()": { 56 "isImplementation": false, 57 "modifiers": [ 58 "public" 59 ], 60 "params": [], 61 "returnType": "boolean", 62 "exceptions": [], 63 "name": "isForegroundStopped()" 64 }, 65 "isStoppedBySelf()": { 66 "isImplementation": false, 67 "modifiers": [ 68 "public" 69 ], 70 "params": [], 71 "returnType": "boolean", 72 "exceptions": [], 73 "name": "isStoppedBySelf()", 74 "documentation": "@return Is this service stopped by self.\n" 75 }, 76 "onDestroy()": { 77 "isImplementation": true, 78 "modifiers": [ 79 "protected" 80 ], 81 "params": [], 82 "returnType": "void", 83 "exceptions": [], 84 "name": "onDestroy()" 85 }, 86 "removeForegroundNotification()": { 87 "isImplementation": false, 88 "modifiers": [ 89 "private" 90 ], 91 "params": [], 92 "returnType": "void", 93 "exceptions": [], 94 "name": "removeForegroundNotification()" 95 }, 96 "startForeground(int,android.app.Notification)": { 97 "isImplementation": true, 98 "modifiers": [ 99 "protected", 100 "final" 101 ], 102 "params": [ 103 "id", 104 "notification" 105 ], 106 "returnType": "void", 107 "exceptions": [], 108 "name": "startForeground(int,android.app.Notification)" 109 }, 110 "stopForeground(boolean)": { 111 "isImplementation": true, 112 "modifiers": [ 113 "protected" 114 ], 115 "params": [ 116 "removeNotification" 117 ], 118 "returnType": "void", 119 "exceptions": [], 120 "name": "stopForeground(boolean)" 121 }, 122 "stopSelf()": { 123 "isImplementation": true, 124 "modifiers": [ 125 "protected" 126 ], 127 "params": [], 128 "returnType": "void", 129 "exceptions": [], 130 "name": "stopSelf()" 131 }, 132 "stopSelf(int)": { 133 "isImplementation": true, 134 "modifiers": [ 135 "protected" 136 ], 137 "params": [ 138 "id" 139 ], 140 "returnType": "void", 141 "exceptions": [], 142 "name": "stopSelf(int)" 143 }, 144 "stopSelfResult(int)": { 145 "isImplementation": true, 146 "modifiers": [ 147 "protected" 148 ], 149 "params": [ 150 "id" 151 ], 152 "returnType": "boolean", 153 "exceptions": [], 154 "name": "stopSelfResult(int)" 155 } 156 }, 157 "imports": [ 158 "android.app.Notification", 159 "android.app.NotificationManager", 160 "android.app.Service", 161 "android.content.Context", 162 "org.robolectric.RuntimeEnvironment", 163 "org.robolectric.annotation.Implementation", 164 "org.robolectric.annotation.Implements", 165 "org.robolectric.annotation.RealObject" 166 ], 167 "name": "org.robolectric.shadows.ShadowService" 168}