public static class McpSchema.ImageContent extends java.lang.Object implements McpSchema.Annotated, McpSchema.Content
构造器和说明 |
---|
ImageContent(java.util.List<McpSchema.Role> audience,
java.lang.Double priority,
java.lang.String data,
java.lang.String mimeType)
已过时。
Only exists for backwards-compatibility purposes. Use
ImageContent#ImageContent(Annotations, String, String) instead. |
ImageContent(McpSchema.Annotations annotations,
java.lang.String data,
java.lang.String mimeType) |
限定符和类型 | 方法和说明 |
---|---|
java.util.List<McpSchema.Role> |
getAudience()
已过时。
Only exists for backwards-compatibility purposes. Use
McpSchema.Annotated.getAnnotations() instead. |
java.lang.Double |
getPriority()
已过时。
Only exists for backwards-compatibility purposes. Use
McpSchema.Annotated.getAnnotations() instead. |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getAnnotations
getMeta, type
public ImageContent(McpSchema.Annotations annotations, java.lang.String data, java.lang.String mimeType)
@Deprecated public ImageContent(java.util.List<McpSchema.Role> audience, java.lang.Double priority, java.lang.String data, java.lang.String mimeType)
ImageContent#ImageContent(Annotations, String, String)
instead.@Deprecated public java.util.List<McpSchema.Role> getAudience()
McpSchema.Annotated.getAnnotations()
instead.@Deprecated public java.lang.Double getPriority()
McpSchema.Annotated.getAnnotations()
instead.