Version 1.9 - Updated on 05/04/2017
Superclass: PCResourceAPIParams
Declared In: PCContactAPIParams.h
PCContactAPIParams
stores parameters required to retrieve contacts.
setQueryValue:forField:
- (void)setQueryValue:(NSString *)value forField:(NSString *)field;
Discussion
Call this method to set query for contact results:
Supports the following fields:
address.home
address.home.street
favorite:true
and favorite:false
setSortKey:isAscending:
- (void)setSortKey:(ContactSortType)sortType isAscending:(BOOL)ascending;
sortType
- the field on which the sort is to be doneascending
:count
@property (nonatomic,
assign) int count;
page
@property (nonatomic,
assign) int page;
query
@property (nonatomic,
readonly) NSString *query;
address.home
address.home.street
favorite:true
and favorite:false
sort
@property (nonatomic,
copy,
readonly) NSString *sort;
{field}+{asc|desc}
. Valid values for field
are:Copyright © 2015-2017, Verizon and/or its Licensors. All rights reserved.