Expand Minimize Picture-in-picture Power Device Status Voice Recognition Skip Back Skip Forward Minus Plus Play Search
Documentation
Sidebar

Class SdlFile

Hierarchy

java.lang.Object

Package
com.smartdevicelink.managers.file.filetypes
All Known Subclasses
com.smartdevicelink.managers.file.filetypes.SdlArtwork

Overview

A class representing data to be uploaded to core

Constructors

SdlFile()

public SdlFile()

SdlFile( String fileName, FileType fileType, int id, boolean persistentFile )

public SdlFile(String fileName,FileType fileType,int id,boolean persistentFile)

Parameters

fileName
fileType
id
persistentFile

SdlFile( String fileName, FileType fileType, Uri uri, boolean persistentFile )

public SdlFile(String fileName,FileType fileType,Uri uri,boolean persistentFile)

Parameters

fileName
fileType
uri
persistentFile

SdlFile( String fileName, FileType fileType, byte[] data, boolean persistentFile )

public SdlFile(String fileName,FileType fileType,byte[] data,boolean persistentFile)

Parameters

fileName
fileType
data
persistentFile

Methods

setName( String fileName )

public void setName(String fileName)

Parameters

fileName

getName()

public java.lang.String getName()

setResourceId( int id )

public void setResourceId(int id)

Parameters

id

getResourceId()

public int getResourceId()

setUri( Uri uri )

public void setUri(Uri uri)

Parameters

uri

getUri()

public android.net.Uri getUri()

setFileData( byte[] data )

public void setFileData(byte[] data)

Parameters

data

getFileData()

public byte getFileData()

setType( FileType fileType )

public void setType(FileType fileType)

Parameters

fileType

getType()

public com.smartdevicelink.proxy.rpc.enums.FileType getType()

setPersistent( boolean persistentFile )

public void setPersistent(boolean persistentFile)

Parameters

persistentFile

isPersistent()

public boolean isPersistent()

Inherited Methods

From Class Methods
java.lang.Object getClass, hashCode, equals, clone, toString, notify, notifyAll, wait, wait, wait, finalize
View on GitHub.com
Previous Section Next Section