IPWorks Cloud 2020 iOS Edition

Questions / Feedback?

blockType (property)

The type of block.

Syntax

- (int)blockType:(int)blockIndex;
- (void)setBlockType:(int)blockIndex:(int)newBlockType;

/* Possible Values */
ABKT_COMMITTED(0),
ABKT_UNCOMMITTED(1),
ABKT_LATEST(2)
public func blockType(blockIndex: Int32) throws -> AzureblobBlockTypes
public func setBlockType(blockIndex: Int32, newBlockType: AzureblobBlockTypes) throws -> Void
public enum AzureblobBlockTypes : Int32 { case abktCommitted = 0 case abktUncommitted = 1 case abktLatest = 2 }

Default Value

0

Remarks

The type of block.

When populated by ListBlocks, this property reflects the block's type (one of the first two values listed below). When used during a PutBlockList operation, this property specifies which block list the server should search for the block Id specified by BlockId.

Possible values are:

Value Meaning During PutBlockList Operations
abktCommitted (0) Search for a committed block with the specified Id.
abktUncommitted (1) Search for an uncommitted block with the specified Id.
abktLatest (2) Search for an uncommitted block with the specified Id; and then, if one isn't found, search for a committed block.

The BlockIndex parameter specifies the index of the item in the array. The size of the array is controlled by the BlockCount property.

Copyright (c) 2022 /n software inc. - All rights reserved.
IPWorks Cloud 2020 iOS Edition - Version 20.0 [Build 8265]