SCCameraKitLensRemoteApiServiceCall
Objective-C
@protocol SCCameraKitLensRemoteApiServiceCall <NSObject>
Swift
protocol LensRemoteApiServiceCall : NSObjectProtocol
Describes the call that is sent in response to a remote api request sent by a lens.
-
The status of the call associated with the request.
Declaration
Objective-C
@property (nonatomic, readonly) SCCameraKitLensRemoteApiServiceCallStatus status;
Swift
var status: LensRemoteApiServiceCallStatus { get }
-
Cancel the request call. This is usually sent if the lens no longer needs a response to the remote api request it sent or if the lens is no longer active all active requests/calls should be cancelled.
Declaration
Objective-C
- (void)cancelRequest;
Swift
func cancelRequest()