Initial Commit ...
This commit is contained in:
@@ -0,0 +1,9 @@
|
||||
namespace xPushService.Constants {
|
||||
public enum XCallEndReason {
|
||||
End,
|
||||
Missed,
|
||||
Reject,
|
||||
Canceled,
|
||||
Disconnected
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,11 @@
|
||||
namespace xPushService.Constants {
|
||||
public enum XCallType {
|
||||
None,
|
||||
Chat,
|
||||
AudioCall,
|
||||
VideoCall,
|
||||
DesktopShare,
|
||||
AudioConference,
|
||||
VideoConference,
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,7 @@
|
||||
namespace xPushService.Constants {
|
||||
public partial class XPushServiceConstants {
|
||||
public partial struct XConfigurationNodes {
|
||||
public const string XPushServiceConfiguration = "PushServiceConfiguration";
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -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
|
||||
}
|
||||
}
|
||||
@@ -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,
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user