LCIMSignatureDataSource
Objective-C
@protocol LCIMSignatureDataSource <NSObject>
/// Delegate function of the signature action.
/// @param client The signature action belong to.
/// @param action See `LCIMSignatureAction`.
/// @param conversation The signature action belong to.
/// @param clientIds The targets.
/// @param handler The handler for the signature.
- (void)client:(LCIMClient *)client
action:(LCIMSignatureAction)action
conversation:(LCIMConversation * _Nullable)conversation
clientIds:(NSArray<NSString *> * _Nullable)clientIds
signatureHandler:(void (^)(LCIMSignature * _Nullable))handler;
@end
Swift
protocol LCIMSignatureDataSource : NSObjectProtocol
Undocumented
-
Delegate function of the signature action.
Declaration
Objective-C
- (void)client:(nonnull LCIMClient *)client action:(nonnull LCIMSignatureAction)action conversation:(LCIMConversation *_Nullable)conversation clientIds:(NSArray<NSString *> *_Nullable)clientIds signatureHandler:(nonnull void (^)(LCIMSignature *_Nullable))handler;
Swift
func client(_ client: LCIMClient, action: LCIMSignatureAction, conversation: LCIMConversation?, clientIds: [String]?, signatureHandler handler: @escaping (LCIMSignature?) -> Void)
Parameters
client
The signature action belong to.
action
See
LCIMSignatureAction
.conversation
The signature action belong to.
clientIds
The targets.
handler
The handler for the signature.