27 #import <Foundation/Foundation.h>
28 #import <ArcGIS/AGSLoadableBase.h>
29 #import <ArcGIS/AGSRemoteResource.h>
30 #import <ArcGIS/AGSCancelable.h>
101 #pragma mark initializers
123 -(instancetype)initWithURL:(NSURL *)url loginRequired:(BOOL)loginRequired;
145 +(instancetype)portalWithURL:(NSURL*)URL loginRequired:(BOOL)loginRequired;
162 +(instancetype)ArcGISOnlineWithLoginRequired:(BOOL)loginRequired;
165 #pragma mark properties
183 @property (nullable, nonatomic, copy, readonly) NSArray<AGSPortalGroup*> *
featuredGroups;
191 @property (nonatomic, assign, readonly, getter=isLoginRequired) BOOL
loginRequired;
201 @property (nullable, nonatomic, strong, readwrite) NSLocale *
locale;
238 -(id<
AGSCancelable>)fetchBasemapsWithCompletion:(nullable
void(^)(NSArray<
AGSBasemap*> * __nullable basemaps, NSError * __nullable error))completion;
247 -(id<
AGSCancelable>)fetchVectorBasemapsWithCompletion:(
void(^)(NSArray<
AGSBasemap*> * __nullable vectorBasemaps, NSError * __nullable error))completion;
265 -(id<
AGSCancelable>)fetchFeaturedItemsWithCompletion:(nullable
void(^)(NSArray<
AGSPortalItem*> * __nullable featuredItems, NSError * __nullable error))completion;
274 -(id<
AGSCancelable>)fetchHomePageFeaturedContentWithCompletion:(nullable
void(^)(NSArray<
AGSPortalItem*> * __nullable featuredItems, NSError * __nullable error))completion;
302 -(id<
AGSCancelable>)fetchLicenseInfoWithCompletion:(
void(^)(
AGSLicenseInfo * __nullable licenseInfo, NSError * __nullable error))completion;
310 - (id<
AGSCancelable>)fetchStylesWithCompletion:(
void(^)(NSArray<
AGSPortalItem *> * _Nullable items, NSError * _Nullable error))completion;
318 - (id<
AGSCancelable>)fetchSymbolSetsWithCompletion:(
void(^)(NSArray<
AGSPortalItem *> * _Nullable items, NSError * _Nullable error))completion;
330 - (id<
AGSCancelable>)fetchDeveloperBasemapsWithCompletion:(
void(^)(NSArray<
AGSBasemap *> * _Nullable result, NSError * _Nullable error))completion;
AGSPortalLoginType
Definition: AGSPortal.h:37
@ AGSPortalLoginTypeUsernamePassword
Definition: AGSPortal.h:40
@ AGSPortalLoginTypeUnknown
Definition: AGSPortal.h:41
@ AGSPortalLoginTypeOAuth
Definition: AGSPortal.h:38
@ AGSPortalLoginTypeClientCertificate
Definition: AGSPortal.h:39
A basemap for a map or a scene.
Definition: AGSBasemap.h:135
A class that contains information pertaining to a licensed named user.
Definition: AGSLicenseInfo.h:41
A base class for loadables.
Definition: AGSLoadableBase.h:45
Represents a folder of content within the Portal or Organization.
Definition: AGSPortalFolder.h:38
Represents a group within the Portal or Organization.
Definition: AGSPortalGroup.h:64
An object representing a portal for ArcGIS.
Definition: AGSPortal.h:98
AGSPortalInfo * portalInfo
Definition: AGSPortal.h:171
NSArray< AGSPortalGroup * > * featuredGroups
Definition: AGSPortal.h:183
BOOL loginRequired
Definition: AGSPortal.h:191
NSLocale * locale
Definition: AGSPortal.h:201
AGSPortalUser * user
Definition: AGSPortal.h:176
Information about a portal or organization.
Definition: AGSPortalInfo.h:61
Object representing a unit of content in an ArcGIS portal.
Definition: AGSPortalItem.h:93
Defines a query on a portal.
Definition: AGSPortalQueryParameters.h:40
Results of a query on a portal.
Definition: AGSPortalQueryResultSet.h:39
An object representing a registered user of the portal or organization.
Definition: AGSPortalUser.h:69
A protocol exposed by operations that allow cancellation.
Definition: AGSCancelable.h:38
A protocol adopted by classes that access remote network resources that have the potential to be secu...
Definition: AGSRemoteResource.h:40