Case Management
This is a list of classes related to Case Management. The entry point into this feature is through the SCCaseInterface class. Refer to that class to get started.
-
The
SCCaseInterfaceclass is the main interface to the Case Management SDK. Use this class to configure and customize the Case Management interface.To get an instance of this class, use the
See moreSCServiceCloud.casesproperty on+[SCServiceCloud sharedInstance].Declaration
Objective-C
@interface SCCaseInterface : NSObjectSwift
class SCCaseInterface : NSObject
-
View controller that lets users see the details for a particular case.
Initialize this view controller with a case ID using
See more-[SCSCaseDetailViewController initWithCaseId:].Declaration
Objective-C
@interface SCSCaseDetailViewController : UIViewControllerSwift
class SCSCaseDetailViewController : UIViewController -
Delegate protocol used to receive events about the actions performed by the case detail view controller.
See moreDeclaration
Objective-C
@protocol SCSCaseDetailViewControllerDelegate <NSObject>Swift
protocol SCSCaseDetailViewControllerDelegate : NSObjectProtocol
-
Possible Case error response codes.
See moreDeclaration
Objective-C
enum SCSCaseErrorCode {}Swift
enum SCSCaseErrorCode : Int
-
View controller that shows a list of cases for a particular user.
This controller assumes that it will be presented within an instance of
UINavigationController. If you aren’t pushing this controller onto a navigation controller stack, present it within a new navigation controller instance.SCSCaseListViewController *caseController = [SCSCaseListViewController new]; UINavigationController *navigationController = [[UINavigationController alloc] initWithRootViewController:caseController]; [self presentViewController:navigationController animated:YES completion:nil];See moreWarning
If you instantiate this view controller and display it manually, you’ll also need to displaySCSCaseDetailViewController. When a user selects a case from the case list, present your Case Detail view controller from the-[SCSCaseListViewControllerDelegate caseList:selectedCaseWithId:]method in yourSCSCaseListViewControllerDelegateimplementation. If you don’t do this, nothing will happen when a user taps on a specific case in the case list!Declaration
Objective-C
@interface SCSCaseListViewController : UIViewControllerSwift
class SCSCaseListViewController : UIViewController -
Delegate protocol used to receive events about the actions performed by the case list view controller.
See moreDeclaration
Objective-C
@protocol SCSCaseListViewControllerDelegate <NSObject>Swift
protocol SCSCaseListViewControllerDelegate : NSObjectProtocol
-
Concrete subclass of
See moreSCSNotificationrepresenting a push notification for a case.Declaration
Objective-C
@interface SCSCaseNotification : SCSNotificationSwift
class SCSCaseNotification : SCSNotification
-
Possible result types for the case publisher view controller.
This value is used by the
See moreSCSCasePublisherViewControllerDelegateprotocol method.Declaration
Objective-C
enum SCSCasePublisherResult {}Swift
enum SCSCasePublisherResult : Int -
View controller that lets users create a case and submit it to Service Cloud.
This controller assumes that it will be presented within an instance of
UINavigationController. If you aren’t pushing this controller onto a navigation controller stack, present it within a new navigation controller instance.
See moreSCSCasePublisherViewController *caseController = [SCSCasePublisherViewController new]; UINavigationController *navigationController = [[UINavigationController alloc] initWithRootViewController:caseController]; [self presentViewController:navigationController animated:YES completion:nil];Declaration
Objective-C
@interface SCSCasePublisherViewController : UIViewControllerSwift
class SCSCasePublisherViewController : UIViewController -
Delegate protocol used to receive events about the actions performed by the case publisher view controller.
See moreDeclaration
Objective-C
@protocol SCSCasePublisherViewControllerDelegate <NSObject>Swift
protocol SCSCasePublisherViewControllerDelegate : NSObjectProtocol
Install in Dash
Case Management Reference