OMCMobileObjectCollection Class Reference
Inherits from | OMCMobileResource : NSObject |
---|---|
Declared in | OMCMobileObjectCollection.h |
– getMobileObjects
- Returns all the mobileObjects of this collection.
- (NSArray *)getMobileObjects
Return Value
mobileObjects array of OMCMobileObject object
Declared In
OMCMobileObjectCollection.h
– deleteResourceOnError:
- Deletes the file. Caches the delete locally if offline.
- (void)deleteResourceOnError:(OMCSyncErrorBlock _Nullable)errorBlk
Parameters
errorBlk |
block that will be called after the request has finished with an error. |
---|
Declared In
OMCMobileObjectCollection.h
– deleteResource:OnError:
- Deletes the file.
- (void)deleteResource:(BOOL)deleteIfOffline OnError:(OMCSyncErrorBlock _Nullable)errorBlk
Parameters
deleteIfOffline |
If true will cache the delete locally and sync back to the service if the device is offline. If false will fail if the device is offline. |
---|---|
errorBlk |
block that will be called after the request has finished with an error. |
Declared In
OMCMobileObjectCollection.h