IPWorks OpenPGP 2020 iOS Edition

Questions / Feedback?

partContentType (property)

Content type for each part.

Syntax

- (NSString*)partContentType:(int)partIdx;
- (void)setPartContentType:(int)partIdx:(NSString*)newPartContentType;
public func partContentType(partIdx: Int32) throws -> String
public func setPartContentType(partIdx: Int32, newPartContentType: String) throws -> Void

Default Value

""

Remarks

Content type for each part. The value of this property is used in the Content-Type header. Typical values include "image/gif", "text/plain" etc. The class fills it out each time the PartDecodedFile is changed. Changing This property recalculates the PartHeaders as well.

The PartIdx parameter specifies the index of the item in the array. The size of the array is controlled by the PartCount property.

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