linphone-iphone/Classes/Utils/UIDeviceAddition/Classes/UIDevice+IdentifierAddition.h
2012-12-12 09:14:44 +01:00

33 lines
851 B
Objective-C
Executable file

//
// UIDevice(Identifier).h
// UIDeviceAddition
//
// Created by Georg Kitz on 20.08.11.
// Copyright 2011 Aurora Apps. All rights reserved.
//
#import <Foundation/Foundation.h>
@interface UIDevice (IdentifierAddition)
/*
* @method uniqueDeviceIdentifier
* @description use this method when you need a unique identifier in one app.
* It generates a hash from the MAC-address in combination with the bundle identifier
* of your app.
*/
- (NSString *) uniqueDeviceIdentifier;
/*
* @method uniqueGlobalDeviceIdentifier
* @description use this method when you need a unique global identifier to track a device
* with multiple apps. as example a advertising network will use this method to track the device
* from different apps.
* It generates a hash from the MAC-address only.
*/
- (NSString *) uniqueGlobalDeviceIdentifier;
@end