Thumbnail

Inheritance: java.lang.Object

public class Thumbnail

https://docs.microsoft.com/en-us/graph/api/resources/thumbnail?view=graph-rest-1.0 The thumbnail resource type represents a thumbnail for an image, video, document, or any item that has a bitmap representation.

Constructors

ConstructorDescription
Thumbnail()

Methods

MethodDescription
equals(Object arg0)
getClass()
getContent()The content stream for the thumbnail.
getHeight()The height of the thumbnail, in pixels.
getSourceItemId()The unique identifier of the item that provided the thumbnail.This is only available when a folder thumbnail is requested.
getUrl()The URL used to fetch the thumbnail content.
getWidth()The width of the thumbnail, in pixels.
hashCode()
isHeightSpecified()Indicates whether Height property is specified.
isWidthSpecified()Indicates whether Width property is specified.
notify()
notifyAll()
setContent(String value)The content stream for the thumbnail.
setHeight(int value)The height of the thumbnail, in pixels.
setHeightSpecified(boolean value)Indicates whether Height property is specified.
setSourceItemId(String value)The unique identifier of the item that provided the thumbnail.This is only available when a folder thumbnail is requested.
setUrl(String value)The URL used to fetch the thumbnail content.
setWidth(int value)The width of the thumbnail, in pixels.
setWidthSpecified(boolean value)Indicates whether Width property is specified.
toString()
wait()
wait(long arg0)
wait(long arg0, int arg1)

Thumbnail()

public Thumbnail()

equals(Object arg0)

public boolean equals(Object arg0)

Parameters:

ParameterTypeDescription
arg0java.lang.Object

Returns: boolean

getClass()

public final native Class<?> getClass()

Returns: java.lang.Class

getContent()

public final String getContent()

The content stream for the thumbnail.

Returns: java.lang.String

getHeight()

public final int getHeight()

The height of the thumbnail, in pixels.

Returns: int

getSourceItemId()

public final String getSourceItemId()

The unique identifier of the item that provided the thumbnail.This is only available when a folder thumbnail is requested.

Returns: java.lang.String

getUrl()

public final String getUrl()

The URL used to fetch the thumbnail content.

Returns: java.lang.String

getWidth()

public final int getWidth()

The width of the thumbnail, in pixels.

Returns: int

hashCode()

public native int hashCode()

Returns: int

isHeightSpecified()

public final boolean isHeightSpecified()

Indicates whether Height property is specified.

Returns: boolean

isWidthSpecified()

public final boolean isWidthSpecified()

Indicates whether Width property is specified.

Returns: boolean

notify()

public final native void notify()

notifyAll()

public final native void notifyAll()

setContent(String value)

public final void setContent(String value)

The content stream for the thumbnail.

Parameters:

ParameterTypeDescription
valuejava.lang.String

setHeight(int value)

public final void setHeight(int value)

The height of the thumbnail, in pixels.

Parameters:

ParameterTypeDescription
valueint

setHeightSpecified(boolean value)

public final void setHeightSpecified(boolean value)

Indicates whether Height property is specified.

Parameters:

ParameterTypeDescription
valueboolean

setSourceItemId(String value)

public final void setSourceItemId(String value)

The unique identifier of the item that provided the thumbnail.This is only available when a folder thumbnail is requested.

Parameters:

ParameterTypeDescription
valuejava.lang.String

setUrl(String value)

public final void setUrl(String value)

The URL used to fetch the thumbnail content.

Parameters:

ParameterTypeDescription
valuejava.lang.String

setWidth(int value)

public final void setWidth(int value)

The width of the thumbnail, in pixels.

Parameters:

ParameterTypeDescription
valueint

setWidthSpecified(boolean value)

public final void setWidthSpecified(boolean value)

Indicates whether Width property is specified.

Parameters:

ParameterTypeDescription
valueboolean

toString()

public String toString()

Returns: java.lang.String

wait()

public final void wait()

wait(long arg0)

public final native void wait(long arg0)

Parameters:

ParameterTypeDescription
arg0long

wait(long arg0, int arg1)

public final void wait(long arg0, int arg1)

Parameters:

ParameterTypeDescription
arg0long
arg1int