Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Started Adding Urban Airship

Most of the common portion of urban airship is completed
  • Loading branch information...
commit 20a8a735838b142575412c9856f36b7afe11a7c3 1 parent efc9d6a
@Clancey authored
View
1  .gitignore
@@ -5,5 +5,6 @@
[Bb]in
[Dd]ebug*/
obj/
+tmp/
GoogleAnalytics/binding/Google Analytics SDK/
View
2  Redpark/AssemblyInfo.cs
@@ -1,4 +1,4 @@
using System;
using MonoTouch.ObjCRuntime;
-[assembly: LinkWith ("Parse.a", LinkTarget.Simulator | LinkTarget.ArmV6 | LinkTarget.ArmV7,Frameworks = "MobileCoreServices CoreGraphics SystemConfiguration AudioToolbox Security", ForceLoad = true)]
+[assembly: LinkWith ("libRscMgrUniv.a", LinkTarget.Simulator | LinkTarget.ArmV6 | LinkTarget.ArmV7,Frameworks = "ExternalAccessory", ForceLoad = true)]
View
6 Redpark/Makefile
@@ -1,9 +1,9 @@
BTOUCH=/Developer/MonoTouch/usr/bin/btouch
-all: Parse.dll
+all: Redpark.dll
-Parse.dll: Makefile AssemblyInfo.cs Parse.cs Parse.a
- $(BTOUCH) -unsafe Parse.cs AssemblyInfo.cs --out=$@ --link-with=Parse.a,Parse.a
+Redpark.dll: Makefile AssemblyInfo.cs RedParkSerial.cs enums.cs libRscMgrUniv.a
+ $(BTOUCH) RedParkSerial.cs AssemblyInfo.cs enums.cs --out=$@ --link-with=libRscMgrUniv.a,libRscMgrUniv.a
clean:
-rm -f *.a *.dll
View
28 Redpark/RedParkSerial.cs
@@ -1,9 +1,23 @@
+using System;
+using MonoTouch.Foundation;
+using System.Drawing;
+using MonoTouch.UIKit;
+using MonoTouch.ObjCRuntime;
namespace Redpark {
- [BaseType (typeof (NSObject))]
+ //[BaseType (typeof (NSObject), Delegates=new string [] { "WeakDelegate" }, Events=new Type [] {typeof (RscMgrDelegate)})]
+ [BaseType(typeof(NSObject))]
interface RscMgr {
- [Export ("setDelegate:delegate")]
- void SetDelegatee (RscMgrDelegate theDelegate );
+
+
+ //[Export ("setDelegate:delegate"), NullAllowed]
+ //NSObject WeakDelegate {set; }
+
+ //[Wrap ("WeakDelegate")]
+ //RscMgrDelegate Delegate { get; set; }
+
+ [Export ("setDelegate:")]
+ void SetDelegate (RscMgrDelegate theDelegate );
[Export ("init")]
NSObject Init ();
@@ -24,10 +38,10 @@ interface RscMgr {
void SetStopBits (StopBitsType stopBits);
[Export ("write:Length:")]
- int Write (UInt8 data, UInt32 length);
+ int Write (short data, UInt32 length);
[Export ("read:Length:")]
- int Read (UInt8 data, UInt32 length);
+ int Read (short data, UInt32 length);
[Export ("getReadBytesAvailable")]
int GetReadBytesAvailable ();
@@ -60,7 +74,7 @@ interface RscMgr {
void GetPortStatusport (serialPortStatus portStatus);
*/
[Export ("writeRscMessage:Length:MsgData:")]
- int WriteRsc (int cmd, int len, UInt8 msgData);
+ int WriteRsc (int cmd, int len, uint msgData);
}
@@ -72,7 +86,7 @@ interface RscMgrDelegate {
void CableConnected (string protocol);
[Abstract]
- [Export ("cableDisconnected")]
+ [Export ("cableDisconnected:")]
void CableDisconnected ();
[Abstract]
View
6 Redpark/enums.cs
@@ -1,3 +1,9 @@
+using System;
+using MonoTouch.Foundation;
+using System.Drawing;
+using MonoTouch.UIKit;
+using MonoTouch.ObjCRuntime;
+using System.Runtime.InteropServices;
namespace Redpark
{
public enum DataSizeType
View
85 UrbanAirShip/AirshipLib/UAirship.cs
@@ -0,0 +1,85 @@
+
+ [BaseType (typeof (NSObject))]
+ [Model]
+ interface UARegistrationObserver {
+ [Export ("registerDeviceTokenSucceeded")]
+ void RegisterDeviceTokenSucceeded ();
+
+ [Export ("registerDeviceTokenFailed:")]
+ void RegisterDeviceTokenFailed (UA_ASIHTTPRequest request);
+
+ [Export ("unRegisterDeviceTokenSucceeded")]
+ void UnRegisterDeviceTokenSucceeded ();
+
+ [Export ("unRegisterDeviceTokenFailed:")]
+ void UnRegisterDeviceTokenFailed (UA_ASIHTTPRequest request);
+
+ [Export ("addTagToDeviceSucceeded")]
+ void AddTagToDeviceSucceeded ();
+
+ [Export ("addTagToDeviceFailed:")]
+ void AddTagToDeviceFailed (UA_ASIHTTPRequest request);
+
+ [Export ("removeTagFromDeviceSucceeded")]
+ void RemoveTagFromDeviceSucceeded ();
+
+ [Export ("removeTagFromDeviceFailed:")]
+ void RemoveTagFromDeviceFailed (UA_ASIHTTPRequest request);
+
+ }
+
+ [BaseType (typeof (UAObservable))]
+ interface UAirship {
+ [Export ("deviceToken")]
+ string DeviceToken { get; set; }
+
+ [Export ("analytics")]
+ UAAnalytics Analytics { get; set; }
+
+ [Export ("server")]
+ string Server { get; set; }
+
+ [Export ("appId")]
+ string AppId { get; set; }
+
+ [Export ("appSecret")]
+ string AppSecret { get; set; }
+
+ [Export ("deviceTokenHasChanged")]
+ bool DeviceTokenHasChanged { get; set; }
+
+ [Export ("ready")]
+ bool Ready { get; set; }
+
+ [Static]
+ [Export ("setLogging:")]
+ void SetLogging (bool enabled);
+
+ [Static]
+ [Export ("takeOff:")]
+ void TakeOff (NSDictionary options);
+
+ [Static]
+ [Export ("land")]
+ void Land ();
+
+ [Static]
+ [Export ("shared")]
+ UAirship Shared ();
+
+ [Export ("registerDeviceToken:")]
+ void RegisterDeviceToken (NSData token);
+
+ [Export ("registerDeviceTokenWithExtraInfo:")]
+ void RegisterDeviceToken (NSDictionary info);
+
+ [Export ("registerDeviceToken:withAlias:")]
+ void RegisterDeviceToken (NSData token, string alias);
+
+ [Export ("registerDeviceToken:withExtraInfo:")]
+ void RegisterDeviceToken (NSData token, NSDictionary info);
+
+ [Export ("unRegisterDeviceToken")]
+ void UnRegisterDeviceToken ();
+
+ }
View
4 UrbanAirShip/AssemblyInfo.cs
@@ -0,0 +1,4 @@
+using System;
+using MonoTouch.ObjCRuntime;
+
+[assembly: LinkWith ("libUAirship-1.1.3.a", LinkTarget.Simulator | LinkTarget.ArmV6 | LinkTarget.ArmV7, ForceLoad = true)]
View
9 UrbanAirShip/Makefile
@@ -0,0 +1,9 @@
+BTOUCH=/Developer/MonoTouch/usr/bin/btouch
+
+all: UrbanAirship.dll
+
+UrbanAirship.dll: Makefile AssemblyInfo.cs common.cs enums.cs libUAirship-1.1.3.a
+ $(BTOUCH) common.cs AssemblyInfo.cs enums.cs --out=$@ --link-with=libUAirship-1.1.3.a,libUAirship-1.1.3.a
+
+clean:
+ -rm -f *.a *.dll
View
BIN  UrbanAirShip/UrbanAirship.dll
Binary file not shown
View
555 UrbanAirShip/common.cs
@@ -0,0 +1,555 @@
+using System;
+using System.Drawing;
+using MonoTouch.Foundation;
+using MonoTouch.CoreFoundation;
+using MonoTouch.UIKit;
+using MonoTouch.ObjCRuntime;
+using MonoTouch.CoreGraphics;
+using MonoTouch.UIKit;
+
+namespace UrbanAirship
+{
+ [BaseType (typeof(NSObject), Delegates=new string [] { "WeakDelegate" }, Events=new Type [] {typeof(UAHTTPConnectionDelegate)})]
+ interface UAAnalytics
+ {
+ [Export ("server")]
+ string Server { get; set; }
+
+ [Export ("session")]
+ NSMutableDictionary Session { get; }
+
+ [Export ("databaseSize")]
+ int DatabaseSize { get; }
+
+ [Export ("x_ua_max_total")]
+ int X_ua_max_total { get; }
+
+ [Export ("x_ua_max_batch")]
+ int X_ua_max_batch { get; }
+
+ [Export ("x_ua_max_wait")]
+ int X_ua_max_wait { get; }
+
+ [Export ("x_ua_min_batch_interval")]
+ int X_ua_min_batch_interval { get; }
+
+ [Export ("sendInterval")]
+ int SendInterval { get; set; }
+
+ [Export ("oldestEventTime")]
+ double OldestEventTime { get; }
+
+ [Export ("lastSendTime")]
+ DateTime LastSendTime { get; }
+
+ [Export ("initWithOptions:")]
+ IntPtr Constructor (NSDictionary options);
+
+ [Export ("restoreFromDefault")]
+ void RestoreFromDefault ();
+
+ [Export ("saveDefault")]
+ void SaveDefault ();
+
+ [Export ("addEvent:")]
+ void AddEvent (UAEvent theEvent);
+
+ [Export ("handleNotification:")]
+ void HandleNotification (NSDictionary userInfo);
+
+ [Export ("resetEventsDatabaseStatus")]
+ void ResetEventsDatabaseStatus ();
+
+ [Export ("sendIfNeeded")]
+ void SendIfNeeded ();
+
+ [Wrap ("WeakDelegate")]
+ UAHTTPConnectionDelegate WeakDelegate { get; set; }
+ }
+
+ [BaseType (typeof(UIImageView))]
+ interface UAAsyncImageView
+ {
+ [Export ("onReady")]
+ Selector OnReady { get; set; }
+
+ [Export ("target")]
+ NSObject Target { get; set; }
+
+ [Export ("loadImageFromURL:")]
+ void LoadImageL (NSUrl url);
+ }
+
+ [BaseType (typeof(UISegmentedControl))]
+ interface UABarButtonSegmentedControl
+ {
+ }
+
+ [BaseType (typeof(NSObject))]
+ interface UAContentURLCache
+ {
+ [Export ("contentDictionary")]
+ NSMutableDictionary ContentDictionary { get; set; }
+
+ [Export ("timestampDictionary")]
+ NSMutableDictionary TimestampDictionary { get; set; }
+
+ [Export ("path")]
+ string Path { get; set; }
+
+ [Export ("expirationInterval")]
+ double ExpirationInterval { get; set; }
+
+ [Static]
+ [Export ("cacheWithExpirationInterval:withPath:")]
+ UAContentURLCache CacheWithExpiration (double interval, string pathString);
+
+ [Export ("initWithExpirationInterval:withPath:")]
+ IntPtr Constructor (double interval, string pathString);
+
+ [Export ("setContent:forProductURL:")]
+ void SetContentforProductURL (NSUrl contentURL, NSUrl productURL);
+
+ [Export ("contentForProductURL:")]
+ NSUrl ContentForProductURL (NSUrl productURL);
+
+ }
+
+ [BaseType (typeof(NSObject))]
+ interface UADateUtils
+ {
+ [Static]
+ [Export ("formattedDateRelativeToNow:")]
+ string FormattedDateRelativeToNow (DateTime date);
+
+ }
+
+ [BaseType (typeof(NSObject), Delegates=new string [] { "WeakDelegate" }, Events=new Type [] {typeof(UAZipDownloadContentProtocol)})]
+ interface UADownloadContent
+ {
+ [Export ("userInfo")]
+ NSObject UserInfo { get; set; }
+
+ [Export ("clearBeforeDownload")]
+ bool ClearBeforeDownload { get; set; }
+
+ [Export ("username")]
+ string Username { get; set; }
+
+ [Export ("password")]
+ string Password { get; set; }
+
+ [Export ("downloadRequestURL")]
+ NSUrl DownloadRequestURL { get; set; }
+
+ [Export ("downloadFileName")]
+ string DownloadFileName { get; set; }
+
+ [Export ("requestMethod")]
+ string RequestMethod { get; set; }
+
+ [Export ("responseString")]
+ string ResponseString { get; set; }
+
+ [Export ("downloadPath")]
+ string DownloadPath { get; set; }
+
+ [Export ("downloadTmpPath")]
+ string DownloadTmpPath { get; set; }
+
+ [Export ("postData")]
+ NSDictionary PostData { get; set; }
+
+ [Wrap ("WeakDelegate")]
+ UAZipDownloadContentProtocol WeakDelegate { get; set; }
+
+ }
+
+ [BaseType (typeof(NSObject))]
+ [Model]
+ interface UAZipDownloadContentProtocol
+ {
+ [Export ("decompressDidSucceed:")]
+ void DecompressDidSucceed (UAZipDownloadContent zipDownloadContent);
+
+ [Export ("decompressDidFail:")]
+ void DecompressDidFail (UAZipDownloadContent zipDownloadContent);
+
+ }
+
+ [BaseType (typeof(UADownloadContent))]
+ interface UAZipDownloadContent
+ {
+ [Export ("decompressedContentPath")]
+ string DecompressedContentPath { get; set; }
+
+ [Export ("decompress")]
+ void Decompress ();
+
+ }
+
+ [BaseType (typeof(NSObject))]
+ [Model]
+ interface UADownloadManagerDelegate
+ {
+ [Export ("requestDidSucceed:")]
+ void Success (UADownloadContent downloadContent);
+
+ [Export ("requestDidFail:")]
+ void Failed (UADownloadContent downloadContent);
+
+ [Export ("downloadQueueProgress:count:"), EventArgs ("UADownloadManagerProgress")]
+ void DownloadProgress (float progress, int count);
+
+ }
+
+ [BaseType (typeof(NSObject), Delegates=new string [] { "WeakDelegate" }, Events=new Type [] {typeof(UADownloadManagerDelegate)})]
+ interface UADownloadManager
+ {
+ [Export ("delegate")]
+ UADownloadManagerDelegate Delegate { get; set; }
+
+ [Export ("download:")]
+ void Download (UADownloadContent content);
+
+ [Export ("downloadingContentCount")]
+ int DownloadingContentCount ();
+
+ [Export ("allDownloadingContents")]
+ UADownloadContent[] AllDownloadingContents ();
+
+ [Export ("cancel:")]
+ void Cancel (UADownloadContent downloadContent);
+
+ [Export ("updateProgressDelegate:")]
+ void UpdateProgressDelegate (UADownloadContent downloadContent);
+
+ [Export ("isDownloading:")]
+ bool IsDownloading (UADownloadContent downloadContent);
+
+ [Export ("endBackground")]
+ void EndBackground ();
+
+ [Wrap ("WeakDelegate")]
+ UADownloadManagerDelegate WeakDelegate { get; set; }
+ }
+
+ [BaseType (typeof(NSObject))]
+ interface UAEvent
+ {
+ [Export ("time")]
+ string Time { get; }
+
+ [Export ("event_id")]
+ string Event_id { get; }
+
+ [Export ("data")]
+ NSMutableDictionary Data { get; }
+
+ [Static]
+ [Export ("event")]
+ UAEvent Event ();
+
+ [Export ("initWithContext:")]
+ IntPtr Constructor (NSDictionary context);
+
+ [Static]
+ [Export ("eventWithContext:")]
+ NSObject FromContext (NSDictionary context);
+
+ [Export ("getType")]
+ string EventType { get; }
+
+ [Export ("gatherData:")]
+ void GatherData (NSDictionary context);
+
+ [Export ("getEstimatedSize")]
+ int GetEstimatedSize ();
+
+ }
+
+ [BaseType (typeof(UAEvent))]
+ interface UAEventCustom
+ {
+ [Static]
+ [Export ("eventWithType:")]
+ UAEventCustom FromType (string aType);
+
+ [Export ("initWithType:andContext:")]
+ IntPtr Constructor (string aType, NSDictionary context);
+
+ [Static]
+ [Export ("eventWithType:andContext:")]
+ UAEventCustom FromType (string aType, NSDictionary context);
+
+ }
+
+ [BaseType (typeof(UAEvent))]
+ interface UAEventAppInit
+ {
+ }
+
+ [BaseType (typeof(UAEventAppInit))]
+ interface UAEventAppForeground
+ {
+ }
+
+ [BaseType (typeof(UAEvent))]
+ interface UAEventAppExit
+ {
+ }
+
+ [BaseType (typeof(UAEventAppExit))]
+ interface UAEventAppBackground
+ {
+ }
+
+ [BaseType (typeof(UAEvent))]
+ interface UAEventDeviceRegistration
+ {
+ }
+
+ [BaseType (typeof(UAEvent))]
+ interface UAEventPushReceived
+ {
+ }
+
+ [BaseType (typeof(UAEvent))]
+ interface UAEventAppActive
+ {
+ }
+
+ [BaseType (typeof(UAEvent))]
+ interface UAEventAppInactive
+ {
+ }
+
+ [BaseType (typeof(NSObject))]
+ interface UAHTTPRequest
+ {
+ [Export ("HTTPMethod")]
+ string HTTPMethod { get; set; }
+
+ [Export ("headers")]
+ NSDictionary Headers { get; }
+
+ [Export ("username")]
+ string Username { get; set; }
+
+ [Export ("password")]
+ string Password { get; set; }
+
+ [Export ("body")]
+ NSData Body { get; set; }
+
+ [Export ("compressBody")]
+ bool CompressBody { get; set; }
+
+ [Export ("userInfo")]
+ NSObject UserInfo { get; set; }
+
+ [Static]
+ [Export ("requestWithURLString:")]
+ UAHTTPRequest RequestWithURLString (string urlString);
+
+ [Export ("initWithURLString:")]
+ IntPtr Constructor (string urlString);
+
+ [Export ("addRequestHeader:value:")]
+ void AddRequestHeadervalue (string header, string value);
+
+ [Export ("appendBodyData:")]
+ void AppendBodyData (NSData data);
+
+ }
+
+ [BaseType (typeof(NSObject))]
+ [Model]
+ interface UAHTTPConnectionDelegate
+ {
+ [Abstract]
+ [Export ("requestDidSucceed:response:responseData:"), EventArgs ("UAHTTPConnectionSucceeded")]
+ void Success (UAHTTPRequest request, NSHttpUrlResponse response, NSData responseData);
+
+ [Abstract]
+ [Export ("requestDidFail:")]
+ void Failed (UAHTTPRequest request);
+
+ }
+
+ [BaseType (typeof(NSObject))]
+ interface UAHTTPConnection
+ {
+ [Static]
+ [Export ("connectionWithRequest:")]
+ UAHTTPConnection ConnectionWithRequest (UAHTTPRequest httpRequest);
+
+ [Export ("initWithRequest:")]
+ IntPtr Constructor (UAHTTPRequest httpRequest);
+
+ [Export ("start")]
+ bool Start ();
+
+ [Export ("connection:didReceiveResponse:")]
+ void ReceivedResponse (NSUrlConnection connection, NSHttpUrlResponse response);
+
+ [Export ("connection:didReceiveData:")]
+ void ConnectionReceivedData (NSUrlConnection connection, NSData data);
+
+ [Export ("connection:didFailWithError:")]
+ void ConnectionFailed (NSUrlConnection connection, NSError error);
+
+ [Export ("connectionDidFinishLoading:")]
+ void FinishedLoading (NSUrlConnection connection);
+
+ }
+
+ [BaseType (typeof(NSObject))]
+ interface UAKeychainUtils
+ {
+ [Static]
+ [Export ("createKeychainValueForUsername:withPassword:forIdentifier:")]
+ bool CreateKeychainValue (string username, string password, string identifier);
+
+ [Static]
+ [Export ("deleteKeychainValue:")]
+ void DeleteKeychainValue (string identifier);
+
+ [Static]
+ [Export ("updateKeychainValueForUsername:withPassword:withEmailAddress:forIdentifier:")]
+ bool UpdateKeychainValue (string username, string password, string email, string identifier);
+
+ [Static]
+ [Export ("getPassword:")]
+ string GetPassword (string identifier);
+
+ [Static]
+ [Export ("getUsername:")]
+ string GetUsername (string identifier);
+
+ [Static]
+ [Export ("getEmailAddress:")]
+ string GetEmailAddress (string identifier);
+ }
+
+ [BaseType (typeof(NSObject))]
+ interface UALocalStorageDirectory
+ {
+ [Export ("storageType")]
+ UALocalStorageType StorageType { get; set; }
+
+ [Export ("subpath")]
+ string Subpath { get; set; }
+
+ [Export ("oldPaths")]
+ NSSet OldPaths { get; set; }
+
+ [Export ("path")]
+ string Path { get; }
+
+ [Static]
+ [Export ("uaDirectory")]
+ UALocalStorageDirectory UaDirectory ();
+
+ [Static]
+ [Export ("localStorageDirectoryWithType:withSubpath:withOldPaths:")]
+ UALocalStorageDirectory LocalStorageDirectory (UALocalStorageType storageType, string nameString, NSSet oldPathsSet);
+
+ [Export ("subDirectoryWithPathComponent:")]
+ string SubDirectoryWithPathComponent (string component);
+
+ }
+
+
+ [BaseType (typeof (NSObject))]
+ interface UAObservable {
+ [Export ("notifyObservers:")]
+ void NotifyObservers (Selector selector);
+
+ [Export ("notifyObservers:withObject:")]
+ void NotifyObservers (Selector selector, NSObject arg1);
+
+ [Export ("notifyObservers:withObject:withObject:")]
+ void NotifyObservers (Selector selector, NSObject arg1, NSObject arg2);
+
+ [Export ("addObserver:")]
+ void AddObserver (NSObject observer);
+
+ [Export ("removeObserver:")]
+ void RemoveObserver (NSObject observer);
+
+ [Export ("removeObservers")]
+ void RemoveObservers ();
+
+ [Export ("countObservers")]
+ int CountObservers ();
+
+ }
+
+ [BaseType (typeof (NSObject))]
+ interface UASQLite {
+ [Export ("busyRetryTimeout")]
+ int BusyRetryTimeout { get; set; }
+
+ [Export ("dbPath")]
+ string DbPath { get; }
+
+ [Export ("initWithDBPath:")]
+ IntPtr Constructor (string aDBPath);
+
+ [Export ("open:")]
+ bool Open (string aDBPath);
+
+ [Export ("close")]
+ void Close ();
+
+ [Export ("lastErrorMessage")]
+ string LastErrorMessage ();
+
+ [Export ("lastErrorCode")]
+ int LastErrorCode ();
+
+ [Export ("executeQuery:")]
+ NSArray ExecuteQuery (string sql);
+
+ [Export ("executeQuery:arguments:")]
+ NSArray ExecuteQuery (string sql, string[] args);
+
+ [Export ("executeUpdate:")]
+ bool ExecuteUpdate (string sql );
+
+ [Export ("executeUpdate:arguments:")]
+ bool ExecuteUpdate (string sql, string[] args);
+
+ [Export ("commit")]
+ bool Commit ();
+
+ [Export ("rollback")]
+ bool Rollback ();
+
+ [Export ("beginTransaction")]
+ bool BeginTransaction ();
+
+ [Export ("beginDeferredTransaction")]
+ bool BeginDeferredTransaction ();
+
+ [Export ("tableExists:")]
+ bool TableExists (string tableName);
+
+ [Export ("indexExists:")]
+ bool IndexExists (string indexName);
+
+ }
+
+
+ [BaseType (typeof (NSObject))]
+ interface UATagUtils {
+ [Static]
+ [Export ("createTags:tags")]
+ NSArray CreateTagstags (UATagType tags );
+
+ }
+
+
+
+}
View
35 UrbanAirShip/enums.cs
@@ -0,0 +1,35 @@
+using System;
+
+namespace UrbanAirship
+{
+ public enum UALocalStorageType
+ {
+ /**
+ * Represents permanent data that should be backed up.
+ */
+ Critical = 0,
+ /**
+ * Represents semi-permanent data such as caches, that can be regenerated.
+ */
+ Cached = 1,
+ /**
+ * Represents temporary data.
+ */
+ Temporary = 2,
+ /**
+ * Represents permanent data that should not be backed up.
+ */
+ Offline = 3
+ }
+
+ public enum UATagType
+ {
+ TimeZone = 1 << 0, /** Full Time Zone: "America/Los_Angeles" */
+ TimeZoneAbbreviation = 1 << 1, /** Abbreviated Time Zone: "PST" Note: Containst DST info and may abbreviations may conflict with other time zones. */
+ Language = 1 << 2, /** Language Code, with prefix: "language_en" */
+ Country = 1 << 3, /** Country Code, with prefix: "country_us" */
+ DeviceType = 1 << 4 /** Device type: iPhone, iPad or iPod */
+}
+ ;
+
+}
View
BIN  UrbanAirShip/urban.dll
Binary file not shown
Please sign in to comment.
Something went wrong with that request. Please try again.