resourceType (property)
The resource's type.
Syntax
- (int)resourceType:(int)resourceIndex;
/* Possible Values */
BRT_FILE(0),
BRT_FOLDER(1)
public func resourceType(resourceIndex: Int32) throws -> BoxResourceTypes
public enum BoxResourceTypes : Int32 { case brtFile = 0 case brtFolder = 1 }
Default Value
0
Remarks
The resource's type.
This property indicates whether the resource is a folder or a file. Possible values are:
0 (brtFile) | A file. |
1 (brtFolder) | A folder. |
The ResourceIndex parameter specifies the index of the item in the array. The size of the array is controlled by the ResourceCount property.
This property is read-only.