{"metadata":{"image":[],"title":"","description":""},"api":{"url":"","auth":"required","results":{"codes":[]},"settings":"","params":[]},"next":{"description":"","pages":[]},"title":"GDPR","type":"basic","slug":"gdpr","excerpt":"","body":"To check if the PushSpring SDK is treating a device as being connected through a GDPR region use the following API.\n[block:code]\n{\n  \"codes\": [\n    {\n      \"code\": \"boolean deviceInGdprRegion = PushSpring.isGDPR();\",\n      \"language\": \"java\"\n    }\n  ]\n}\n[/block]\nFor more information about GDPR and how PushSpring is achieving compliance see: [PushSpring and GDPR](doc:pushspring-and-gdpr).","updates":[],"order":10,"isReference":false,"hidden":true,"sync_unique":"","link_url":"","link_external":false,"_id":"5dd81acdb8c91603c41dff04","project":"55de06fa57f7b20d0097636b","version":{"version":"2.0","version_clean":"2.0.0","codename":"PostSDK","is_stable":true,"is_beta":false,"is_hidden":false,"is_deprecated":false,"categories":["5dd81acdb8c91603c41dfeba","5dd81acdb8c91603c41dfebb","5dd81acdb8c91603c41dfebc","5dd81acdb8c91603c41dfebd","5dd81acdb8c91603c41dfebe","5dd81acdb8c91603c41dfebf","563cbfe4260dde0d00c5e9d4","5dd81acdb8c91603c41dfec0","5dd81acdb8c91603c41dfec1","5dd81acdb8c91603c41dfec2","5dd81acdb8c91603c41dfec3","5dd81acdb8c91603c41dfec4","5dd81acdb8c91603c41dfec5","5dd81acdb8c91603c41dfec6"],"_id":"5dd81acdb8c91603c41dff08","project":"55de06fa57f7b20d0097636b","__v":0,"forked_from":"55de06fa57f7b20d0097636e","createdAt":"2015-08-26T18:35:38.642Z","releaseDate":"2015-08-26T18:35:38.642Z"},"category":{"sync":{"isSync":false,"url":""},"pages":["5dd81acdb8c91603c41dfed1","55f1b11b39e3e8190068b2f1","5dd81acdb8c91603c41dfed3","5dd81acdb8c91603c41dfed4","55f1b69539e3e8190068b2fe","5dd81acdb8c91603c41dfed7","55f1b93ffd98c42300acc643"],"title":"Android SDK","slug":"android-sdk","order":2,"from_sync":false,"reference":false,"_id":"5dd81acdb8c91603c41dfebc","project":"55de06fa57f7b20d0097636b","version":"5dd81acdb8c91603c41dff08","createdAt":"2015-09-10T14:43:15.288Z","__v":7},"user":"55de06e19db51a0d0064947d","createdAt":"2018-03-23T22:05:16.800Z","githubsync":"","__v":0,"parentDoc":null}
To check if the PushSpring SDK is treating a device as being connected through a GDPR region use the following API. [block:code] { "codes": [ { "code": "boolean deviceInGdprRegion = PushSpring.isGDPR();", "language": "java" } ] } [/block] For more information about GDPR and how PushSpring is achieving compliance see: [PushSpring and GDPR](doc:pushspring-and-gdpr).