酷店

UIDevice+TBSDKIdentifierAddition.h 1.3KB

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. // '########'########::'######:'########:'##:::'##:
  2. // ... ##..::##.... ##'##... ##:##.... ##:##::'##::
  3. // ::: ##::::##:::: ##:##:::..::##:::: ##:##:'##:::
  4. // ::: ##::::########:. ######::##:::: ##:#####::::
  5. // ::: ##::::##.... ##:..... ##:##:::: ##:##. ##:::
  6. // ::: ##::::##:::: ##'##::: ##:##:::: ##:##:. ##::
  7. // ::: ##::::########:. ######::########::##::. ##:
  8. // :::..::::........:::......::........::..::::..::
  9. //
  10. // Created by Georg Kitz on 20.08.11.
  11. // Copyright 2011 Aurora Apps. All rights reserved.
  12. //
  13. #import <Foundation/Foundation.h>
  14. #import <UIKit/UIKit.h>
  15. @interface UIDevice(TBNewSDKIdentifierAddition)
  16. + (NSString *)tbsdkPlatform;
  17. + (NSString *)tbsdkMacaddress;
  18. /*
  19. * @method uniqueDeviceIdentifier
  20. * @description use this method when you need a unique identifier in one app.
  21. * It generates a hash from the MAC-address in combination with the bundle identifier
  22. * of your app.
  23. */
  24. - (NSString *)tbsdkUniqueDeviceIdentifier;
  25. /*
  26. * @method uniqueGlobalDeviceIdentifier
  27. * @description use this method when you need a unique global identifier to track a device
  28. * with multiple apps. as example a advertising network will use this method to track the device
  29. * from different apps.
  30. * It generates a hash from the MAC-address only.
  31. */
  32. - (NSString *)tbsdkUniqueGlobalDeviceIdentifier;
  33. @end