Backup and Clean Push Service and implement new Structure of Push Service ...
This commit is contained in:
@@ -1,9 +0,0 @@
|
||||
namespace xPushService.Constants {
|
||||
public enum XCallEndReason {
|
||||
End,
|
||||
Missed,
|
||||
Reject,
|
||||
Canceled,
|
||||
Disconnected
|
||||
}
|
||||
}
|
||||
@@ -1,11 +0,0 @@
|
||||
namespace xPushService.Constants {
|
||||
public enum XCallType {
|
||||
None,
|
||||
Chat,
|
||||
AudioCall,
|
||||
VideoCall,
|
||||
DesktopShare,
|
||||
AudioConference,
|
||||
VideoConference,
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,34 @@
|
||||
using xExceptions.Attributes;
|
||||
|
||||
namespace xPushService.Constants
|
||||
{
|
||||
public enum XBaseHubAction
|
||||
{
|
||||
/// <summary>
|
||||
/// new Connection Join ...
|
||||
/// </summary>
|
||||
[StringValue("NewConnection")]
|
||||
NewConnection,
|
||||
/// <summary>
|
||||
/// an Exists Connection Closed ...
|
||||
/// </summary>
|
||||
[StringValue("ConnectionClosed")]
|
||||
ConnectionClosed,
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// All Actions in WebRTC Hubs ...
|
||||
/// </summary>
|
||||
public enum XWebRTCAction
|
||||
{
|
||||
//
|
||||
[StringValue("Offer")]
|
||||
Offer,
|
||||
|
||||
[StringValue("Answer")]
|
||||
Answer,
|
||||
|
||||
[StringValue("Candidate")]
|
||||
Candidate,
|
||||
}
|
||||
}
|
||||
@@ -1,32 +0,0 @@
|
||||
using xExceptions.Attributes;
|
||||
|
||||
namespace xPushService.Constants {
|
||||
/// <summary>
|
||||
/// Determines Push Notification Types
|
||||
/// </summary>
|
||||
public enum XPushType {
|
||||
/// System Type Notifications Relate Only to System
|
||||
[StringValue("system")]
|
||||
System,
|
||||
|
||||
/// User Specific Types Of Push Notifications
|
||||
[StringValue("user")]
|
||||
User
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Base Push Actions ...
|
||||
/// </summary>
|
||||
public enum XBasePushAction {
|
||||
[StringValue ("PushMessageAsync")]
|
||||
PushMessage,
|
||||
[StringValue ("UserMessageAsync")]
|
||||
UserMessage,
|
||||
[StringValue ("AdminMessageAsync")]
|
||||
AdminMessage,
|
||||
[StringValue("AuthorizedMessageAsync")]
|
||||
AuthorizedMessage,
|
||||
[StringValue("NotifyNewConnection")]
|
||||
NotifyNewConnection
|
||||
}
|
||||
}
|
||||
@@ -1,32 +0,0 @@
|
||||
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,
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user