Class AttachPanel

Definition

Namespace:
Tizen.Applications.AttachPanel
Assembly:
Tizen.Applications.AttachPanel.dll
API Level:
4

Represents the immutable class for the attach panel.

C#
Copy
[Obsolete("Deprecated since API Level 10. Will be removed in API Level 12.")] public class AttachPanel
Inheritance
System.Object
AttachPanel

Constructors

View Source

AttachPanel(Conformant)

Represents the immutable class for the attach panel.

Declaration
C#
Copy
[Obsolete("Deprecated since API Level 10. Will be removed in API Level 12.")] public AttachPanel(Conformant conformant)
Parameters
Type Name Description
Conformant conformant

The caller's conformant.

Exceptions
Type Condition
OutOfMemoryException

Thrown when an attempt to allocate the memory fails.

System.InvalidOperationException

Thrown when the AttachPanel already exists or the conformant is not a conformant object.

System.NotSupportedException

Thrown when the AttachPanel is not supported in the device.

System.ArgumentNullException

Thrown when the parameter is null

API Level: 4
Feature: http://tizen.org/feature/attach_panel
View Source

AttachPanel(EvasObject)

Represents the immutable class for the attach panel.

Declaration
C#
Copy
[Obsolete("Deprecated since API Level 10. Will be removed in API Level 12.")] public AttachPanel(EvasObject conformant)
Parameters
Type Name Description
EvasObject conformant

The caller's conformant.

Exceptions
Type Condition
System.ArgumentNullException

Thrown when the parameter is null

OutOfMemoryException

Thrown when an attempt to allocate the memory fails.

System.InvalidOperationException

Thrown when the AttachPanel already exists or the conformant is not a conformant object.

System.NotSupportedException

Thrown when the AttachPanel is not supported in the device.

API Level: 4
Feature: http://tizen.org/feature/attach_panel

Properties

View Source

State

Gets the state of the AttachPanel.

Declaration
C#
Copy
[Obsolete("Deprecated since API Level 10. Will be removed in API Level 12.")] public StateType State { get; }
Property Value
Type Description
StateType

The AttachPanel window state.

Exceptions
Type Condition
System.InvalidOperationException

Thrown when the AttachPanel is not created yet or is already destroyed.

System.NotSupportedException

Thrown when the AttachPanel is not supported in the device.

System.ArgumentException

Thrown when the parameter is invalid

API Level: 4
Feature: http://tizen.org/feature/attach_panel
View Source

Visible

Gets the value that indicates whether the AttachPanel is visible.

Declaration
C#
Copy
[Obsolete("Deprecated since API Level 10. Will be removed in API Level 12.")] public bool Visible { get; }
Property Value
Type Description
Boolean

Visible value of the AttachPanel state.

Exceptions
Type Condition
System.InvalidOperationException

Thrown when the AttachPanel is not created yet or is already destroyed.

System.NotSupportedException

Thrown when the AttachPanel is not supported in the device.

API Level: 4
Feature: http://tizen.org/feature/attach_panel

Methods

View Source

AddCategory(ContentCategory, Bundle)

Adds a content category in the AttachPanel.

Declaration
C#
Copy
[Obsolete("Deprecated since API Level 10. Will be removed in API Level 12.")] public void AddCategory(ContentCategory category, Bundle extraData)
Parameters
Type Name Description
ContentCategory category

The ContentCategory to be added in the AttachPanel.

Bundle extraData

The AttachPanel sends some information using the Bundle.

Remarks

The caller application has to check the return value of this function. Content categories will be shown as the sequence of using AddCategory. Some contents need time to load it all. So, it is needed to use this before the main-loop of the Show. Privileges, http://tizen.org/privilege/mediastorage, for using Image or Camera. http://tizen.org/privilege/camera, for using Camera or TakePicture. http://tizen.org/privilege/telephony, for using Camera, Since(5.0). http://tizen.org/privilege/recorder, for using Voice. http://tizen.org/privilege/appmanager.launch, for adding content categories on the More tab. http://tizen.org/feature/camera, for using Camera or TakePicture. http://tizen.org/feature/microphone, for using Voice. http://tizen.org/feature/attach_panel, for using attach panel Deliver more information to the callee with a bundle if you need. http://tizen.org/appcontrol/data/total_count http://tizen.org/appcontrol/data/total_size

Exceptions
Type Condition
System.ArgumentOutOfRangeException

Thrown when the category is not a valid category.

UnauthorizedAccessException

Thrown when the application does not have the privilege to access this method.

System.NotSupportedException

Thrown when the device does not support the category feature.

System.InvalidOperationException

Thrown when the AttachPanel is not created yet or is already destroyed.

System.NotSupportedException

Thrown when the AttachPanel is not supported in the device.

API Level: 4
Privilege Level: public
Privilege: http://tizen.org/privilege/mediastoragehttp://tizen.org/privilege/camerahttp://tizen.org/privilege/telephonyhttp://tizen.org/privilege/recorderhttp://tizen.org/privilege/appmanager.launch
Feature: http://tizen.org/feature/camerahttp://tizen.org/feature/microphonehttp://tizen.org/feature/attach_panel
View Source

Finalize()

A destructor which deallocates the attach panel resources.

Declaration
C#
Copy
protected void Finalize()
View Source

Hide()

Hides the attach panel with the animations.

Declaration
C#
Copy
[Obsolete("Deprecated since API Level 10. Will be removed in API Level 12.")] public void Hide()
Exceptions
Type Condition
System.InvalidOperationException

Thrown when the AttachPanel is destroyed.

System.NotSupportedException

Thrown when the AttachPanel is not supported in the device.

API Level: 4
Feature: http://tizen.org/feature/attach_panel
View Source

Hide(Boolean)

Hides the attach panel and selects whether or not to animate.

Declaration
C#
Copy
[Obsolete("Deprecated since API Level 10. Will be removed in API Level 12.")] public void Hide(bool animation)
Parameters
Type Name Description
Boolean animation

A flag which turns on or turns off the animation while the attach panel is hiding.

Exceptions
Type Condition
System.InvalidOperationException

Thrown when the AttachPanel is destroyed.

System.NotSupportedException

Thrown when the AttachPanel is not supported in the device.

API Level: 4
Feature: http://tizen.org/feature/attach_panel
View Source

RemoveCategory(ContentCategory)

Removes the ContentCategory from the AttachPanel.

Declaration
C#
Copy
[Obsolete("Deprecated since API Level 10. Will be removed in API Level 12.")] public void RemoveCategory(ContentCategory category)
Parameters
Type Name Description
ContentCategory category

The ContentCategory to be added in the AttachPanel.

Exceptions
Type Condition
System.ArgumentOutOfRangeException

Thrown when the category is not a valid category.

System.InvalidOperationException

Thrown when the AttachPanel is not created yet or is already destroyed.

System.NotSupportedException

Thrown when the AttachPanel is not supported in the device.

API Level: 4
Feature: http://tizen.org/feature/attach_panel
View Source

SetExtraData(ContentCategory, Bundle)

Sets the extraData to be sent to the ContentCategory using a Bundle.

Declaration
C#
Copy
[Obsolete("Deprecated since API Level 10. Will be removed in API Level 12.")] public void SetExtraData(ContentCategory category, Bundle extraData)
Parameters
Type Name Description
ContentCategory category

The ContentCategory that some information is to be set, in the AttachPanel.

Bundle extraData

The AttachPanel sends some information using a Bundle.

Exceptions
Type Condition
System.ArgumentOutOfRangeException

Thrown when the category is not a valid category.

System.InvalidOperationException

Thrown when the AttachPanel is destroyed.

OutOfMemoryException

Thrown when an attempt to allocate the memory fails.

System.NotSupportedException

Thrown when the AttachPanel is not supported in the device.

API Level: 4
Feature: http://tizen.org/feature/attach_panel
View Source

Show()

Shows the attach panel with the animations.

Declaration
C#
Copy
[Obsolete("Deprecated since API Level 10. Will be removed in API Level 12.")] public void Show()
Exceptions
Type Condition
System.InvalidOperationException

Thrown when the AttachPanel is destroyed.

System.NotSupportedException

Thrown when the AttachPanel is not supported in the device.

API Level: 4
Feature: http://tizen.org/feature/attach_panel
View Source

Show(Boolean)

Shows the attach panel and selects whether or not to animate.

Declaration
C#
Copy
[Obsolete("Deprecated since API Level 10. Will be removed in API Level 12.")] public void Show(bool animation)
Parameters
Type Name Description
Boolean animation

A flag which turns on or turns off the animation while the attach panel is showing.

Exceptions
Type Condition
System.InvalidOperationException

Thrown when the AttachPanel is destroyed.

System.NotSupportedException

Thrown when the AttachPanel is not supported in the device.

API Level: 4
Feature: http://tizen.org/feature/attach_panel

Events

View Source

EventChanged

Occurs when the reserved events are published from the panel-side.

Declaration
C#
Copy
[Obsolete("Deprecated since API Level 10. Will be removed in API Level 12.")] public event EventHandler<StateEventArgs> EventChanged
Event Type
Type Description
System.EventHandler<StateEventArgs>
API Level: 4
View Source

ResultCallback

Occurs when a user selects and confirms something to attach in the AttachPanel.

Declaration
C#
Copy
[Obsolete("Deprecated since API Level 10. Will be removed in API Level 12.")] public event EventHandler<ResultEventArgs> ResultCallback
Event Type
Type Description
System.EventHandler<ResultEventArgs>
API Level: 4