Get the service with type type directly contained in this as a new object implementing
ServiceInfo, or null if no such device was
found.
Note that services are not cached internally, so that every time you call this function a new object is created. The application must cache any used services if it wishes to keep them around and re-use them.
| this | |
| type |
The type of the service to be retrieved. |
|
A ServiceInfo. |