Gets the type of the header or footer.

<void> HeaderFooter.getType(<RequestHeaderFooterTypeCallback> callback, [<ErrorCallback> errorCallback])

Parameters

Parameter Description
callback Receives the type of the header of footer.
errorCallback Optional. Is called when the operation failed with an error.