Skip to content

Regarding the callback customer service API ​

Function ​

The customer service function, with a shutdown callback, is used to refresh the game logic after closing the customer service interface.

Function ​

objective-c
- (void)gamedreamerCsWithSuperView:(UIView *)superView
                     andCompletion:(void (^)())csCloseCallback;

Parameter ​

Parameter nameNullable (Yes/No)explain
superViewNoThe parent view of the customer service view; passing the parent view allows the customer service view to be rendered as a child within it. This parameter can be nil.

Correction ​

There is a callback, but no parameters

Example code ​

objective-c
[[GamedreamerManager shareInstance] gamedreamerCsWithSuperView:superViewController andCompletion:^ {
// Close customer service,Can do some game logic processing
}];