OBEXAddTime4ByteHeader

Function OBEXAddTime4ByteHeader 

Source
pub unsafe extern "C-unwind" fn OBEXAddTime4ByteHeader(
    time4_byte: u32,
    dict_ref: Option<&CFMutableDictionary>,
) -> OBEXError
Available on crate features OBEX and objc2-core-foundation only.
Expand description

Add a CFStringRef to a dictionary of OBEXheaders.

Parameter time4Byte: 4-byte time value you want to add to the OBEX header dictionary.

Parameter dictRef: dictionary you have allocated to hold the headers. Make sure it’s mutable.

Returns: Error code, kOBEXSuccess (0) if success.

Time4Byte headers - OBEX Spec, 2.2.5: 4 Bytes