2 * Copyright (c) 2016 Samsung Electronics Co., Ltd All Rights Reserved
4 * Licensed under the Apache License, Version 2.0 (the License);
5 * you may not use this file except in compliance with the License.
6 * You may obtain a copy of the License at
8 * http://www.apache.org/licenses/LICENSE-2.0
10 * Unless required by applicable law or agreed to in writing, software
11 * distributed under the License is distributed on an AS IS BASIS,
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 * See the License for the specific language governing permissions and
14 * limitations under the License.
19 namespace Tizen.Content.MediaContent
23 /// Provides data for the <see cref="MediaDatabase.MediaInfoUpdated"/> event.
25 public class MediaInfoUpdatedEventArgs : EventArgs
27 internal MediaInfoUpdatedEventArgs(int pid,
28 OperationType operationType, MediaType mediaType, string id, string path, string mimeType)
31 OperationType = operationType;
35 MediaType = mediaType;
40 /// Gets the process id which triggers the event.
42 /// <value>The process id which triggers the event.</value>
49 /// Gets the operation type.
51 /// <value>The operation type which triggers the event.</value>
52 public OperationType OperationType
58 /// Gets the id of the media updated.
60 /// <value>The id of the media updated.</value>
67 /// Gets the path of the media updated.
69 /// <value>The path of the media updated.</value>
76 /// Gets the type of the media updated.
78 /// <value>The <see cref="MediaType"/> of the media updated.</value>
79 public MediaType MediaType
85 /// The mime type of the media updated.
87 /// <value>The mime type of the media updated.</value>
88 public string MimeType
96 /// Provides data for the <see cref="MediaDatabase.FolderUpdated"/> event.
98 public class FolderUpdatedEventArgs : EventArgs
100 internal FolderUpdatedEventArgs(OperationType operationType, string id, string path)
102 OperationType = operationType;
108 /// Gets the operation type.
110 /// <value>The operation type which triggers the event.</value>
111 public OperationType OperationType
117 /// Gets the id of the folder updated.
119 /// <value>The id of the folder updated.</value>
126 /// Gets the path of the folder updated.
128 /// <value>The path of the folder updated.</value>