public TaskTypeDefinition getTaskTypeDefinition(String type)
- Returns the task type definition object for the given task type.
Attention: This method was introduced with SDK version 1.4.
Parameters
- String type
- The specified task type.
Returns
Returns an TaskTypeDefinition object for the specified type. An exception with an error code of 1301 is returned if the type is null or unknown.
Exception
Throws an UnsupportedMethodException if the method is not supported by the platform.
Example
getTaskTypeDefinition
public TaskTypeDefinition getTaskTypeDefinition(Task task)
- Returns the task type definition object for the given task.
Attention: This method was introduced with SDK version 1.4.
Parameters
- Task task
- The specified task.
Returns
Returns an TaskTypeDefinition object for the specified task.
Exception
Throws an UnsupportedMethodException if the method is not supported by the platform.