Class EncodedImageBuffer

    Definition

    Namespace:
    Tizen.NUI
    Assembly:
    Tizen.NUI.dll

    Class for Encoded Image Buffer. Buffer comes from System.IO.Stream. This data will decode internally when you use GeneratedUrl as View's ResourceUrl. Note: This class doesn't allow to fix/change anything. Only constructor allow to setup data.

    public class EncodedImageBuffer : BaseHandle, IDynamicResourceHandler, INameScope, System.IDisposable
    Inheritance
    object
    BindableObject
    Element
    BaseHandle
    EncodedImageBuffer
    Implements
    IDynamicResourceHandler
    INameScope
    System.IDisposable
    Remarks

    Hidden API: Only for inhouse or developing usage. The behavior and interface can be changed anytime.

    Constructors

    View Source

    EncodedImageBuffer(Stream, ImageTypes)

    Constructor with image type.

    Declaration
    public EncodedImageBuffer(System.IO.Stream stream, EncodedImageBuffer.ImageTypes imageType)
    Parameters
    Type Name Description
    System.IO.Stream stream

    The Stream of the image file.

    EncodedImageBuffer.ImageTypes imageType

    The type of the image stream.

    Remarks

    Hidden API: Only for inhouse or developing usage. The behavior and interface can be changed anytime.

    View Source

    EncodedImageBuffer(Stream)

    Constructor.

    Declaration
    public EncodedImageBuffer(System.IO.Stream stream)
    Parameters
    Type Name Description
    System.IO.Stream stream

    The Stream of the image file.

    Remarks

    Hidden API: Only for inhouse or developing usage. The behavior and interface can be changed anytime.

    Properties

    View Source

    ImageType

    The type of image for this EncodedImageBuffer.

    Declaration
    public EncodedImageBuffer.ImageTypes ImageType { get; set; }
    Property Value
    Type Description
    EncodedImageBuffer.ImageTypes
    Remarks

    Hidden API: Only for inhouse or developing usage. The behavior and interface can be changed anytime.

    Methods

    View Source

    Dispose(DisposeTypes)

    Dispose

    Declaration
    protected override void Dispose(DisposeTypes type)
    Parameters
    Type Name Description
    DisposeTypes type
    Overrides
    BaseHandle.Dispose(DisposeTypes)
    Remarks

    Hidden API: Only for inhouse or developing usage. The behavior and interface can be changed anytime.

    View Source

    GenerateUrl()

    Generate URI from current buffer. We can now use this url for ImageView.ResourceUrl Note : the url lifecycle is same as ImageUrl and it's internal usage. Store only ImageUrl.ToString() result and re-use that url is Undefined Behavior.

    Declaration
    public ImageUrl GenerateUrl()
    Returns
    Type Description
    ImageUrl
    Remarks

    This API should not be called at worker thread.

    View Source

    ReleaseSwigCPtr(HandleRef)

    Declaration
    protected override void ReleaseSwigCPtr(HandleRef swigCPtr)
    Parameters
    Type Name Description
    HandleRef swigCPtr
    Remarks

    Hidden API: Only for inhouse or developing usage. The behavior and interface can be changed anytime.

    Implements

    IDynamicResourceHandler
    INameScope
    System.IDisposable

    Extension Methods

    BindableObjectExtensions.SetBinding(BindableObject, BindableProperty, string, BindingMode, IValueConverter, string)
    NameScopeExtensions.FindByName<T>(Element, string)
    EXamlExtensions.LoadFromEXamlByRelativePath<T>(T, string)
    Extensions.LoadFromXaml<TXaml>(TXaml, string)
    Extensions.LoadFromXaml<TXaml>(TXaml, Type)
    Extensions.LoadFromXamlFile<TXaml>(TXaml, string)
    • View Source
    Back to top Copyright © 2016-2025 Samsung
    Generated by DocFX