Show / Hide Table of Contents

    Class RemoteViewFactory

    Deprecated since API10. Will be removed in API12.

    Definition

    Namespace:
    Tizen.Applications
    Assembly:
    Tizen.Applications.RemoteView.dll
    API Level:
    3

    Represents a factory class for making the RemoteView objects.

    [Obsolete("Deprecated since API10. Will be removed in API12.")]
    public static class RemoteViewFactory
    Inheritance
    Object
    RemoteViewFactory

    Methods

    View Source

    Create(EvasObject, String, String, Double, Boolean, Boolean, Boolean)

    Deprecated since API10. Will be removed in API12.

    Creates a RemoteView object.

    Declaration
    [Obsolete("Deprecated since API10. Will be removed in API12.")]
    public static RemoteView Create(EvasObject parent, string widgetId, string content, double period, bool previewImage = true, bool overlayText = true, bool loadingMessage = true)
    Parameters
    Type Name Description
    EvasObject parent

    Parent object.

    String widgetId

    Widget ID.

    String content

    Contents that will be given to the widget instance.

    Double period

    Update period.

    Boolean previewImage

    True if you want to show the preview image.

    Boolean overlayText

    True if you want to show the overlay text.

    Boolean loadingMessage

    True if you want to show the loading message.

    Returns
    Type Description
    RemoteView

    RemoteView object.

    Exceptions
    Type Condition
    InvalidOperationException

    Thrown when this operation failed.

    UnauthorizedAccessException

    Thrown when this operation is denied.

    NotSupportedException

    Thrown when this operation is not supported for this device.

    API Level: 3
    Privilege Level: public
    Privilege: http://tizen.org/privilege/widget.viewer
    View Source

    Init(EvasObject)

    Deprecated since API10. Will be removed in API12.

    Initializes RemoteViewFactory.

    Declaration
    [Obsolete("Deprecated since API10. Will be removed in API12.")]
    public static void Init(EvasObject win)
    Parameters
    Type Name Description
    EvasObject win

    Window object that will contain RemoteViews that are generated by RemoteViewFactory. All the remote views will be located in the specified window object.

    Exceptions
    Type Condition
    InvalidOperationException

    Thrown when this operation failed.

    UnauthorizedAccessException

    Thrown when this operation is denied.

    NotSupportedException

    Thrown when this operation is not supported for this device.

    API Level: 3
    Privilege Level: public
    Privilege: http://tizen.org/privilege/widget.viewer
    View Source

    Shutdown()

    Deprecated since API10. Will be removed in API12.

    Finalizes the RemoteViewFactory.

    Declaration
    [Obsolete("Deprecated since API10. Will be removed in API12.")]
    public static void Shutdown()
    Exceptions
    Type Condition
    InvalidOperationException

    Thrown when this operation failed.

    UnauthorizedAccessException

    Thrown when this operation is denied.

    NotSupportedException

    Thrown when this operation is not supported for this device.

    API Level: 3
    Privilege Level: public
    Privilege: http://tizen.org/privilege/widget.viewer
    • View Source
    Back to top Copyright © 2016-2022 Samsung
    Generated by DocFX