Get calling Frequent contact

Function table

__IDO_FUNCTABLE__.funcTable38Model.syncContact

Calling frequent contact model description

  • IDOSetContactItemModel
Parameter Description Notes
phone Number str
name Name str
  • IDOSetSyncContactModel
Parameter Description Notes
conVersion con version No assignment needed for now
operat operat No assignment required 0: invalid;
1: set,
2: query
itemsNum items Num int
items Items array (IDOSetContactItemModel)

command code

Objc:

[IDOFoundationCommand getContactDataCommand:^(int errorCode, IDOSetSyncContactModel * _Nullable data) {
    if (errorCode == 0) {
       //get success
    }else if (errorCode == 6) {
       //device not supported
    }else {
       //get failed
    }
}];

Swift:

IDOFoundationCommand.getContactDataCommand { (errorCode, model) in
    if errorCode == 0 {
        //get success
    }else if errorCode == 6 {
       //device not supported
    }else {
       //get failed.                                                                                                                                                                                                                                        
    }
};
Copyright © 2015-2020 IDO. All rights reserved. all right reserved,powered by GitbookModify Date: 2023-12-18 10:04:13

results matching ""

    No results matching ""