TCGBContact Class Reference
| Inherits from | NSObject |
|---|---|
| Declared in | TCGBContact.h |
Request Showing Online Contact
+ openContactWithViewController:completion:
This is the method to request showing online contact. There is a viewController parameter and you may put your top most viewController. When closed showing online contact, this method calls completion.
+ (void)openContactWithViewController:(nullable UIViewController *)viewController completion:(nullable void ( ^ ) ( TCGBError *_Nullable error ))completionParameters
viewController |
represent to current viewcontroller. |
|---|---|
completion |
completion may call when finished showing online contact. If there is an error, TCGBError will be returned. Usage Example
|
Discussion
Request Showing Online Contact.
Declared In
TCGBContact.h
+ openContactWithViewController:configuration:completion:
This is the method to request showing online contact. There is a viewController parameter and you may put your top most viewController. When closed showing online contact, this method calls completion.
+ (void)openContactWithViewController:(nullable UIViewController *)viewController configuration:(nullable TCGBContactConfiguration *)configuration completion:(nullable void ( ^ ) ( TCGBError *_Nullable error ))completionParameters
viewController |
represent to current viewcontroller. |
|---|---|
configuration |
This configuration includes userName. |
completion |
completion may call when finished showing online contact. If there is an error, TCGBError will be returned. Usage Example
|
Discussion
Request Showing Online Contact.
Declared In
TCGBContact.h
Request Online Contact URL
+ requestContactURLWithCompletion:
This is the method to request online contact url.
+ (void)requestContactURLWithCompletion:(void ( ^ ) ( NSString *_Nullable contactUrl , TCGBError *_Nullable error ))completionParameters
completion |
completion may return online contact url. If there is an error, TCGBError will be returned. Usage Example
|
|---|
Discussion
Request Online Contact URL.
Declared In
TCGBContact.h
+ requestContactURLWithConfiguration:completion:
This is the method to request online contact url.
+ (void)requestContactURLWithConfiguration:(nullable TCGBContactConfiguration *)configuration completion:(void ( ^ ) ( NSString *_Nullable contactUrl , TCGBError *_Nullable error ))completionParameters
configuration |
This configuration includes userName. |
|---|---|
completion |
completion may return online contact url. If there is an error, TCGBError will be returned. Usage Example
|
Discussion
Request Online Contact URL.
Declared In
TCGBContact.h