Version 1.6 - Updated on 11/17/2016
Superclass: PCResourceAPIParams
Declared In: PCSearchAPIParams.h
PCSearchAPIParam
s stores parameters required to search for files or folders and performs parameter validation.
setSortKey:isAscending:
- (void)setSortKey:(NSString *)sortKey isAscending:(BOOL)ascending;
sortKey
to the field on which sort is to be done. If the parameter ascending
is set to true, the results are displayed in the ascending order. Otherwise, if the parameter ascending
is set to false, the results are displayed in the descending order.count
@property (nonatomic, assign) int count;
page
@property (nonatomic, assign) int page;
query
@property (nonatomic, copy) NSString *query;
query=field:value AND field:value AND field:value
. Required. Search can be done on the following fields:sort
@property (nonatomic, copy, readonly) NSString *sort;
{field}+{asc|desc}
. Valid values for field'
are:start
@property (nonatomic, assign) int start;
Copyright © 2015-2017, Verizon and/or its Licensors. All rights reserved.