Ejemplo n.º 1
0
 public override void OnOfflineHoursChanges(bool p0)
 {
     IntentActionMethods.OnOfflineHoursChanges(p0, context);
 }
Ejemplo n.º 2
0
 public override void OnCsatSubmitted(string p0)
 {
     IntentActionMethods.OnCsatSubmitted(p0, context);
 }
Ejemplo n.º 3
0
 public override void OnError(TaskType p0, string p1)
 {
     IntentActionMethods.OnError(p0, p1, context);
 }
Ejemplo n.º 4
0
 public override void OnCsatLaunched()
 {
     IntentActionMethods.OnCsatLaunched(context);
 }
Ejemplo n.º 5
0
 public override void OnCsatSkipped()
 {
     IntentActionMethods.OnCsatSkipped(context);
 }
Ejemplo n.º 6
0
 public override void OnUserActionOnPreventedPermission(PermissionType p0)
 {
     IntentActionMethods.OnUserActionOnPreventedPermission(p0, context);
 }
Ejemplo n.º 7
0
 public override void OnCsatDismissed()
 {
     IntentActionMethods.OnCsatDismissed(context);
 }
Ejemplo n.º 8
0
 public override void OnConversationMarkedAsNormal()
 {
     IntentActionMethods.OnConversationMarkedAsNormal(context);
 }
Ejemplo n.º 9
0
 public override void OnConversationMarkedAsUrgent()
 {
     IntentActionMethods.OnConversationMarkedAsUrgent(context);
 }
Ejemplo n.º 10
0
 public override void OnAgentTyping(bool p0)
 {
     IntentActionMethods.OnAgentTyping(p0, context);
 }
Ejemplo n.º 11
0
 public override void OnConnectionChanged(bool p0)
 {
     IntentActionMethods.OnConnectionChanged(p0, context);
 }
Ejemplo n.º 12
0
 public override void OnAgentDetailsChanged(AgentData p0)
 {
     IntentActionMethods.OnAgentDetailsChanged(p0, context);
 }
Ejemplo n.º 13
0
 public override void OnAgentAvatarTapped(AgentData p0)
 {
     IntentActionMethods.OnAgentAvatarTapped(p0, context);
 }
Ejemplo n.º 14
0
 public override void OnUserDeniedPermission(PermissionType p0, bool p1)
 {
     IntentActionMethods.OnUserDeniedPermission(p0, p1, context);
 }
Ejemplo n.º 15
0
 public override void OnStructuredContentLinkClicked(string p0)
 {
     IntentActionMethods.OnStructuredContentLinkClicked(p0, context);
 }
Ejemplo n.º 16
0
 public override void OnConversationStarted(LPConversationData p0)
 {
     IntentActionMethods.OnConversationStarted(p0, context);
 }
Ejemplo n.º 17
0
        public override void OnReceive(Context context, Intent intent)
        {
            Log.Debug(TAG, "Got LP intent event with action " + intent.Action);
            switch (intent.Action)
            {
            case LivePersonIntents.LivePersonIntentAction.LpOnAgentAvatarTappedIntentAction:
                IntentActionMethods.OnAgentAvatarTapped(LivePersonIntents.GetAgentData(intent), context);
                break;

            case LivePersonIntents.LivePersonIntentAction.LpOnAgentDetailsChangedIntentAction:
                AgentData agentData = LivePersonIntents.GetAgentData(intent);
                IntentActionMethods.OnAgentDetailsChanged(agentData, context);
                break;

            case LivePersonIntents.LivePersonIntentAction.LpOnAgentTypingIntentAction:
                Boolean isTyping = LivePersonIntents.GetAgentTypingValue(intent);
                IntentActionMethods.OnAgentTyping(isTyping, context);
                break;

            case LivePersonIntents.LivePersonIntentAction.LpOnConnectionChangedIntentAction:
                Boolean isConnected = LivePersonIntents.GetConnectedValue(intent);
                IntentActionMethods.OnConnectionChanged(isConnected, context);
                break;

            case LivePersonIntents.LivePersonIntentAction.LpOnConversationMarkedAsNormalIntentAction:
                IntentActionMethods.OnConversationMarkedAsNormal(context);
                break;

            case LivePersonIntents.LivePersonIntentAction.LpOnConversationMarkedAsUrgentIntentAction:
                IntentActionMethods.OnConversationMarkedAsUrgent(context);
                break;

            case LivePersonIntents.LivePersonIntentAction.LpOnConversationResolvedIntentAction:
                LPConversationData lpConversationData = LivePersonIntents.GetLPConversationData(intent);
                IntentActionMethods.OnConversationResolved(lpConversationData, context);
                break;

            case LivePersonIntents.LivePersonIntentAction.LpOnConversationStartedIntentAction:
                LPConversationData lpConversationData1 = LivePersonIntents.GetLPConversationData(intent);
                IntentActionMethods.OnConversationStarted(lpConversationData1, context);
                break;

            case LivePersonIntents.LivePersonIntentAction.LpOnCsatLaunchedIntentAction:
                IntentActionMethods.OnCsatLaunched(context);
                break;

            case LivePersonIntents.LivePersonIntentAction.LpOnCsatDismissedIntentAction:
                IntentActionMethods.OnCsatDismissed(context);
                break;

            case LivePersonIntents.LivePersonIntentAction.LpOnCsatSkippedIntentAction:
                IntentActionMethods.OnCsatSkipped(context);
                break;

            case LivePersonIntents.LivePersonIntentAction.LpOnCsatSubmittedIntentAction:
                String conversationId = LivePersonIntents.GetConversationID(intent);
                IntentActionMethods.OnCsatSubmitted(conversationId, context);
                break;

            case LivePersonIntents.LivePersonIntentAction.LpOnErrorIntentAction:
                TaskType type    = LivePersonIntents.GetOnErrorTaskType(intent);
                String   message = LivePersonIntents.GetOnErrorMessage(intent);
                IntentActionMethods.OnError(type, message, context);
                break;

            case LivePersonIntents.LivePersonIntentAction.LpOnOfflineHoursChangesIntentAction:
                IntentActionMethods.OnOfflineHoursChanges(LivePersonIntents.GetOfflineHoursOn(intent), context);
                break;

            case LivePersonIntents.LivePersonIntentAction.LpOnTokenExpiredIntentAction:
                IntentActionMethods.OnTokenExpired(context);
                break;

            case LivePersonIntents.LivePersonIntentAction.LpOnUserDeniedPermission:
                PermissionType deniedPermissionType = LivePersonIntents.GetPermissionType(intent);
                Boolean        doNotShowAgainMarked = LivePersonIntents.GetPermissionDoNotShowAgainMarked(intent);
                IntentActionMethods.OnUserDeniedPermission(deniedPermissionType, doNotShowAgainMarked, context);
                break;

            case LivePersonIntents.LivePersonIntentAction.LpOnUserActionOnPreventedPermission:
                PermissionType preventedPermissionType = LivePersonIntents.GetPermissionType(intent);
                IntentActionMethods.OnUserActionOnPreventedPermission(preventedPermissionType, context);
                break;

            case LivePersonIntents.LivePersonIntentAction.LpOnStructuredContentLinkClicked:
                String uri = LivePersonIntents.GetLinkUri(intent);
                IntentActionMethods.OnStructuredContentLinkClicked(uri, context);
                break;
            }
        }
Ejemplo n.º 18
0
 public override void OnTokenExpired()
 {
     IntentActionMethods.OnTokenExpired(context);
 }