Esempio n. 1
0
 public static void PreInitialize(PlatformImplementation platform,
                                  AxolotlImplementation axolotl)
 {
     PlatformImplementation          = platform;
     Platform.PlatformImplementation = platform;
     Axolotl.AxolotlImplementation   = axolotl;
 }
Esempio n. 2
0
 public static void PreInitialize(PlatformImplementation platform, 
                                       AxolotlImplementation axolotl)
 {
     PlatformImplementation = platform;
     Platform.PlatformImplementation = platform;
     Axolotl.AxolotlImplementation = axolotl;
 }
Esempio n. 3
0
 public static DisaThumbnail CreatePartyBitmap(Service service, string name,
                                               DisaThumbnail big, string bigName,
                                               DisaThumbnail small1, string small1Name,
                                               DisaThumbnail small2, string small2Name)
 {
     return(PlatformImplementation.CreatePartyBitmap(service, name, big, bigName, small1, small1Name, small2,
                                                     small2Name));
 }
Esempio n. 4
0
 public static void UnmarkTemporaryFileForDeletion(string path, bool purge)
 {
     PlatformImplementation.UnmarkTemporaryFileForDeletion(path, purge);
 }
Esempio n. 5
0
 public static WakeLock AquireWakeLock(string name)
 {
     return(PlatformImplementation.AquireWakeLock(name));
 }
Esempio n. 6
0
 public static void RemoveAction(WakeLockBalancer.WakeLock wakeLock)
 {
     PlatformImplementation.RemoveAction(wakeLock);
 }
Esempio n. 7
0
 public static List <PhoneBookContact> GetPhoneBookContacts()
 {
     return(PlatformImplementation.GetPhoneBookContacts());
 }
Esempio n. 8
0
 public static string GetEmojisPath()
 {
     return(PlatformImplementation.GetEmojisPath());
 }
Esempio n. 9
0
 public static string GetSettingsPath()
 {
     return(PlatformImplementation.GetSettingsPath());
 }
Esempio n. 10
0
 public static string GetPicturesPath()
 {
     return(PlatformImplementation.GetPicturesPath());
 }
Esempio n. 11
0
 public static bool ShouldAttemptInternetConnection()
 {
     return(PlatformImplementation.ShouldAttemptInternetConnection());
 }
Esempio n. 12
0
 public static bool HasInternetConnection()
 {
     return(PlatformImplementation.HasInternetConnection());
 }
Esempio n. 13
0
 public static bool DeviceHasApp(string appName)
 {
     return(PlatformImplementation.DeviceHasApp(appName));
 }
Esempio n. 14
0
 public static void LaunchViewIntent(string url)
 {
     PlatformImplementation.LaunchViewIntent(url);
 }
Esempio n. 15
0
 public static void DialContact(string phoneNumber)
 {
     PlatformImplementation.DialContact(phoneNumber);
 }
Esempio n. 16
0
 public static void OpenContact(string phoneNumber)
 {
     PlatformImplementation.OpenContact(phoneNumber);
 }
Esempio n. 17
0
 public static void InitializePlatform(PlatformImplementation platform)
 {
     PlatformImplementation          = platform;
     Platform.PlatformImplementation = platform;
 }
Esempio n. 18
0
 public static byte[] GetIcon(IconType iconType)
 {
     return(PlatformImplementation.GetIcon(iconType));
 }
Esempio n. 19
0
 public static string GetCurrentLocale()
 {
     return(PlatformImplementation.GetCurrentLocale());
 }
Esempio n. 20
0
 public static string GetMimeTypeFromPath(string path)
 {
     return(PlatformImplementation.GetMimeTypeFromPath(path));
 }
Esempio n. 21
0
 public static string GetAudioPath()
 {
     return(PlatformImplementation.GetAudioPath());
 }
Esempio n. 22
0
 public static byte[] GenerateJpegBytes(byte[] bytes, int toWidth, int toHeight, int quality = 100)
 {
     return(PlatformImplementation.GenerateJpegBytes(bytes, toWidth, toHeight, quality));
 }
Esempio n. 23
0
 public static string GetDatabasePath()
 {
     return(PlatformImplementation.GetDatabasePath());
 }
Esempio n. 24
0
 public static byte[] GenerateVideoThumbnail(string videoPath)
 {
     return(PlatformImplementation.GenerateVideoThumbnail(videoPath));
 }
Esempio n. 25
0
 public static string GetDeviceId(int minimumLength = 5)
 {
     return(PlatformImplementation.GetDeviceId(minimumLength));
 }
Esempio n. 26
0
 public static Task <byte[]> GenerateLocationThumbnail(double longitude, double latitude)
 {
     return(PlatformImplementation.GenerateLocationThumbnail(longitude, latitude));
 }
Esempio n. 27
0
 public static void ScheduleAction(WakeLockBalancer.WakeLock wakeLock)
 {
     PlatformImplementation.ScheduleAction(wakeLock);
 }
Esempio n. 28
0
 public static void CreatePartyBitmap(Service service, string name, IPartyThumbnail thumbnail,
                                      List <Tuple <string, string> > participants, Action <DisaThumbnail> result)
 {
     PlatformImplementation.CreatePartyBitmap(service, name, thumbnail, participants, result);
 }
Esempio n. 29
0
 public static void ScheduleAction(int interval, WakeLockBalancer.ActionObject execute)
 {
     PlatformImplementation.ScheduleAction(interval, execute);
 }
Esempio n. 30
0
 public static void InitializePlatform(PlatformImplementation platform)
 {
     PlatformImplementation = platform;
     Platform.PlatformImplementation = platform;
 }
Esempio n. 31
0
 public static DisaThumbnail CreatePartyBitmap(Service service, string name,
                                               List <Tuple <DisaThumbnail, string> > participants)
 {
     return(PlatformImplementation.CreatePartyBitmap(service, name, participants));
 }
Esempio n. 32
0
 public static void ExecuteAllOldWakeLocksAndAllGracefulWakeLocksImmediately()
 {
     PlatformImplementation.ExecuteAllOldWakeLocksAndAllGracefulWakeLocksImmediately();
 }