Skip to content

Get user binding information ​

effect ​

If the user needs to be obtained in the game, this interface is called.


Function ​

objective-c
-(Void)gamedreamerGetBindData:(void(^)(NSArray*_Nullable bind, NSArray *_Nullable unbind))complete;

Correction ​

Parameter nameNullable (Yes/No)explain
bindYesThe element is an array type of string, and the channel information has been bound, for example: @[@ "fb",@ "line",@ "twitter",@ "google",@ "apple",@ "phone",@ "email"]
unbindYesThe element is an array of string type, unbound channel information, for example: @[@ "fb",@ "line",@ "twitter",@ "google",@ "apple",@ "phone",@ "email"]

Example code ​

objective-c
[[GamedreamerManager shareInstance] gamedreamerGetBindData:^(NSArray * _Nullable bind, NSArray * _Nullable unbind) {
NSLog(@ "Bound channel data ---%@",bind);
NSLog(@ "Unbound channel data ---%@",unbind);
}];