Initial Commit ...

This commit is contained in:
2024-01-25 04:47:14 +03:30
commit d862146642
37 changed files with 4039 additions and 0 deletions
+9
View File
@@ -0,0 +1,9 @@
namespace xPushService.Constants {
public enum XCallEndReason {
End,
Missed,
Reject,
Canceled,
Disconnected
}
}
+11
View File
@@ -0,0 +1,11 @@
namespace xPushService.Constants {
public enum XCallType {
None,
Chat,
AudioCall,
VideoCall,
DesktopShare,
AudioConference,
VideoConference,
}
}
+7
View File
@@ -0,0 +1,7 @@
namespace xPushService.Constants {
public partial class XPushServiceConstants {
public partial struct XConfigurationNodes {
public const string XPushServiceConfiguration = "PushServiceConfiguration";
}
}
}
+30
View File
@@ -0,0 +1,30 @@
using xExceptions.Attributes;
namespace xPushService.Constants {
/// <summary>
/// Determines Push Notification Types
/// </summary>
public enum XPushType {
/// System Type Notifications Relate Only to System
System,
/// User Specific Types Of Push Notifications
User
}
/// <summary>
/// Base Push Actions ...
/// </summary>
public enum XBasePushAction {
[StringValue ("PushMessageAsync")]
PushMessage,
[StringValue ("UserMessageAsync")]
UserMessage,
[StringValue ("AdminMessageAsync")]
AdminMessage,
[StringValue("AuthorizedMessageAsync")]
AuthorizedMessage,
[StringValue("NotifyNewConnection")]
NotifyNewConnection
}
}
+32
View File
@@ -0,0 +1,32 @@
using xExceptions.Attributes;
namespace xPushService.Constants {
public enum XWebRTCAction {
//
[StringValue ("RequestCall")]
RequestCall,
[StringValue ("RequestUserCall")]
RequestUserCall,
//
[StringValue ("CancelCall")]
CancelCall,
[StringValue ("RejectCall")]
RejectCall,
[StringValue ("AcceptCall")]
AcceptCall,
//
[StringValue ("WebRTCOffer")]
WebRTCOffer,
[StringValue ("WebRTCAnswer")]
WebRTCAnswer,
[StringValue ("WebRTCICECandidate")]
WebRTCICECandidate,
}
}