添加项目文件。
This commit is contained in:
37
XXCpzs/Services/IDeviceOrientationService.cs
Normal file
37
XXCpzs/Services/IDeviceOrientationService.cs
Normal file
@@ -0,0 +1,37 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Text;
|
||||
using Xamarin.Forms.Internals;
|
||||
|
||||
namespace XXCpzs.Services
|
||||
{
|
||||
public enum DeviceOrientation
|
||||
{
|
||||
Undefined,
|
||||
Landscape,
|
||||
Portrait
|
||||
}
|
||||
public interface ICommonService
|
||||
{
|
||||
/// <summary>
|
||||
/// 获取本地版本号
|
||||
/// </summary>
|
||||
/// <returns></returns>
|
||||
string GetVersion();
|
||||
|
||||
void CloseApp();
|
||||
|
||||
/// <summary>
|
||||
/// 升级App
|
||||
/// </summary>
|
||||
/// <param name="DownloadUrl">升级地址</param>
|
||||
void UpdateApp(string DownloadUrl);
|
||||
|
||||
/// <summary>
|
||||
/// 发送通知
|
||||
/// </summary>
|
||||
/// <param name="title">标题</param>
|
||||
/// <param name="content">内容</param>
|
||||
void SendNotity(string title, string content);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user