ndk::BnCInterface

This is an abstract class.

#include <binder_interface_utils.h>

implementation of IInterface for server (n = native)

Summary

Inheritance

Inherits from: INTERFACE

Constructors and Destructors

BnCInterface()
~BnCInterface()

Public functions

asBinder() overridefinal
isRemote() overridefinal
bool

Protected functions

createBinder()=0
virtual SpAIBinder
This function should only be called by asBinder.

Public functions

BnCInterface

 BnCInterface()

asBinder

SpAIBinder asBinder() overridefinal

isRemote

bool isRemote() overridefinal

~BnCInterface

virtual  ~BnCInterface()

Protected functions

createBinder

virtual SpAIBinder createBinder()=0

This function should only be called by asBinder.

Otherwise, there is a possibility of multiple AIBinder* objects being created for the same instance of an object.