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