File tree Expand file tree Collapse file tree 1 file changed +19
-0
lines changed
OneSignalSDK/onesignal/src/main/java/com/onesignal Expand file tree Collapse file tree 1 file changed +19
-0
lines changed Original file line number Diff line number Diff line change @@ -229,6 +229,25 @@ public static class SendTagsError {
229
229
public String getMessage () { return message ; }
230
230
}
231
231
232
+ public static class OSDeviceInfoError {
233
+ private int errorCode ;
234
+ private String message ;
235
+
236
+ OSDeviceInfoError (int errorCode , String message ) {
237
+ this .errorCode = errorCode ;
238
+ this .message = message ;
239
+ }
240
+
241
+ public int getCode () { return errorCode ; }
242
+
243
+ public String getMessage () { return message ; }
244
+ }
245
+
246
+ public interface OSDeviceInfoCompletionHandler {
247
+ void onSuccess (String results );
248
+ void onFailure (OSDeviceInfoError error );
249
+ }
250
+
232
251
public enum ExternalIdErrorType {
233
252
REQUIRES_EXTERNAL_ID_AUTH , INVALID_OPERATION , NETWORK
234
253
}
You can’t perform that action at this time.
0 commit comments