public static class FitFileCommon.FitFile
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static |
CREATOR
CREATOR is used by Android parceling system.
|
Constructor and Description |
---|
FitFileCommon.FitFile(byte[] fitFileBytes)
Creates a FIT file from the raw FIT file bytes.
|
FitFileCommon.FitFile(Parcel src)
Creates a FIT file from a Parcel
|
Modifier and Type | Method and Description |
---|---|
int |
describeContents() |
short |
getFileType()
Returns the file type of this FIT file
|
java.io.InputStream |
getInputStream()
Returns an InputStream representing the bytes composing the binary FIT file.
|
byte[] |
getRawBytes()
Returns the raw array of bytes composing the binary FIT file.
|
void |
setFileType(short fitFileType)
Configures the file type of this FIT file
|
void |
writeToParcel(Parcel dest,
int flags) |
public FitFileCommon.FitFile(byte[] fitFileBytes)
fitFileBytes
- The raw array of bytes composing the binary FIT file.public FitFileCommon.FitFile(Parcel src)
src
- Parcelpublic byte[] getRawBytes()
public void setFileType(short fitFileType)
fitFileType
- FIT File typepublic short getFileType()
public java.io.InputStream getInputStream()
public void writeToParcel(Parcel dest, int flags)
public int describeContents()
Copyright © 2015 Dynastream Innovations Inc. All Rights Reserved.