IPWorks Cloud 2020 iOS Edition

Questions / Feedback?

blockId (property)

The Id of the block.

Syntax

- (NSString*)blockId:(int)blockIndex;
- (void)setBlockId:(int)blockIndex:(NSString*)newBlockId;
public func blockId(blockIndex: Int32) throws -> String
public func setBlockId(blockIndex: Int32, newBlockId: String) throws -> Void

Default Value

""

Remarks

The Id of the block.

This property specifies the Id of the block.

Block Ids must be Base64-encoded when sent to the server. By default, the class will automatically Base64-encode block Ids as they are sent, and Base64-decode them as they are received. This behavior can be configured using the EncodeBlockIds configuration setting.

All block Ids must be less than or equal to 64 bytes in length before being Base64-encoded. Additionally, all blocks Ids within a single block blob must be unique, and of the exact same length after Base64-encoding.

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]