You are here

getAspects

public ArrayList<String> getAspects() returns a list of all available aspects.

Parameters

None

Returns

Returns a ArrayList<String> representing a list of all available aspects.

Example


		Node node = getTestNode(session, "ClimbingVolcanoes.JPG");

		// get Aspects
		Log.d(TAG, "getAspects:");
		ArrayList<String> aspects = node.getAspects();

		for (String aspect : aspects) {
			Log.d(TAG, "aspect: " + aspect);
		}

      

Would produce output such as the following:

    getAspects:
    aspect: P:rn:renditioned
    aspect: P:fm:commentsRollup
    aspect: P:exif:exif
    aspect: P:fm:discussable
    aspect: P:cm:likesRatingSchemeRollups
    aspect: P:cm:titled
    aspect: P:sys:localized
    aspect: P:cm:rateable
    aspect: P:cm:taggable
    aspect: P:cm:author